setfragment patch for sound device

Christopher Faylor cgf@redhat.com
Thu Sep 11 15:23:00 GMT 2003


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 device upon SNDCTL_DSP_RESET.
> - Uses win32 event to signal buffer output completion, instead of only a delay
> 
> I have only tested my own proprietary application. It compiled and ran without change, so,
> of course, has to be buggy.

Thanks for the patch, but AFAICT, you don't have an assignment on file,
so we can't include this in cygwin.  Check out
http://cygwin.com/contrib.html under the "Before you get started" section
for a link to the assignment form (aka http://cygwin.com/assign.txt).

cgf



More information about the Cygwin-patches mailing list