X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fmsdos.c;h=ea75479de66edec7947d86a2a44315a4315e15e3;hb=c431e727cdc0ecec3468ab4b89cae2e9708aa49a;hp=4c84010f90e4eb59daf90befa3f556a4fefe466a;hpb=dfe0a71a9939e0c55bb54dcc92db1749e8e21747;p=rocksndiamonds.git diff --git a/src/libgame/msdos.c b/src/libgame/msdos.c index 4c84010f..ea75479d 100644 --- a/src/libgame/msdos.c +++ b/src/libgame/msdos.c @@ -56,7 +56,7 @@ boolean wait_for_vsync; /* extern int playing_sounds; -extern struct SoundControl playlist[MAX_SOUNDS_PLAYING]; +extern struct SoundControl playlist[NUM_MIXER_CHANNELS]; extern struct SoundControl emptySoundControl; */ @@ -92,7 +92,7 @@ static void allegro_init_drivers() static boolean allegro_init_audio() { - reserve_voices(MAX_SOUNDS_PLAYING, 0); + reserve_voices(NUM_MIXER_CHANNELS, 0); if (install_sound(DIGI_AUTODETECT, MIDI_NONE, NULL) == -1) if (install_sound(DIGI_SB, MIDI_NONE, NULL) == -1)