comparison music2/music.cc @ 18:4d7486cb20a9

Sync with upstream
author thib
date Tue, 16 Sep 2008 15:30:03 +0000
parents fa8511a21d05
children f45da03ca631
comparison
equal deleted inserted replaced
17:a95c130b567b 18:4d7486cb20a9
42 #include"wavfile.h" 42 #include"wavfile.h"
43 43
44 using namespace std; 44 using namespace std;
45 45
46 #define MUSIC_VOLUME 0.2 46 #define MUSIC_VOLUME 0.2
47 #define MUSIC_VOLUME 1
47 48
48 int pcm_enable = 0; 49 int pcm_enable = 0;
49 Mix_Chunk *play_chunk[MIX_PCM_SIZE]; 50 Mix_Chunk *play_chunk[MIX_PCM_SIZE];
50 51
51 MuSys::MuSys(AyuSysConfig& _config) : config(_config), movie_id(-1), music_enable(1) { 52 MuSys::MuSys(AyuSysConfig& _config) : config(_config), movie_id(-1), music_enable(1) {