#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <boolean.h>
#include <retro_common_api.h>
Go to the source code of this file.
|
void | audio_mixer_init (unsigned rate) |
|
void | audio_mixer_done (void) |
|
audio_mixer_sound_t * | audio_mixer_load_wav (void *buffer, int32_t size) |
|
audio_mixer_sound_t * | audio_mixer_load_ogg (void *buffer, int32_t size) |
|
audio_mixer_sound_t * | audio_mixer_load_mod (void *buffer, int32_t size) |
|
audio_mixer_sound_t * | audio_mixer_load_flac (void *buffer, int32_t size) |
|
audio_mixer_sound_t * | audio_mixer_load_mp3 (void *buffer, int32_t size) |
|
void | audio_mixer_destroy (audio_mixer_sound_t *sound) |
|
audio_mixer_voice_t * | audio_mixer_play (audio_mixer_sound_t *sound, bool repeat, float volume, audio_mixer_stop_cb_t stop_cb) |
|
void | audio_mixer_stop (audio_mixer_voice_t *voice) |
|
float | audio_mixer_voice_get_volume (audio_mixer_voice_t *voice) |
|
void | audio_mixer_voice_set_volume (audio_mixer_voice_t *voice, float val) |
|
void | audio_mixer_mix (float *buffer, size_t num_frames, float volume_override, bool override) |
|
◆ AUDIO_MIXER_SOUND_FINISHED
#define AUDIO_MIXER_SOUND_FINISHED 0 |
◆ AUDIO_MIXER_SOUND_REPEATED
#define AUDIO_MIXER_SOUND_REPEATED 2 |
◆ AUDIO_MIXER_SOUND_STOPPED
#define AUDIO_MIXER_SOUND_STOPPED 1 |
◆ audio_mixer_sound_t
◆ audio_mixer_stop_cb_t
◆ audio_mixer_voice_t
◆ audio_mixer_type
Enumerator |
---|
AUDIO_MIXER_TYPE_NONE | |
AUDIO_MIXER_TYPE_WAV | |
AUDIO_MIXER_TYPE_OGG | |
AUDIO_MIXER_TYPE_MOD | |
AUDIO_MIXER_TYPE_FLAC | |
AUDIO_MIXER_TYPE_MP3 | |
◆ audio_mixer_destroy()
◆ audio_mixer_done()
◆ audio_mixer_init()
void audio_mixer_init |
( |
unsigned |
rate | ) |
|
◆ audio_mixer_load_flac()
◆ audio_mixer_load_mod()
◆ audio_mixer_load_mp3()
◆ audio_mixer_load_ogg()
◆ audio_mixer_load_wav()
◆ audio_mixer_mix()
void audio_mixer_mix |
( |
float * |
buffer, |
|
|
size_t |
num_frames, |
|
|
float |
volume_override, |
|
|
bool |
override |
|
) |
| |
◆ audio_mixer_play()
◆ audio_mixer_stop()
◆ audio_mixer_voice_get_volume()
◆ audio_mixer_voice_set_volume()