Go to the source code of this file.
◆ Miniaudio_Init()
◆ Miniaudio_Play()
◆ Miniaudio_Shutdown()
◆ Miniaudio_Stop()
◆ Miniaudio_Update()
static ma_result LoadTrack(const char *gamedir, int track)
static qboolean trackFinished
static ma_decoder decoder
static void Miniaudio_Pause(void)
void Miniaudio_Play(int track, qboolean looping)
ma_device_config ma_device_config_init(ma_device_type deviceType)
ma_result ma_device_start(ma_device *pDevice)
ma_device_callback_proc dataCallback
cvar_t * Cvar_Get(char *var_name, char *var_value, int flags)
void Cmd_RemoveCommand(char *cmd_name)
static void Miniaudio_Resume(void)
void ma_device_uninit(ma_device *pDevice)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
ma_result ma_device_init(ma_context *pContext, const ma_device_config *pConfig, ma_device *pDevice)
static cvar_t * cd_loopcount
void Miniaudio_Stop(void)
int Q_stricmp(char *s1, char *s2)
@ ma_device_type_playback
ma_uint32 bufferSizeInFrames
ma_bool32 ma_device_is_started(ma_device *pDevice)
static qboolean playLooping
static void data_callback(ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount)
ma_result ma_decoder_uninit(ma_decoder *pDecoder)
char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
void Com_Printf(char *fmt,...)
static cvar_t * cd_looptrack
static void Miniaudio_f(void)
struct ma_device_config::@28 playback
ma_result ma_decoder_seek_to_pcm_frame(ma_decoder *pDecoder, ma_uint64 frameIndex)
ma_uint32 outputSampleRate
float Cvar_VariableValue(char *var_name)