Initialisation du repository de Beta

This commit is contained in:
Mathis 2026-02-06 22:23:20 +01:00
commit 14985f6dbb
9469 changed files with 1903273 additions and 0 deletions

View 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()