Debian Codegraph @

av/audio/fifo.pxd

raw
1 cimport libav as lib
2 from libc.stdint cimport int64_t, uint64_t
3
4 from av.audio.frame cimport AudioFrame
5
6
7 cdef class AudioFifo:
8
9 cdef lib.AVAudioFifo *ptr
10
11 cdef AudioFrame template
12
13 cdef readonly uint64_t samples_written
14 cdef readonly uint64_t samples_read
15 cdef readonly double pts_per_sample
16
17 cpdef write(self, AudioFrame frame)
18 cpdef read(self, int samples=*, bint partial=*)
19 cpdef read_many(self, int samples, bint partial=*)