Mario Kart 64
Loading...
Searching...
No Matches
HMAS.cpp File Reference
#include "HMAS.h"
#include "audio/miniaudio.h"
#include <spdlog/spdlog.h>
#include "port/Engine.h"
#include "sounds.h"
Include dependency graph for HMAS.cpp:

Macros

#define MINIAUDIO_IMPLEMENTATION
 

Functions

void HMAS_Play (HMAS_ChannelId channelId, HMAS_AudioId id, bool loop)
 
void HMAS_Stop (HMAS_ChannelId channelId)
 
bool HMAS_IsPlaying (HMAS_ChannelId channelId)
 
void HMAS_SetPitch (HMAS_ChannelId channelId, float pitch)
 
void HMAS_SetVolume (HMAS_ChannelId channelId, float volume)
 
void HMAS_SetPause (HMAS_ChannelId channelId, bool pause)
 
void HMAS_AddEffect (HMAS_ChannelId channelId, HMAS_EffectType type, HMAS_EffectTransition transition, uint32_t frames, float target)
 
bool HMAS_IsIDRegistered (HMAS_AudioId id)
 

Macro Definition Documentation

◆ MINIAUDIO_IMPLEMENTATION

#define MINIAUDIO_IMPLEMENTATION

Function Documentation

◆ HMAS_AddEffect()

void HMAS_AddEffect ( HMAS_ChannelId channelId,
HMAS_EffectType type,
HMAS_EffectTransition transition,
uint32_t frames,
float target )
Here is the caller graph for this function:

◆ HMAS_IsIDRegistered()

bool HMAS_IsIDRegistered ( HMAS_AudioId id)
Here is the caller graph for this function:

◆ HMAS_IsPlaying()

bool HMAS_IsPlaying ( HMAS_ChannelId channelId)
Here is the caller graph for this function:

◆ HMAS_Play()

void HMAS_Play ( HMAS_ChannelId channelId,
HMAS_AudioId id,
bool loop )
Here is the caller graph for this function:

◆ HMAS_SetPause()

void HMAS_SetPause ( HMAS_ChannelId channelId,
bool pause )

◆ HMAS_SetPitch()

void HMAS_SetPitch ( HMAS_ChannelId channelId,
float pitch )

◆ HMAS_SetVolume()

void HMAS_SetVolume ( HMAS_ChannelId channelId,
float volume )
Here is the caller graph for this function:

◆ HMAS_Stop()

void HMAS_Stop ( HMAS_ChannelId channelId)
Here is the caller graph for this function: