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
2023-05-08 13:09:58 +02:00

15 lines
288 B
C

#ifndef DEMO_AUDIO_H
#define DEMO_AUDIO_H 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