Re: [Alsa-devel] bug/feature in OSS-emulation (0.9b8)

2001-10-09 Thread Jaroslav Kysela
On Tue, 9 Oct 2001, Kai Vehmanen wrote: > You have /dev/dsp opened for playback. Then: > > int enable_bits = ~PCM_ENABLE_OUTPUT; /* disables playback */ > ioctl(audio_fd, SNDCTL_DSP_SETTRIGGER, &enable_bits) == -1) > > ... next you start writing data to the device, but forge

Re: [Alsa-devel] bug/feature in OSS-emulation (0.9b8)

2001-10-09 Thread Kai Vehmanen
On Tue, 9 Oct 2001, Kai Vehmanen wrote: > ). Now this causes a more-or-less complete system-freeze (SMP, user > priviledges). The latest ecasound development version (2.1dev0) failed to A minor correction, bug also happens on non-SMP machines. I meant to say that the nature of the system-freeze

[Alsa-devel] bug/feature in OSS-emulation (0.9b8)

2001-10-09 Thread Kai Vehmanen
You have /dev/dsp opened for playback. Then: int enable_bits = ~PCM_ENABLE_OUTPUT; /* disables playback */ ioctl(audio_fd, SNDCTL_DSP_SETTRIGGER, &enable_bits) == -1) ... next you start writing data to the device, but forget to ever issue the actual trigger call (ie. int