Surbhi123's picture
Upload folder using huggingface_hub
64772a4 verified
raw
history blame contribute delete
489 Bytes
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)