|
SpaghettiKart
|
#include "HMAS.h"#include "audio/miniaudio.h"#include <spdlog/spdlog.h>#include "port/Engine.h"#include "sounds.h"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) |
| #define MINIAUDIO_IMPLEMENTATION |
| void HMAS_AddEffect | ( | HMAS_ChannelId | channelId, |
| HMAS_EffectType | type, | ||
| HMAS_EffectTransition | transition, | ||
| uint32_t | frames, | ||
| float | target ) |
| bool HMAS_IsIDRegistered | ( | HMAS_AudioId | id | ) |
| bool HMAS_IsPlaying | ( | HMAS_ChannelId | channelId | ) |
| void HMAS_Play | ( | HMAS_ChannelId | channelId, |
| HMAS_AudioId | id, | ||
| bool | loop ) |
| void HMAS_SetPause | ( | HMAS_ChannelId | channelId, |
| bool | pause ) |
| void HMAS_SetPitch | ( | HMAS_ChannelId | channelId, |
| float | pitch ) |
| void HMAS_SetVolume | ( | HMAS_ChannelId | channelId, |
| float | volume ) |
| void HMAS_Stop | ( | HMAS_ChannelId | channelId | ) |