FFmpeg
4.0
|
#include <libavdevice/alsa.h>
Data Fields | |
AVClass * | class |
snd_pcm_t * | h |
int | frame_size |
bytes per sample * channels More... | |
int | period_size |
preferred size for reads and writes, in frames More... | |
int | sample_rate |
sample rate set by user More... | |
int | channels |
number of channels set by user More... | |
int | last_period |
TimeFilter * | timefilter |
void(* | reorder_func )(const void *, void *, int) |
void * | reorder_buf |
int | reorder_buf_size |
in frames More... | |
int64_t | timestamp |
current timestamp, without latency applied. More... | |
snd_pcm_t* AlsaData::h |
Definition at line 50 of file alsa.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.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.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.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.h.
Referenced by audio_read_header().
int AlsaData::last_period |
Definition at line 55 of file alsa.h.
Referenced by audio_read_packet().
TimeFilter* AlsaData::timefilter |
Definition at line 56 of file alsa.h.
Referenced by audio_read_header(), audio_read_packet(), and ff_alsa_close().
Definition at line 57 of file alsa.h.
Referenced by audio_write_packet(), ff_alsa_open(), and MAKE_REORDER_FUNCS().
void* AlsaData::reorder_buf |
Definition at line 58 of file alsa.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.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.h.
Referenced by audio_get_output_timestamp(), and audio_write_packet().