Re: [Plib-users] Onboard Sound Support?
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2002-12-31 15:30:13
|
Iaian Babchuk wrote: > I am also having the same sound problem while running the plib sl > examples and FlightGear as originally described by David Giraud. My > onboard sound is on a k7s5a SiS 735 motherboard with a SiS 7012 sound > chip. Sound is compiled into a linux 2.4.20 kernel with a i810_audio > driver. Outside of plib (ie. playing CDs and XFCE window manager sound > module) sound can be heard. Note that I also made sure no other > processes are accessing /dev/dsp or /dev/audio while running the > examples or FlightGear. I put a simple debugging statement in > slScheduler.cxx and found that the bps variable in class slDSP was > equal to 16 and thus raising the following warning "WARNING: > slScheduler: Needs a sound card that supports 8 bits per sample.". Well, as the message says - we request an 8 bit channel - and the card gives us a 16 bit channel. Since the higher levels of the SL library were only written to accomodate 8 bit samples, we are unable to proceed. "Need a sound card that supports 8 bits per sample." ...what part of that message is unclear? I suggest you complain to the author of the OSS driver for that sound chip - it's ludicrous that it should be unable to deliver a simple 8 bit monophonic sound channel. Short of an almost total rewrite of SL, there isn't anything I can do. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |