av/audio/resampler.pxd
raw| 1 | from av.audio.format cimport AudioFormat |
| 2 | from av.audio.frame cimport AudioFrame |
| 3 | from av.audio.layout cimport AudioLayout |
| 4 | from av.filter.graph cimport Graph |
| 5 | |
| 6 | |
| 7 | cdef class AudioResampler: |
| 8 | cdef readonly bint is_passthrough |
| 9 | cdef AudioFrame template |
| 10 | |
| 11 | # Destination descriptors |
| 12 | cdef readonly AudioFormat format |
| 13 | cdef readonly AudioLayout layout |
| 14 | cdef readonly int rate |
| 15 | cdef readonly unsigned int frame_size |
| 16 | |
| 17 | cdef Graph graph |
| 18 | cpdef list resample(self, AudioFrame) |