Commit graph

21 commits

Author SHA1 Message Date
Biswapriyo Nath
a34267e87e include: Add IXAudio2Extension in xaudio2.idl.
Required for rpcs3 project.
2023-08-14 17:53:17 +02:00
Biswapriyo Nath
26e72a7580 include: Add missing default value in IXAudio2.
This was removed in 14c44d0b0a commit.
2023-08-04 18:07:42 +09:00
Zebediah Figura
14c44d0b0a xaudio2: Use the preprocessor to modify definitions in xaudio2.idl and xaudio2fx.idl.
Instead of including the IDLs directly, define a local IDL that #includes them,
with XAUDIO2_VER defined, and include that generated header.

Get rid of compat.c, and use XAUDIO2_VER to modify the code in the other source
files.

Build the tests for both xaudio2_7 and xaudio2_8 using PARENTSRC, and use
XAUDIO2_VER to select between them. This mirrors the approach taken for
d3dcompiler, and makes it easier to test more xaudio2 versions in the future.
2023-06-07 22:48:27 +02:00
Zebediah Figura
fae48444af include: Use hexadecimal constants for XAudio flags. 2023-03-23 16:44:34 +01:00
Biswapriyo Nath
3076d37af8 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>
2020-08-19 22:35:58 +02:00
Ethan Lee
b49b78db49 xaudio2: IXAudio23 needs its own interface, for XAUDIO23_VOICE_SENDS parameters.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46727
Signed-off-by: Ethan Lee <elee@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:30 +01:00
Andrew Eikum
a235530ac5 xaudio2: Fix XAUDIO2_VOICE_SENDS usage before version 2.4.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:05:33 +02:00
Andrew Eikum
e733770416 xaudio2: Implement GetVoiceDetails for source and submix voices.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-02 13:25:10 +09:00
Andrew Eikum
121a69e028 xaudio2_9: Add xaudio2_9.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 14:48:37 +09:00
Andrew Eikum
4ad4c61100 xaudio2: Explicitly version the 2.7 coclasses.
In versions 2.8 and later, no coclasses are provided by the API, so we
should version the old ones to make it clear they're out of date.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 16:05:02 +09:00
Andrew Eikum
4185cc7a94 xaudio2_0: Add compatibility implementation and forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 12:53:49 +09:00
Andrew Eikum
24a371c9d6 xaudio2_1: Forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
2015-10-06 17:21:00 +09:00
Andrew Eikum
831095ed93 xaudio2_2: Add compatibility implementation and forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
2015-10-06 17:21:00 +09:00
Andrew Eikum
7d7b1176da xaudio2_6: Forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
2015-10-06 00:01:56 +09:00
Andrew Eikum
c4f49ac965 xaudio2_5: Forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
2015-10-06 00:01:55 +09:00
Andrew Eikum
a7ae7b47e5 xaudio2_4: Forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
2015-10-06 00:01:55 +09:00
Andrew Eikum
11cb83cf94 xaudio2_3: Add compatibility implementation and forward to xaudio2_7.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
2015-10-06 00:01:55 +09:00
Andrew Eikum
b305000f82 include/xaudio2.idl: Fix struct packing. 2015-09-16 22:11:19 +09:00
Andrew Eikum
d2ae105401 xaudio2: Implement IXAudio2SourceVoice::GetState. 2015-08-28 13:14:40 +09:00
Andrew Eikum
97536c1678 include: Upgrade interface definitions to XAudio2 2.8.
This updates IXAudio2, IXAudio2SourceVoice, and IXAudio2MasteringVoice
to version 2.8. New interfaces are created for breaking changes from
version 2.7. The implementation in dlls/xaudio2_7 is updated to match.
2015-06-17 18:19:51 +09:00
Mark Harmstone
db75d7bf26 include: Add xaudio2.h. 2015-01-06 13:09:07 +01:00