The following patch to the /dev/dsp sound device does the following:
- implements SNDCTL_DSP_SETFRAGMENT, allowing smaller sound buffers to be used.
- trivially implements SNDCTL_DSP_CHANNELS.
- opens and closes the class device upon SNDCTL_DSP_RESET.
- Uses win32 event to signal buffer out
On Thu, Sep 11, 2003 at 12:29:12PM +0800, peter garrone wrote:
>
> The following patch to the /dev/dsp sound device does the following:
>
> - implements SNDCTL_DSP_SETFRAGMENT, allowing smaller sound buffers to be used.
> - trivially implements SNDCTL_DSP_CHANNELS.
> - opens and closes the class d