libgpac
Documentation of the core library of GPAC
audio.c File Reference
#include "sdl_out.h"
+ Include dependency graph for audio.c:

Macros

#define SDLAUD()   SDLAudCtx *ctx = (SDLAudCtx *)dr->opaque
 

Functions

static void sdl_close_audio ()
 
void sdl_fill_audio (void *udata, Uint8 *stream, int len)
 
static GF_Err SDLAud_Setup (GF_AudioOutput *dr, void *os_handle, u32 num_buffers, u32 total_duration)
 
static void SDLAud_Shutdown (GF_AudioOutput *dr)
 
void SDL_DeleteAudio (void *ifce)
 
static GF_Err SDLAud_Configure (GF_AudioOutput *dr, u32 *SampleRate, u32 *NbChannels, u32 *audioFormat, u64 channel_cfg)
 
static u32 SDLAud_GetAudioDelay (GF_AudioOutput *dr)
 
static u32 SDLAud_GetTotalBufferTime (GF_AudioOutput *dr)
 
static void SDLAud_SetVolume (GF_AudioOutput *dr, u32 Volume)
 
static void SDLAud_SetPan (GF_AudioOutput *dr, u32 pan)
 
static void SDLAud_Play (GF_AudioOutput *dr, u32 PlayType)
 
static void SDLAud_SetPriority (GF_AudioOutput *dr, u32 priority)
 
static GF_Err SDLAud_QueryOutputSampleRate (GF_AudioOutput *dr, u32 *desired_samplerate, u32 *NbChannels, u32 *nbBitsPerSample)
 
void * SDL_NewAudio ()
 

Macro Definition Documentation

◆ SDLAUD

#define SDLAUD ( )    SDLAudCtx *ctx = (SDLAudCtx *)dr->opaque

Function Documentation

◆ sdl_close_audio()

static void sdl_close_audio ( )
static
+ Here is the caller graph for this function:

◆ sdl_fill_audio()

void sdl_fill_audio ( void *  udata,
Uint8 *  stream,
int  len 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDLAud_Setup()

static GF_Err SDLAud_Setup ( GF_AudioOutput dr,
void *  os_handle,
u32  num_buffers,
u32  total_duration 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDLAud_Shutdown()

static void SDLAud_Shutdown ( GF_AudioOutput dr)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDL_DeleteAudio()

void SDL_DeleteAudio ( void *  ifce)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDLAud_Configure()

static GF_Err SDLAud_Configure ( GF_AudioOutput dr,
u32 SampleRate,
u32 NbChannels,
u32 audioFormat,
u64  channel_cfg 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SDLAud_GetAudioDelay()

static u32 SDLAud_GetAudioDelay ( GF_AudioOutput dr)
static
+ Here is the caller graph for this function:

◆ SDLAud_GetTotalBufferTime()

static u32 SDLAud_GetTotalBufferTime ( GF_AudioOutput dr)
static
+ Here is the caller graph for this function:

◆ SDLAud_SetVolume()

static void SDLAud_SetVolume ( GF_AudioOutput dr,
u32  Volume 
)
static
+ Here is the caller graph for this function:

◆ SDLAud_SetPan()

static void SDLAud_SetPan ( GF_AudioOutput dr,
u32  pan 
)
static
+ Here is the caller graph for this function:

◆ SDLAud_Play()

static void SDLAud_Play ( GF_AudioOutput dr,
u32  PlayType 
)
static
+ Here is the caller graph for this function:

◆ SDLAud_SetPriority()

static void SDLAud_SetPriority ( GF_AudioOutput dr,
u32  priority 
)
static
+ Here is the caller graph for this function:

◆ SDLAud_QueryOutputSampleRate()

static GF_Err SDLAud_QueryOutputSampleRate ( GF_AudioOutput dr,
u32 desired_samplerate,
u32 NbChannels,
u32 nbBitsPerSample 
)
static
+ Here is the caller graph for this function:

◆ SDL_NewAudio()

void* SDL_NewAudio ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function: