diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-04-13 09:38:32 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-04-13 09:38:32 +0000 |
commit | 37194b25f6d1228fef067f0d29e75f77fda3cf4b (patch) | |
tree | 34c496a7cdc300b73005269a5850331807c8897f /winsup/testsuite/winsup.api/devdsp.c | |
parent | 825b388289a0feaf41a982c162b93acc5b293e6e (diff) | |
download | cygnal-37194b25f6d1228fef067f0d29e75f77fda3cf4b.tar.gz cygnal-37194b25f6d1228fef067f0d29e75f77fda3cf4b.tar.bz2 cygnal-37194b25f6d1228fef067f0d29e75f77fda3cf4b.zip |
* 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.
Diffstat (limited to 'winsup/testsuite/winsup.api/devdsp.c')
0 files changed, 0 insertions, 0 deletions