FFmpeg
|
#include <alsa-audio.h>
Data Fields | |
AVClass * | class |
snd_pcm_t * | h |
int | frame_size |
bytes per sample * channels | |
int | period_size |
preferred size for reads and writes, in frames | |
int | sample_rate |
sample rate set by user | |
int | channels |
number of channels set by user | |
int | last_period |
TimeFilter * | timefilter |
void(* | reorder_func )(const void *, void *, int) |
void * | reorder_buf |
int | reorder_buf_size |
in frames | |
int64_t | timestamp |
current timestamp, without latency applied. | |
Definition at line 48 of file alsa-audio.h.
AVClass* AlsaData::class |
Definition at line 49 of file alsa-audio.h.
snd_pcm_t* AlsaData::h |
Definition at line 50 of file alsa-audio.h.
Referenced by audio_get_output_timestamp(), audio_read_header(), audio_read_packet(), audio_write_header(), audio_write_packet(), ff_alsa_close(), ff_alsa_open(), and ff_alsa_xrun_recover().
int AlsaData::frame_size |
bytes per sample * channels
Definition at line 51 of file alsa-audio.h.
Referenced by audio_read_header(), audio_read_packet(), audio_write_frame(), audio_write_packet(), ff_alsa_extend_reorder_buf(), and ff_alsa_open().
int AlsaData::period_size |
preferred size for reads and writes, in frames
Definition at line 52 of file alsa-audio.h.
Referenced by audio_read_header(), audio_read_packet(), and ff_alsa_open().
int AlsaData::sample_rate |
sample rate set by user
Definition at line 53 of file alsa-audio.h.
Referenced by audio_read_header(), and audio_read_packet().
int AlsaData::channels |
number of channels set by user
Definition at line 54 of file alsa-audio.h.
Referenced by audio_read_header().
int AlsaData::last_period |
Definition at line 55 of file alsa-audio.h.
Referenced by audio_read_packet().
TimeFilter* AlsaData::timefilter |
Definition at line 56 of file alsa-audio.h.
Referenced by audio_read_header(), audio_read_packet(), and ff_alsa_close().
Definition at line 57 of file alsa-audio.h.
Referenced by audio_write_packet(), ff_alsa_open(), and find_reorder_func().
void* AlsaData::reorder_buf |
Definition at line 58 of file alsa-audio.h.
Referenced by audio_write_packet(), ff_alsa_close(), ff_alsa_extend_reorder_buf(), and ff_alsa_open().
int AlsaData::reorder_buf_size |
in frames
Definition at line 59 of file alsa-audio.h.
Referenced by audio_write_packet(), ff_alsa_extend_reorder_buf(), and ff_alsa_open().
int64_t AlsaData::timestamp |
current timestamp, without latency applied.
Definition at line 60 of file alsa-audio.h.
Referenced by audio_get_output_timestamp(), and audio_write_packet().