mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
use mixer for title music, crowd noise, rain/thunder, and sound effects
This commit is contained in:
@@ -504,11 +504,13 @@ static void window_options_dropdown()
|
||||
case WIDX_SOUND_DROPDOWN:
|
||||
audio_init2(dropdownIndex);
|
||||
if (dropdownIndex < gAudioDeviceCount) {
|
||||
#ifdef USE_MIXER
|
||||
int devicenum = dropdownIndex;
|
||||
if (devicenum == 0) {
|
||||
devicenum = 1;
|
||||
}
|
||||
Mixer_Init(gAudioDevices[devicenum].name);
|
||||
#endif
|
||||
}
|
||||
/*#ifdef _MSC_VER
|
||||
__asm movzx ax, dropdownIndex
|
||||
|
||||
Reference in New Issue
Block a user