World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Определения типов | |
typedef struct AVAudioFifo | AVAudioFifo |
Функции | |
void | av_audio_fifo_free (AVAudioFifo *af) |
AVAudioFifo * | av_audio_fifo_alloc (enum AVSampleFormat sample_fmt, int channels, int nb_samples) |
av_warn_unused_result int | av_audio_fifo_realloc (AVAudioFifo *af, int nb_samples) |
int | av_audio_fifo_write (AVAudioFifo *af, void **data, int nb_samples) |
int | av_audio_fifo_peek (AVAudioFifo *af, void **data, int nb_samples) |
int | av_audio_fifo_peek_at (AVAudioFifo *af, void **data, int nb_samples, int offset) |
int | av_audio_fifo_read (AVAudioFifo *af, void **data, int nb_samples) |
int | av_audio_fifo_drain (AVAudioFifo *af, int nb_samples) |
void | av_audio_fifo_reset (AVAudioFifo *af) |
int | av_audio_fifo_size (AVAudioFifo *af) |
int | av_audio_fifo_space (AVAudioFifo *af) |
typedef struct AVAudioFifo AVAudioFifo |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Context for an Audio FIFO Buffer.
См. определение в файле audio_fifo.h строка 49
void av_audio_fifo_free | ( | AVAudioFifo * | af | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Free an AVAudioFifo.
af | AVAudioFifo to free |
AVAudioFifo* av_audio_fifo_alloc | ( | enum AVSampleFormat | sample_fmt, |
int | channels, | ||
int | nb_samples | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Allocate an AVAudioFifo.
sample_fmt | sample format |
channels | number of channels |
nb_samples | initial allocation size, in samples |
av_warn_unused_result int av_audio_fifo_realloc | ( | AVAudioFifo * | af, |
int | nb_samples | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Reallocate an AVAudioFifo.
af | AVAudioFifo to reallocate |
nb_samples | new allocation size, in samples |
int av_audio_fifo_write | ( | AVAudioFifo * | af, |
void ** | data, | ||
int | nb_samples | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Write data to an AVAudioFifo.
The AVAudioFifo will be reallocated automatically if the available space is less than nb_samples.
af | AVAudioFifo to write to |
data | audio data plane pointers |
nb_samples | number of samples to write |
int av_audio_fifo_peek | ( | AVAudioFifo * | af, |
void ** | data, | ||
int | nb_samples | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Peek data from an AVAudioFifo.
af | AVAudioFifo to read from |
data | audio data plane pointers |
nb_samples | number of samples to peek |
int av_audio_fifo_peek_at | ( | AVAudioFifo * | af, |
void ** | data, | ||
int | nb_samples, | ||
int | offset | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Peek data from an AVAudioFifo.
af | AVAudioFifo to read from |
data | audio data plane pointers |
nb_samples | number of samples to peek |
offset | offset from current read position |
int av_audio_fifo_read | ( | AVAudioFifo * | af, |
void ** | data, | ||
int | nb_samples | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Read data from an AVAudioFifo.
af | AVAudioFifo to read from |
data | audio data plane pointers |
nb_samples | number of samples to read |
int av_audio_fifo_drain | ( | AVAudioFifo * | af, |
int | nb_samples | ||
) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Drain data from an AVAudioFifo.
Removes the data without reading it.
af | AVAudioFifo to drain |
nb_samples | number of samples to drain |
void av_audio_fifo_reset | ( | AVAudioFifo * | af | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Reset the AVAudioFifo buffer.
This empties all data in the buffer.
af | AVAudioFifo to reset |
int av_audio_fifo_size | ( | AVAudioFifo * | af | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Get the current number of samples in the AVAudioFifo available for reading.
af | the AVAudioFifo to query |
int av_audio_fifo_space | ( | AVAudioFifo * | af | ) |
#include <C:/git/world-of-might-and-magic/lib/win32/x86/ffmpeg-4.2.2/include/libavutil/audio_fifo.h>
Get the current number of samples in the AVAudioFifo available for writing.
af | the AVAudioFifo to query |