An SNDCTL_DSP_SETDUPLEX failure should be a WARN(), not an ERR(),
since the OSS specifications say we have to call it before knowing if the sound card is full-duplex capable.
This commit is contained in:
parent
7ed4451dd4
commit
170dbf4243
|
@ -356,7 +356,7 @@ static DWORD OSS_RawOpenDevice(OSS_DEVICE* ossdev, int strict_format)
|
|||
* so, we don't consider EINVAL an error here
|
||||
*/
|
||||
if (rc != 0 && errno != EINVAL) {
|
||||
ERR("ioctl(%s, SNDCTL_DSP_SETDUPLEX) failed (%s)\n", ossdev->dev_name, strerror(errno));
|
||||
WARN("ioctl(%s, SNDCTL_DSP_SETDUPLEX) failed (%s)\n", ossdev->dev_name, strerror(errno));
|
||||
goto error2;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue