Mario Kart 64
Loading...
Searching...
No Matches
HMAS.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int HMAS_AudioId
 

Enumerations

enum  HMAS_ChannelId { HMAS_MUSIC , HMAS_SFX , HMAS_ENV , HMAS_MAX_CHANNELS }
 
enum  HMAS_EffectType { HMAS_EFFECT_VOLUME , HMAS_EFFECT_PITCH , HMAS_EFFECT_PAUSE , HMAS_EFFECT_STOP }
 
enum  HMAS_EffectTransition { HMAS_LINEAR , HMAS_INSTANT }
 

Functions

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

Typedef Documentation

◆ HMAS_AudioId

typedef int HMAS_AudioId

Enumeration Type Documentation

◆ HMAS_ChannelId

Enumerator
HMAS_MUSIC 
HMAS_SFX 
HMAS_ENV 
HMAS_MAX_CHANNELS 

◆ HMAS_EffectTransition

Enumerator
HMAS_LINEAR 
HMAS_INSTANT 

◆ HMAS_EffectType

Enumerator
HMAS_EFFECT_VOLUME 
HMAS_EFFECT_PITCH 
HMAS_EFFECT_PAUSE 
HMAS_EFFECT_STOP 

Function Documentation

◆ HMAS_AddEffect()

void HMAS_AddEffect ( enum HMAS_ChannelId channel,
enum HMAS_EffectType type,
enum 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 ( enum HMAS_ChannelId channel)
Here is the caller graph for this function:

◆ HMAS_Play()

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

◆ HMAS_SetPause()

void HMAS_SetPause ( enum HMAS_ChannelId channel,
bool pause )

◆ HMAS_SetPitch()

void HMAS_SetPitch ( enum HMAS_ChannelId channel,
float pitch )

◆ HMAS_SetVolume()

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

◆ HMAS_Stop()

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