Initialisation du repository de Beta
This commit is contained in:
commit
14985f6dbb
9469 changed files with 1903273 additions and 0 deletions
31
venv/lib/python3.12/site-packages/av/audio/frame.pxd
Normal file
31
venv/lib/python3.12/site-packages/av/audio/frame.pxd
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
cimport libav as lib
|
||||
from libc.stdint cimport uint8_t, uint64_t
|
||||
|
||||
from av.audio.format cimport AudioFormat
|
||||
from av.audio.layout cimport AudioLayout
|
||||
from av.frame cimport Frame
|
||||
|
||||
|
||||
cdef class AudioFrame(Frame):
|
||||
# For raw storage of the frame's data; don't ever touch this.
|
||||
cdef uint8_t *_buffer
|
||||
cdef size_t _buffer_size
|
||||
|
||||
cdef readonly AudioLayout layout
|
||||
"""
|
||||
The audio channel layout.
|
||||
|
||||
:type: AudioLayout
|
||||
"""
|
||||
|
||||
cdef readonly AudioFormat format
|
||||
"""
|
||||
The audio sample format.
|
||||
|
||||
:type: AudioFormat
|
||||
"""
|
||||
|
||||
cdef _init(self, lib.AVSampleFormat format, lib.AVChannelLayout layout, unsigned int nb_samples, unsigned int align)
|
||||
cdef _init_user_attributes(self)
|
||||
|
||||
cdef AudioFrame alloc_audio_frame()
|
||||
Loading…
Add table
Add a link
Reference in a new issue