Re: [Super-tux-devel] --disable-sound and NOSOUND
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2003-12-19 03:28:15
|
On Thu, Dec 18, 2003 at 11:26:16PM -0500, Tobias Gl=E4=DFer wrote: >=20 > The sound effects in supertux don't sound like they should. When I play > them with something like xmms they sound different, so I conclude, that > SDL_mixer is at least bad in playing .wav files. Which version do of SDL_mixer do you have? I started Super Tux long ago, so I may have initialized SDL_mixer wrong, or you could have a buggy vers= ion (it's had some bugs in the past, but is pretty good now, I think) > You are right. There are SDL_mixer packages for nearly every major > distro. >=20 > > > -Creating fake functions, which do nothing, if someone don't wants = to > > > link against SDL_mixer. (Just a idea, I dunno if that is 100% possi= ble > > > ;) ) > >=20 > > Defined with #define? ;) Heheheheheh >=20 > There would be only one remaining #ifndef, which would lead to much > cleaner code. True. :) I guess the way _I_ think of it is, once I write, say, the system initialization and "play_sound()" functions, I'll probably nev= er look at them again. Out of sight, out of mind. ;^) Of course, 99% of the time, I'm the only coder on a project. So, sorry ;) -bill! |