Hello, My Alsa OSS emulation isn't working and I don't know where to begin to try to diagnose the problem. All appropriate kernel modules seem to be installed and all necessary support libraries seem to be present (see below for versions). When an OSS sound app tries to play sound, it freezes and sometimes returns an error similar to the following (for a game using SDL OSS interface):
"SDL: Audio timeout - buggy audio driver? (disabled) audio: Bad file descriptor" When I exeucte "aplay testsound.wav" it plays find, but "strace -f play testsound.wav": hangs: . . . [pid 16226] open("testsound.wav", O_RDONLY) = 3 [pid 16226] fstat64(3, {st_mode=S_IFREG|0644, st_size=1411244, ...}) = 0 [pid 16226] fstat64(3, {st_mode=S_IFREG|0644, st_size=1411244, ...}) = 0 [pid 16226] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 [pid 16226] read(3, "RIFF\244\210\25\0WAVEfmt \20\0\0\0\1\0\1\0D\254\0\0\210"..., 4096) = 4096 [pid 16226] _llseek(3, 0, [0], SEEK_SET) = 0 [pid 16226] read(3, "RIFF\244\210\25\0WAVEfmt \20\0\0\0\1\0\1\0D\254\0\0\210"..., 4096) = 4096 [pid 16226] _llseek(3, 4096, [4096], SEEK_SET) = 0 [pid 16226] _llseek(3, 1409024, [1409024], SEEK_SET) = 0 [pid 16226] read(3, "P\20\341\17\351\16\222\r\37\f,\v;\v\33\f\0\r]\rC\r\377"..., 4096) = 2220 [pid 16226] read(3, "", 4096) = 0 [pid 16226] _llseek(3, 0, [0], SEEK_SET) = 0 [pid 16226] read(3, "RIFF\244\210\25\0WAVEfmt \20\0\0\0\1\0\1\0D\254\0\0\210"..., 44) = 44 [pid 16226] open("/dev/dsp", O_WRONLY|O_CREAT|O_TRUNC, 0666 [never returns] Can anyone suggest a way to identify the problem? Native Alsa apps work great. OSS emulation has worked in the past. Here are the version details: # lsmod | grep snd snd-seq-oss 31232 0 snd-seq-midi-event 7552 1 snd-seq-oss snd-seq 51024 4 snd-seq-oss,snd-seq-midi-event snd-pcm-oss 51812 0 snd-mixer-oss 17952 1 snd-pcm-oss snd-intel8x0 32776 0 snd-ac97-codec 58148 1 snd-intel8x0 gameport 4480 1 snd-intel8x0 snd-mpu401-uart 7072 1 snd-intel8x0 snd-usb-audio 64672 0 snd-rawmidi 23616 2 snd-mpu401-uart,snd-usb-audio snd-seq-device 8008 3 snd-seq-oss,snd-seq,snd-rawmidi snd-pcm 93156 3 snd-pcm-oss,snd-intel8x0,snd-usb-audio snd-page-alloc 11972 2 snd-intel8x0,snd-pcm snd-timer 24484 2 snd-seq,snd-pcm snd 52484 13 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-mpu401-uart,snd-usb-audio,snd-rawmidi,snd-seq-device,snd-pcm,snd-timer soundcore 9248 3 snd,audio usbcore 99132 7 hid,snd-usb-audio,pwc,audio,uhci-hcd # cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.2c (Thu Feb 05 15:41:49 2004 UTC). Compiled on Mar 2 2004 for kernel 2.6.3-4mdk. # rpm -qa | grep libalsa-oss libalsa-oss0-devel-1.0.2-3mdk libalsa-oss0-1.0.2-3mdk Should I get off the bleeding edge? Thanks! Rich Drewes ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user