Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
170dbf42
Commit
170dbf42
authored
Jul 14, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
audio.c
dlls/winmm/wineoss/audio.c
+1
-1
No files found.
dlls/winmm/wineoss/audio.c
View file @
170dbf42
...
@@ -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
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment