* fhandler_dsp.cc (ioctl): Use _ioctl for recursive call.
This commit is contained in:
parent
179e25f0df
commit
b0aa67c40e
|
@ -1,3 +1,7 @@
|
||||||
|
2014-05-02 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
|
* fhandler_dsp.cc (ioctl): Use _ioctl for recursive call.
|
||||||
|
|
||||||
2014-04-26 Christopher Faylor <me.cygwin2014@cgf.cx>
|
2014-04-26 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
* DevNotes: Add entry cgf-000026.
|
* DevNotes: Add entry cgf-000026.
|
||||||
|
|
|
@ -1303,7 +1303,7 @@ fhandler_dev_dsp::_ioctl (unsigned int cmd, void *buf)
|
||||||
CASE (SNDCTL_DSP_STEREO)
|
CASE (SNDCTL_DSP_STEREO)
|
||||||
{
|
{
|
||||||
int nChannels = *intbuf + 1;
|
int nChannels = *intbuf + 1;
|
||||||
int res = ioctl (SNDCTL_DSP_CHANNELS, &nChannels);
|
int res = _ioctl (SNDCTL_DSP_CHANNELS, &nChannels);
|
||||||
*intbuf = nChannels - 1;
|
*intbuf = nChannels - 1;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue