Skip to content

Commit a7bc113

Browse files
committed
Improve AudioResampler fields, altho size is same
1 parent 1c3ada3 commit a7bc113

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

av/audio/resampler.pxd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ from av.filter.graph cimport Graph
55

66

77
cdef class AudioResampler:
8-
cdef readonly bint is_passthrough
98
cdef AudioFrame template
10-
11-
# Destination descriptors
9+
cdef Graph graph
1210
cdef readonly AudioFormat format
1311
cdef readonly AudioLayout layout
12+
cdef readonly dict options
1413
cdef readonly int rate
1514
cdef readonly unsigned int frame_size
16-
cdef readonly dict options
15+
cdef readonly bint is_passthrough
1716

18-
cdef Graph graph
1917
cpdef list[AudioFrame] resample(self, AudioFrame)

0 commit comments

Comments
 (0)