UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
audio_frame Struct Reference

struct used to comunicate with audio capture/playback device More...

#include <types.h>

Collaboration diagram for audio_frame:
Collaboration graph

Public Attributes

int bps
 
int ch_count
 
char * data
 
int data_len
 
void(* dispose )(struct audio_frame *)
 called by sender when frame was processed
 
void * dispose_udata
 additional data that may the caller use in dispose
 
int flags
 
int max_size
 
void * network_source
 
int sample_rate
 
int64_t timestamp
 

Detailed Description

struct used to comunicate with audio capture/playback device

Always hold uncompressed (PCM) packed interleaved signed data.

Definition at line 98 of file types.h.

Member Data Documentation

◆ bps

◆ ch_count

◆ data

◆ data_len

◆ dispose

void(* audio_frame::dispose) (struct audio_frame *)

called by sender when frame was processed

Definition at line 112 of file types.h.

Referenced by get_audio().

◆ dispose_udata

void* audio_frame::dispose_udata

additional data that may the caller use in dispose

Definition at line 113 of file types.h.

◆ flags

int audio_frame::flags

◆ max_size

◆ network_source

void* audio_frame::network_source

Definition at line 106 of file types.h.

Referenced by audio_receiver_thread().

◆ sample_rate

◆ timestamp

int64_t audio_frame::timestamp

frame timestamp - monotonous on sender, wraps-around at 2^32 on the receiver

Definition at line 109 of file types.h.

Referenced by audio_play_dummy_put_frame(), audio_receiver_thread(), decode_audio_frame(), get_timestamped_audio(), sdi_capture_new_incoming_frame(), and vidcap_testcard_get_audio().


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