Andreas wrote: > Im trying to play this old game, Terminus, with alsa-0.9.2 with > OSS emulation but to no avail. With the OSS driver it works. > > With alsa, it starts like this: > $ terminus > Opened /dev/dsp for writing. > Opened /dev/dsp for reading. > Set 16 bits > Info 123: Set stereo sound > Set 44100Hz audio > mixing 4/1024 > > It just hangs there. Stracing that process, I get lots of: > (...) > ioctl(19, SNDCTL_DSP_GETISPACE, 0xbf7ffacc) = 0 > write(19, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 > ioctl(19, SNDCTL_DSP_GETISPACE, 0xbf7ffacc) = 0 > write(19, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 > ioctl(19, SNDCTL_DSP_GETISPACE, 0xbf7ffacc) = 0 > write(19, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 > ioctl(19, SNDCTL_DSP_GETISPACE, 0xbf7ffacc) = 0 > write(19, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 > ioctl(19, SNDCTL_DSP_GETISPACE, 0xbf7ffacc) = 0 > write(19, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096 > (...) > > Any idea what this means?
It's writing sample data (0 = silence) to /dev/dsp. As long as these calls continue, it should work just fine. Are you sure you have unmuted and raised all relevant mixer controls? HTH Clemens ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user