Spaces:
Build error
Build error
File size: 489 Bytes
64772a4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
from libc.stdint cimport uint64_t
cdef class AudioLayout:
# The layout for FFMpeg; this is essentially a bitmask of channels.
cdef uint64_t layout
cdef int nb_channels
cdef readonly tuple channels
"""
A tuple of :class:`AudioChannel` objects.
:type: tuple
"""
cdef _init(self, uint64_t layout)
cdef class AudioChannel:
# The channel for FFmpeg.
cdef uint64_t channel
cdef AudioLayout get_audio_layout(int channels, uint64_t c_layout)
|