Files
voice_bridge/venv/lib/python3.12/site-packages/av/audio/resampler.pxd
2026-01-09 10:28:44 +11:00

19 lines
490 B
Cython

from av.audio.format cimport AudioFormat
from av.audio.frame cimport AudioFrame
from av.audio.layout cimport AudioLayout
from av.filter.graph cimport Graph
cdef class AudioResampler:
cdef readonly bint is_passthrough
cdef AudioFrame template
# Destination descriptors
cdef readonly AudioFormat format
cdef readonly AudioLayout layout
cdef readonly int rate
cdef readonly unsigned int frame_size
cdef Graph graph
cpdef list resample(self, AudioFrame)