| 1 |
/* |
| 2 |
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>. |
| 3 |
* It is copyright by its individual contributors, as recorded in the |
| 4 |
* project's Git history. See COPYING.txt at the top level for license |
| 5 |
* terms and a link to the Git history. |
| 6 |
*/ |
| 7 |
/* |
| 8 |
* Header file for music playback through SDL_mixer |
| 9 |
* |
| 10 |
* -- MD2211 (2006-04-24) |
| 11 |
*/ |
| 12 |
|
| 13 |
#pragma once |
| 14 |
|
| 15 |
#ifdef __cplusplus |
| 16 |
namespace dcx { |
| 17 |
|
| 18 |
int mix_play_music(const char *, int); |
| 19 |
int mix_play_file(const char *, int, void (*)()); |
| 20 |
void mix_set_music_volume(int); |
| 21 |
void mix_stop_music(); |
| 22 |
void mix_pause_music(); |
| 23 |
void mix_resume_music(); |
| 24 |
void mix_pause_resume_music(); |
| 25 |
void mix_free_music(); |
| 26 |
|
| 27 |
} |
| 28 |
#endif |