2014-06-01 17:55:23 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the DXX-Rebirth project <http://www.dxx-rebirth.com/>.
|
|
|
|
* It is copyright by its individual contributors, as recorded in the
|
|
|
|
* project's Git history. See COPYING.txt at the top level for license
|
|
|
|
* terms and a link to the Git history.
|
|
|
|
*/
|
2006-10-17 20:52:09 +00:00
|
|
|
/*
|
|
|
|
* Header file for music playback through SDL_mixer
|
|
|
|
*
|
|
|
|
* -- MD2211 (2006-04-24)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _SDLMIXER_MUSIC_H
|
|
|
|
#define _SDLMIXER_MUSIC_H
|
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
2013-06-08 22:24:17 +00:00
|
|
|
int mix_play_music(const char *, int);
|
|
|
|
int mix_play_file(const char *, int, void (*)());
|
2007-03-12 21:56:41 +00:00
|
|
|
void mix_set_music_volume(int);
|
2006-10-17 20:52:09 +00:00
|
|
|
void mix_stop_music();
|
2010-06-14 08:13:16 +00:00
|
|
|
void mix_pause_music();
|
|
|
|
void mix_resume_music();
|
|
|
|
void mix_pause_resume_music();
|
2009-03-03 12:55:27 +00:00
|
|
|
void mix_free_music();
|
2006-10-17 20:52:09 +00:00
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#endif
|
|
|
|
|
2006-10-17 20:52:09 +00:00
|
|
|
#endif
|