Re: [Plib-users] i810_audio with oss?
Brought to you by:
sjbaker
From: ovrundr <ov...@ya...> - 2003-02-22 16:25:25
|
--- Chris Jewell <vs0...@li...> wrote: > I have an SIS7012 soundcard in my machine running RedHat 8.0 that > uses the > i810_audio driver together with the AC97_codec module. I am trying > to get > sound in FlightGear > > Many thanks, > > Chris Jewell I have a Realtek ALC650 with a AC'97 chipset that uses the same drivers. I've done a little debug and found the following: in slDSP::open stereo = ioctl ( SOUND_PCM_WRITE_CHANNELS, _stereo ? 2 : 1 ) >= 2 ; bps = ioctl ( SOUND_PCM_WRITE_BITS, _bps ) ; input values: SOUND_PCM_WRITE_CHANNELS = -1073459194 SOUND_PCM_WRITE_BITS = -1073459195 _stereo = 1 _bps = 8 return value from stereo = 2 return value from bps = 16 Which leads to: if ( getBps() != 8 ) slScheduler: Needs a sound card that supports 8 bits per sample. and if ( getStereo()) slScheduler: Needs a sound card that supports monophonic replay. Don't know if this driver will not handle 8 bit mono or maybe the ioctl call is using wrong values. Does anyone know the answer or where I can go next to debug futher? Rick ===== __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |