UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
state_alsa_playback Struct Reference
Collaboration diagram for state_alsa_playback:
Collaboration graph

Public Attributes

long int audio_buf_len_ms
 
audio_buffer_t * buf
 
snd_pcm_uframes_t buffer_size
 
struct audio_desc desc
 
snd_pcm_t * handle
 
struct timeval last_audio_read
 
snd_config_t * local_config
 
pthread_mutex_t lock
 
bool non_interleaved
 
snd_async_handler_t * pcm_callback
 
snd_pcm_uframes_t period_size
 
playback_mode_t playback_mode
 
long sched_latency_ms
 
char * scratchpad
 
bool should_exit_thread
 
pthread_t thread_id
 
bool thread_started
 
uint32_t timestamp
 

Detailed Description

Definition at line 112 of file alsa.c.

Member Data Documentation

◆ audio_buf_len_ms

long int state_alsa_playback::audio_buf_len_ms

Definition at line 133 of file alsa.c.

Referenced by audio_play_alsa_reconfigure().

◆ buf

◆ buffer_size

snd_pcm_uframes_t state_alsa_playback::buffer_size

Definition at line 125 of file alsa.c.

Referenced by audio_play_alsa_reconfigure(), audio_play_alsa_write_frame(), and write_fill().

◆ desc

struct audio_desc state_alsa_playback::desc

◆ handle

◆ last_audio_read

struct timeval state_alsa_playback::last_audio_read

Definition at line 139 of file alsa.c.

Referenced by worker().

◆ local_config

snd_config_t* state_alsa_playback::local_config

Definition at line 119 of file alsa.c.

Referenced by audio_play_alsa_done(), and audio_play_alsa_init().

◆ lock

pthread_mutex_t state_alsa_playback::lock

◆ non_interleaved

bool state_alsa_playback::non_interleaved

Definition at line 121 of file alsa.c.

Referenced by audio_play_alsa_reconfigure(), and audio_play_alsa_write_frame().

◆ pcm_callback

snd_async_handler_t* state_alsa_playback::pcm_callback

Definition at line 142 of file alsa.c.

Referenced by audio_play_alsa_done(), and audio_play_alsa_reconfigure().

◆ period_size

snd_pcm_uframes_t state_alsa_playback::period_size

Definition at line 124 of file alsa.c.

Referenced by alsa_play_async_callback(), and audio_play_alsa_reconfigure().

◆ playback_mode

◆ sched_latency_ms

long state_alsa_playback::sched_latency_ms

Definition at line 144 of file alsa.c.

Referenced by audio_play_alsa_init(), audio_play_alsa_reconfigure(), and worker().

◆ scratchpad

char* state_alsa_playback::scratchpad

Definition at line 146 of file alsa.c.

Referenced by audio_play_alsa_done(), audio_play_alsa_init(), and audio_play_alsa_write_frame().

◆ should_exit_thread

bool state_alsa_playback::should_exit_thread

Definition at line 136 of file alsa.c.

Referenced by audio_play_alsa_done(), audio_play_alsa_reconfigure(), and worker().

◆ thread_id

pthread_t state_alsa_playback::thread_id

Definition at line 128 of file alsa.c.

Referenced by audio_play_alsa_done(), and audio_play_alsa_reconfigure().

◆ thread_started

bool state_alsa_playback::thread_started

Definition at line 137 of file alsa.c.

Referenced by audio_play_alsa_done(), and audio_play_alsa_reconfigure().

◆ timestamp

uint32_t state_alsa_playback::timestamp

Definition at line 138 of file alsa.c.

Referenced by audio_play_alsa_put_frame(), and audio_play_alsa_reconfigure().


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