Re: [Super-tux-devel] Sound and sound again :-)
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2003-12-26 11:54:24
|
On Thu, Dec 25, 2003 at 09:03:18PM +0100, Duong-Khang NGUYEN wrote: > Changes,fixes, adds: > > 1. Changes: setup.c now open audio device even if --disable-sound command-line > option was given. This is because the user can now decide to activate it > later via menu. I think maybe if they use "--disable-sound", it shouldn't open the audio device, and either it should be opened the first time they enable sound from the menu, OR the menu option would just not be there. Then perhaps have a "--no-sound" or "--sound=off" option which changes the OPTION (rather than affect the core initialization) Make sense? > 2. Fixes: program aborts if there isn't an available device now fixed. (I > discovered this while listening to XMMS :-)) Hehe :) > 3. Added: turning on/off sound for fun :-D via menu when you don't have an > available audio device is no more allowed Cool. > 4. Added: global variable "audio_device" in sound.h. Its value is set to YES > when there's an available audio device. "use_sound" is used specifically to > satisfy users' desire ^^ Sounds good! Thx! -bill! bi...@ne... Got kids? Get Tux Paint! http://newbreedsoftware.com/bill/ http://newbreedsoftware.com/tuxpaint/ |