This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
api8/includes/audio.h

15 lines
292 B
C

#ifndef DEMO_AUDIO_HPP
#define DEMO_AUDIO_HPP 1
#include <SDL_mixer.h>
// Charge et lance la musique
void initMusic(Mix_Chunk *, const char *);
// Renvoie une moyenne de l'intensité du son
double averageMusic(void);
// Libère la musique en mémoire
void freeMusic(Mix_Chunk *);
#endif