libgpac
Documentation of the core library of GPAC
GF_AudioOutput Struct Reference

#include <audio_out.h>

Data Fields

GF_DECL_MODULE_INTERFACE GF_Err(* Setup )(struct _audiooutput *aout, void *os_handle, u32 num_buffers, u32 total_duration)
 
void(* Shutdown )(struct _audiooutput *aout)
 
GF_Err(* QueryOutputSampleRate )(struct _audiooutput *aout, u32 *io_desired_samplerate, u32 *io_NbChannels, u32 *io_AudioFormat)
 
GF_Err(* Configure )(struct _audiooutput *aout, u32 *SampleRate, u32 *NbChannels, u32 *audioFormat, u64 channel_layout)
 
u32(* GetTotalBufferTime )(struct _audiooutput *aout)
 
u32(* GetAudioDelay )(struct _audiooutput *aout)
 
void(* SetVolume )(struct _audiooutput *aout, u32 Volume)
 
void(* SetPan )(struct _audiooutput *aout, u32 pan)
 
void(* Play )(struct _audiooutput *aout, u32 PlayType)
 
Bool SelfThreaded
 
void(* WriteAudio )(struct _audiooutput *aout)
 
void(* SetPriority )(struct _audiooutput *aout, u32 priority)
 
void * opaque
 
u32(* FillBuffer )(void *audio_renderer, u8 *buffer, u32 buffer_size)
 
void * audio_renderer
 

Field Documentation

◆ Setup

GF_DECL_MODULE_INTERFACE GF_Err(* GF_AudioOutput::Setup) (struct _audiooutput *aout, void *os_handle, u32 num_buffers, u32 total_duration)

◆ Shutdown

void(* GF_AudioOutput::Shutdown) (struct _audiooutput *aout)

◆ QueryOutputSampleRate

GF_Err(* GF_AudioOutput::QueryOutputSampleRate) (struct _audiooutput *aout, u32 *io_desired_samplerate, u32 *io_NbChannels, u32 *io_AudioFormat)

◆ Configure

GF_Err(* GF_AudioOutput::Configure) (struct _audiooutput *aout, u32 *SampleRate, u32 *NbChannels, u32 *audioFormat, u64 channel_layout)

◆ GetTotalBufferTime

u32(* GF_AudioOutput::GetTotalBufferTime) (struct _audiooutput *aout)

◆ GetAudioDelay

u32(* GF_AudioOutput::GetAudioDelay) (struct _audiooutput *aout)

◆ SetVolume

void(* GF_AudioOutput::SetVolume) (struct _audiooutput *aout, u32 Volume)

◆ SetPan

void(* GF_AudioOutput::SetPan) (struct _audiooutput *aout, u32 pan)

◆ Play

void(* GF_AudioOutput::Play) (struct _audiooutput *aout, u32 PlayType)

◆ SelfThreaded

Bool GF_AudioOutput::SelfThreaded

◆ WriteAudio

void(* GF_AudioOutput::WriteAudio) (struct _audiooutput *aout)

◆ SetPriority

void(* GF_AudioOutput::SetPriority) (struct _audiooutput *aout, u32 priority)

◆ opaque

void* GF_AudioOutput::opaque

◆ FillBuffer

u32(* GF_AudioOutput::FillBuffer) (void *audio_renderer, u8 *buffer, u32 buffer_size)

◆ audio_renderer

void* GF_AudioOutput::audio_renderer