Re: OSS/Free /dev/audio full duplex sound format.

From: Dave Mielke (dave@mielke.cc)
Date: Tue May 23 2000 - 07:03:25 EST


[quoted lines by paco@hydrofunk.org on May 22, 2000, at 15:29]

>As for why it switched on you in the first place... I have no idea.

I'm using the 2.2.12-20 kernel, as suplied by RedHat6.1, and the OSS/Free
drivers which it contains. If I open /dev/audio just for input (O_RDONLY), then
it delivers sound in mu_law format. If I open it just for output (O_WRONLY),
then it interprets sound in mu_law format. If I open it for both input and
output (O_RDWR), then it delivers sound in mu_law format, but, and this is my
problem, it interprets sound in unsigned 8-bit format (as though it were
/dev/dsp). My /etc/conf.modules contains the following:

   alias sound sb
   alias midi awe_wave
   options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
   pre-install sound insmod sound dmabuf=1
   pre-install awe_wave modprobe opl3
   options opl3 io=0x388
   post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2

Have I done anything wrong? Is it probably a bug in the sound driver, or might
the dmabuf=1 option to the sound module have something to do with it?

-- 
Dave Mielke           | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave@mielke.cc | Canada  K2B 6G3   | if you're concerned about Hell.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:23 EST