FFmpeg  4.0
Data Fields
AlsaData Struct Reference

#include <libavdevice/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

◆ class

AVClass* AlsaData::class

Definition at line 49 of file alsa.h.

◆ h

snd_pcm_t* AlsaData::h

◆ frame_size

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

◆ period_size

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

◆ sample_rate

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

◆ channels

int AlsaData::channels

number of channels set by user

Definition at line 54 of file alsa.h.

Referenced by audio_read_header().

◆ last_period

int AlsaData::last_period

Definition at line 55 of file alsa.h.

Referenced by audio_read_packet().

◆ timefilter

TimeFilter* AlsaData::timefilter

Definition at line 56 of file alsa.h.

Referenced by audio_read_header(), audio_read_packet(), and ff_alsa_close().

◆ reorder_func

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

◆ reorder_buf

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

◆ reorder_buf_size

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

◆ timestamp

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: