32 #ifndef __MLV__MLV_AUDIO_H__
33 #define __MLV__MLV_AUDIO_H__
38 #include "memory_debug.h"
48 typedef struct _MLV_Music MLV_Music;
53 typedef struct _MLV_Sound MLV_Sound;
67 void MLV_free_audio();
96 int MLV_change_audio_buffer_size(
int buffer_size );
104 void MLV_change_number_of_parallel_sounds(
unsigned int n );
120 MLV_Music* MLV_load_music(
const char* file_music );
127 void MLV_free_music( MLV_Music* music );
137 void MLV_play_music(
const MLV_Music* music,
float volume,
int loop );
142 void MLV_stop_music();
160 MLV_Sound* MLV_load_sound(
const char* file_sound );
167 void MLV_free_sound( MLV_Sound* sound );
175 void MLV_play_sound(
const MLV_Sound* sound,
float volume );
180 void MLV_stop_all_sounds();