MisterAI's picture
download
raw
421 Bytes
import cython
from cython.cimports.av.audio.frame import AudioFrame
@cython.final
@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:
421 Bytes
·
Xet hash:
f4542e08a83a6b675e03928b289c270e02398c344de0d167725b094d1e03d94a

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