MisterAI's picture
download
raw
407 Bytes
import cython
from cython.cimports.av.audio.frame import AudioFrame
@cython.cclass
class AudioPlane(Plane):
def __cinit__(self, frame: AudioFrame, index: cython.int):
# Only the first linesize is ever populated, but it applies to every plane.
self.buffer_size = self.frame.ptr.linesize[0]
@cython.cfunc
def _buffer_size(self) -> cython.size_t:
return self.buffer_size

Xet Storage Details

Size:
407 Bytes
·
Xet hash:
9e9da549e74bad5103943fd136bfb283fe2cf34b95f55ad53b515ac4230c968f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.