Re: [AD] Progressions and regressions |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 25 Sep 2001, salvador <salvador@xxxxxxxxxx> wrote:
>
> I tried 3.9.37 and it works!
> So what's the problem? Is the library trying to use OSS in favor of ESSD because it could offer
> midi?
No, I just wasn't careful enough. Please test the following patch
for me (clear the config file variable first).
Index: sound.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/sound.c,v
retrieving revision 1.8
diff -u -r1.8 sound.c
--- sound.c 2001/06/24 14:53:21 1.8
+++ sound.c 2001/09/27 02:32:40
@@ -382,11 +382,14 @@
digi_driver = digi_drivers[c].driver;
if (digi_driver->detect(FALSE))
break;
+ digi_driver = NULL;
}
}
- if (!digi_driver)
+ if (!digi_driver) {
+ digi_card = DIGI_NONE;
digi_driver = &digi_none;
+ }
}
/* set up midi sound driver */
@@ -430,11 +433,14 @@
midi_driver = midi_drivers[c].driver;
if (midi_driver->detect(FALSE))
break;
+ midi_driver = NULL;
}
}
- if (!midi_driver)
+ if (!midi_driver) {
+ midi_card = MIDI_NONE;
midi_driver = &_midi_none;
+ }
}
/* work out how many voices to allocate for each driver */