split / .venv /lib /python3.12 /site-packages /av /audio /codeccontext.pxd
FaustDerLegende's picture
Upload folder using huggingface_hub (part 3)
4244f27 verified
Raw History Blame Contribute Delete
334 Bytes
from av.audio.frame cimport AudioFrame
from av.audio.resampler cimport AudioResampler
from av.codec.context cimport CodecContext
cdef class AudioCodecContext(CodecContext):
# Hold onto the frames that we will decode until we have a full one.
cdef AudioFrame next_frame
# For encoding.
cdef AudioResampler resampler