Re: [AD] setup.c fails to compile with --disable-ossdigi |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Evert Glebbeek wrote:
On Sat, 2005-01-29 at 20:37 +0100, Elias Pschernig wrote:"Mr_Bones_" gave me the attached patch in #allegro to fix it. I didn't follow that driver constants change (I guess, in prior allegro versions, DIGI_OSS wouldn't have been defined if OSS was not available),
>>>so not sure this is the right way to fix it.
Hmm... guess I missed your original message... no, it's not the correct way to fix the problem (see other message).
IMO, it is. Those two variables are internal to Allegro and shouldn't have been exposed in the first place. I've looked at the code in setup.c and it should still work as expected (I don't know why they were exposed in the first place, set_config_int'ing the two config vars and resetting the sound should work.. no need to modify the two vars directly). I do remember this issue coming up before.. at least a version or two ago, and I thought I fixed it then.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |