Commit 170dbf42 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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.
parent 7ed4451d
...@@ -356,7 +356,7 @@ static DWORD OSS_RawOpenDevice(OSS_DEVICE* ossdev, int strict_format) ...@@ -356,7 +356,7 @@ static DWORD OSS_RawOpenDevice(OSS_DEVICE* ossdev, int strict_format)
* so, we don't consider EINVAL an error here * so, we don't consider EINVAL an error here
*/ */
if (rc != 0 && errno != EINVAL) { 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; goto error2;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment