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

16 lines
292 B
C
Raw Normal View History

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