* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Actually pass ioctl argument to

_ioctl.
This commit is contained in:
Christopher Faylor 2014-03-20 02:23:32 +00:00
parent a44aa06b18
commit 96cff0c274
2 changed files with 8 additions and 3 deletions

View File

@ -1,10 +1,15 @@
2014-03-19 Christopher Faylor <me.cygwin2014@cgf.cx>
* fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Actually pass ioctl
argument to _ioctl.
2014-03-19 Christopher Faylor <me.cygwin2014@cgf.cx>
* fhandler.h (fhandler_dev_dsp): Remove variable names from
declarations.
(fhandler_dev_dsp::close_audio_in): Make __reg1.
(fhandler_dev_dsp::close_audio_out): Make __reg2.
* fhandler_dev_dsp.cc (fhandler_dev_dsp::close_audio_in): Make __reg1.
* fhandler_dsp.cc (fhandler_dev_dsp::close_audio_in): Make __reg1.
(fhandler_dev_dsp::close_audio_out): Make __reg2.
(fhandler_dev_dsp::close): Don't abruptly terminate sound just because
we are exiting.

View File

@ -1018,9 +1018,9 @@ fhandler_dev_dsp::read (void *ptr, size_t& len)
}
int
fhandler_dev_dsp::ioctl (unsigned int cmd, void *)
fhandler_dev_dsp::ioctl (unsigned int cmd, void *buf)
{
return base ()->_ioctl (cmd, NULL);
return base ()->_ioctl (cmd, buf);
}
void