FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AlsaData Struct Reference

#include <alsa-audio.h>

Data Fields

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

Detailed Description

Definition at line 48 of file alsa-audio.h.

Field Documentation

AVClass* AlsaData::class

Definition at line 49 of file alsa-audio.h.

snd_pcm_t* AlsaData::h
int AlsaData::frame_size

bytes per sample * channels

Definition at line 51 of file alsa-audio.h.

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

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

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


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