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
f5554c32
Commit
f5554c32
authored
Apr 05, 2003
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around not implemented ioctl in BSD.
parent
7b007b47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
audio.c
dlls/winmm/wineoss/audio.c
+5
-1
No files found.
dlls/winmm/wineoss/audio.c
View file @
f5554c32
...
...
@@ -278,7 +278,11 @@ static DWORD OSS_RawOpenDevice(OSS_DEVICE* ossdev, int strict_format)
/* turn full duplex on if it has been requested */
if
(
ossdev
->
open_access
==
O_RDWR
&&
ossdev
->
full_duplex
)
{
rc
=
ioctl
(
fd
,
SNDCTL_DSP_SETDUPLEX
,
0
);
if
(
rc
!=
0
)
{
/* on *BSD, as full duplex is always enabled by default, this ioctl
* will fail with EINVAL
* 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
));
goto
error
;
}
...
...
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