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
3076d37a
Commit
3076d37a
authored
Aug 13, 2020
by
Biswapriyo Nath
Committed by
Alexandre Julliard
Aug 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/xaudio2.idl: Use cpp_quote for xaudio2 error codes.
Signed-off-by:
Biswapriyo Nath
<
nathbappai@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4ee67e19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
xaudio2.idl
include/xaudio2.idl
+8
-7
No files found.
include/xaudio2.idl
View file @
3076d37a
...
@@ -1243,15 +1243,16 @@ const UINT32 XAUDIO2_QUANTUM_NUMERATOR = 1;
...
@@ -1243,15 +1243,16 @@ const UINT32 XAUDIO2_QUANTUM_NUMERATOR = 1;
const
UINT32
XAUDIO2_QUANTUM_DENOMINATOR
=
100
;
const
UINT32
XAUDIO2_QUANTUM_DENOMINATOR
=
100
;
const
float
XAUDIO2_QUANTUM_MS
=
(
1000.0
*
XAUDIO2_QUANTUM_NUMERATOR
/
XAUDIO2_QUANTUM_DENOMINATOR
)
;
const
float
XAUDIO2_QUANTUM_MS
=
(
1000.0
*
XAUDIO2_QUANTUM_NUMERATOR
/
XAUDIO2_QUANTUM_DENOMINATOR
)
;
const
HRESULT
XAUDIO2_E_INVALID_CALL
=
0
x88960001
;
/*
use
cpp_quote
to
retain
the
HRESULT
type
in
header
file
*/
const
HRESULT
XAUDIO2_E_XMA_DECODER_ERROR
=
0
x88960002
;
cpp_quote
(
"#define XAUDIO2_E_INVALID_CALL ((HRESULT)0x88960001)"
)
const
HRESULT
XAUDIO2_E_XAPO_CREATION_FAILED
=
0
x88960003
;
cpp_quote
(
"#define XAUDIO2_E_XMA_DECODER_ERROR ((HRESULT)0x88960002)"
)
const
HRESULT
XAUDIO2_E_DEVICE_INVALIDATED
=
0
x88960004
;
cpp_quote
(
"#define XAUDIO2_E_XAPO_CREATION_FAILED ((HRESULT)0x88960003)"
)
cpp_quote
(
"#define XAUDIO2_E_DEVICE_INVALIDATED ((HRESULT)0x88960004)"
)
/*
xaudio
2.0
error
codes
*/
/*
xaudio
2.0
error
codes
*/
c
onst
HRESULT
XAUDIO20_E_XMA_DECODER_ERROR
=
0
x88960001
;
c
pp_quote
(
"#define XAUDIO20_E_XMA_DECODER_ERROR ((HRESULT)0x88960001)"
)
c
onst
HRESULT
XAUDIO20_E_XAPO_CREATION_FAILED
=
0
x88960002
;
c
pp_quote
(
"#define XAUDIO20_E_XAPO_CREATION_FAILED ((HRESULT)0x88960002)"
)
c
onst
HRESULT
XAUDIO20_E_DEVICE_INVALIDATED
=
0
x88960003
;
c
pp_quote
(
"#define XAUDIO20_E_DEVICE_INVALIDATED ((HRESULT)0x88960003)"
)
cpp_quote
(
"#ifdef XAUDIO2_HELPER_FUNCTIONS"
)
cpp_quote
(
"#ifdef XAUDIO2_HELPER_FUNCTIONS"
)
cpp_quote
(
"#define _USE_MATH_DEFINES"
)
cpp_quote
(
"#define _USE_MATH_DEFINES"
)
...
...
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