Libav
Data Fields
AlsaData Struct Reference

#include <alsa-audio.h>

Data Fields

AVClassclass
 
snd_pcm_t * h
 
int frame_size
 preferred size for reads and writes More...
 
int period_size
 bytes per sample * channels More...
 
int sample_rate
 sample rate set by user More...
 
int channels
 number of channels set by user More...
 
void(* reorder_func )(const void *, void *, int)
 
voidreorder_buf
 
int reorder_buf_size
 in frames More...
 

Detailed Description

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

Field Documentation

§ class

AVClass* AlsaData::class

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

§ h

snd_pcm_t* AlsaData::h

§ frame_size

int AlsaData::frame_size

preferred size for reads and writes

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

Referenced by audio_read_packet(), audio_write_packet(), ff_alsa_extend_reorder_buf(), and ff_alsa_open().

§ period_size

int AlsaData::period_size

bytes per sample * channels

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

Referenced by audio_read_packet(), and ff_alsa_open().

§ sample_rate

int AlsaData::sample_rate

sample rate set by user

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

Referenced by audio_read_header().

§ channels

int AlsaData::channels

number of channels set by user

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

Referenced by audio_read_header().

§ reorder_func

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

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

Referenced by audio_write_packet(), ff_alsa_open(), and find_reorder_func().

§ reorder_buf

void* AlsaData::reorder_buf

§ reorder_buf_size

int AlsaData::reorder_buf_size

in frames

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

Referenced by audio_write_packet(), ff_alsa_extend_reorder_buf(), and ff_alsa_open().


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