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
2e540193
Commit
2e540193
authored
Nov 13, 2010
by
Jörg Höhle
Committed by
Alexandre Julliard
Nov 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio: OSStatus is not necessarily a FOURCC.
parent
29692adf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
coreaudio.h
dlls/winecoreaudio.drv/coreaudio.h
+4
-1
No files found.
dlls/winecoreaudio.drv/coreaudio.h
View file @
2e540193
...
...
@@ -32,10 +32,13 @@ extern LONG CoreAudio_MixerInit(void);
extern
void
CoreAudio_MixerRelease
(
void
);
/* fourcc is in native order, where MSB is the first character. */
static
inline
const
char
*
wine_dbgstr_fourcc
(
unsigned
long
fourcc
)
static
inline
const
char
*
wine_dbgstr_fourcc
(
INT32
fourcc
)
{
char
buf
[
4
]
=
{
(
char
)
(
fourcc
>>
24
),
(
char
)
(
fourcc
>>
16
),
(
char
)
(
fourcc
>>
8
),
(
char
)
fourcc
};
/* OSStatus is a signed decimal except in parts of CoreAudio */
if
((
buf
[
0
]
<
32
)
||
(
buf
[
1
]
<
32
)
||
(
buf
[
2
]
<
32
)
||
(
buf
[
3
]
<
32
))
return
wine_dbg_sprintf
(
"%d"
,
fourcc
);
return
wine_dbgstr_an
(
buf
,
sizeof
(
buf
));
}
...
...
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