src/sound.cpp
changeset 6626 207875b9069a
parent 6453 226bcddeba32
child 6654 31d17823506f
equal deleted inserted replaced
6625:4e6286057c3d 6626:207875b9069a
   150 	MxSetChannelVolume(mc, left_vol * 128 / PANNING_LEVELS, right_vol * 128 / PANNING_LEVELS);
   150 	MxSetChannelVolume(mc, left_vol * 128 / PANNING_LEVELS, right_vol * 128 / PANNING_LEVELS);
   151 	MxActivateChannel(mc);
   151 	MxActivateChannel(mc);
   152 }
   152 }
   153 
   153 
   154 
   154 
   155 static const byte _vol_factor_by_zoom[] = {255, 190, 134};
   155 static const byte _vol_factor_by_zoom[ZOOM_LVL_END] = {255, 190, 134};
   156 
   156 
   157 static const byte _sound_base_vol[] = {
   157 static const byte _sound_base_vol[] = {
   158 	128,  90, 128, 128, 128, 128, 128, 128,
   158 	128,  90, 128, 128, 128, 128, 128, 128,
   159 	128,  90,  90, 128, 128, 128, 128, 128,
   159 	128,  90,  90, 128, 128, 128, 128, 128,
   160 	128, 128, 128,  80, 128, 128, 128, 128,
   160 	128, 128, 128,  80, 128, 128, 128, 128,