Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a9d2fb8e
Commit
a9d2fb8e
authored
Feb 09, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Feb 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a problem on BSD.
Fixed a trace.
parent
6d5ba7d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
audio.c
dlls/winmm/wineoss/audio.c
+3
-1
No files found.
dlls/winmm/wineoss/audio.c
View file @
a9d2fb8e
...
@@ -589,7 +589,7 @@ static BOOL OSS_WaveOutInit(OSS_DEVICE* ossdev)
...
@@ -589,7 +589,7 @@ static BOOL OSS_WaveOutInit(OSS_DEVICE* ossdev)
*/
*/
int
oss_mask
,
oss_caps
;
int
oss_mask
,
oss_caps
;
ioctl
(
ossdev
->
fd
,
SNDCTL_DSP_GETFMTS
,
&
oss_mask
);
ioctl
(
ossdev
->
fd
,
SNDCTL_DSP_GETFMTS
,
&
oss_mask
);
TRACE
(
"OSS dsp out mask=%08x
\n
"
,
oss_mask
);
TRACE
(
"OSS dsp out mask=%08x
(
"
,
oss_mask
);
if
(
oss_mask
&
AFMT_MU_LAW
)
TRACE
(
"AFMT_MU_LAW "
);
if
(
oss_mask
&
AFMT_MU_LAW
)
TRACE
(
"AFMT_MU_LAW "
);
if
(
oss_mask
&
AFMT_A_LAW
)
TRACE
(
"AFMT_A_LAW "
);
if
(
oss_mask
&
AFMT_A_LAW
)
TRACE
(
"AFMT_A_LAW "
);
if
(
oss_mask
&
AFMT_IMA_ADPCM
)
TRACE
(
"AFMT_IMA_ADPCM "
);
if
(
oss_mask
&
AFMT_IMA_ADPCM
)
TRACE
(
"AFMT_IMA_ADPCM "
);
...
@@ -614,7 +614,9 @@ static BOOL OSS_WaveOutInit(OSS_DEVICE* ossdev)
...
@@ -614,7 +614,9 @@ static BOOL OSS_WaveOutInit(OSS_DEVICE* ossdev)
#ifdef DSP_CAP_MULTI
#ifdef DSP_CAP_MULTI
TRACE
(
"
\t
Multi: %s
\n
"
,
oss_caps
&
DSP_CAP_MULTI
?
"true"
:
"false"
);
TRACE
(
"
\t
Multi: %s
\n
"
,
oss_caps
&
DSP_CAP_MULTI
?
"true"
:
"false"
);
#endif
#endif
#ifdef DSP_CAP_BIND
TRACE
(
"
\t
Bind: %s
\n
"
,
oss_caps
&
DSP_CAP_BIND
?
"true"
:
"false"
);
TRACE
(
"
\t
Bind: %s
\n
"
,
oss_caps
&
DSP_CAP_BIND
?
"true"
:
"false"
);
#endif
}
}
/* We must first set the format and the stereo mode as some sound cards
/* We must first set the format and the stereo mode as some sound cards
...
...
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