This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Patch for /dev/dsp to make ioctl SNDCTL_DSP_RESET respond immediately
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: "'cygwin-patches at cygwin dot com'" <cygwin-patches at cygwin dot com>
- Date: Tue, 13 Apr 2004 11:41:09 +0200
- Subject: Re: Patch for /dev/dsp to make ioctl SNDCTL_DSP_RESET respond immediately
- References: <01C42018.B589D6F0.Gerd.Spalink@t-online.de>
- Reply-to: cygwin-patches at cygwin dot com
On Apr 11 22:59, Gerd Spalink wrote:
> ChangeLog for winsup/cygwin:
>
> 2004-04-11 Gerd Spalink <Gerd.Spalink@t-online.de>
> * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Add optional boolean
> argument so that playing can be stopped without playing pending buffers.
> (fhandler_dev_dsp::ioctl): Stop playback immediately for SNDCTL_DSP_RESET.
> Do not reset audio parameters in this case.
> Add support for ioctl SNDCTL_DSP_GETISPACE.
> (fhandler_dev_dsp::Audio_out::emptyblocks): Now returns the number of
> completely empty blocks.
> (fhandler_dev_dsp::Audio_out::buf_info): p->fragments is now the number of
> completely empty blocks. This conforms with the OSS specification.
> (fhandler_dev_dsp::Audio_out::parsewav): Ignore wave headers that are not
> aligned on four byte boundary.
> (fhandler_dev_dsp::Audio_in::buf_info): New, needed for SNDCTL_DSP_GETISPACE.
>
> ChangeLog for winsup/testsuite:
>
> 2004-04-11 Gerd Spalink <Gerd.Spalink@t-online.de>
> * winsup.api/devdsp.c (forkrectest): Move synchronization with child
> so that test passes also under high CPU load.
> (forkplaytest): Ditto.
> (abortplaytest): New function to test ioctl code SNDCTL_DSP_RESET.
Appiled. Just, for the next time, please make sure that the ChangeLog
fits into 80 columns.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.