FFmpeg
Data Fields
AlsaData Struct Reference

#include <alsa.h>

Data Fields

AVClassclass
 
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
 
TimeFiltertimefilter
 
void(* reorder_func )(const void *, void *, int)
 
voidreorder_buf
 
int reorder_buf_size
 in frames More...
 
int64_t timestamp
 current timestamp, without latency applied. More...
 

Detailed Description

Definition at line 48 of file alsa.h.

Field Documentation

AVClass* AlsaData::class

Definition at line 49 of file alsa.h.

snd_pcm_t* AlsaData::h
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().

void(* AlsaData::reorder_func) (const void *, void *, int)

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


The documentation for this struct was generated from the following file: