41 Commits

Author SHA1 Message Date
Tony
49bd8d2d27
(XAudio+DSound) Fail instead of crash (#12527) 2021-06-16 15:35:20 +02:00
IAmBoring
88a1379053
XAudio2 threaded creation
COM initialization
2021-01-05 16:10:11 +00:00
twinaphex
6c067d149d (Xaudio) Cleanups 2020-10-03 20:35:50 +02:00
twinaphex
4c0d9bc68d Struct reordering/alignment 2020-08-14 21:19:32 +02:00
twinaphex
c522f97e0f Cleanups 2020-07-31 14:51:46 +02:00
twinaphex
4a9e1e6c7e Revert "Backport"
This reverts commit 685db0503205df8f0b9f04a3e786bb30dbbf707a.
2020-05-11 03:49:27 +02:00
twinaphex
685db05032 Backport
66876fe858
- handles insertion/removal of audio devices for Xaudio2 - hopefully a
callback based approach can be done later
2020-05-11 03:29:01 +02:00
twinaphex
d3bc82d2c3 Header cleanups 2020-03-05 14:12:20 +01:00
twinaphex
fa00cdba20 (Audio) Update 2020-01-03 21:54:09 +01:00
twinaphex
6e6fbc5ad3 (Dsound) Split up dsound_write
(XAudio) Optimize xa_write_nonblock
2020-01-03 14:19:31 +01:00
twinaphex
41e32ea949 (XAudio) If xa->nonblock is true - point write callback to
specialized version of the function
2020-01-02 20:33:21 +01:00
twinaphex
8a4d3f7431 (XAudio 2.8) Audio device selection can now be set 2019-07-26 20:46:11 +02:00
twinaphex
19bdafc355 (DSound/Wasapi/XAudio2) CXX_BUILD fixes 2019-07-26 17:22:21 +02:00
twinaphex
b5d11db53b (XAudio2) Device index selection now works for old
pre-XAudio 2.8 codepath
2019-07-26 17:16:24 +02:00
twinaphex
6b73acee4e (UWP) Buildfix 2019-07-26 04:00:49 +02:00
twinaphex
aa023729d0 (XAudio2) Start adding device list new/free 2019-07-26 03:39:46 +02:00
twinaphex
6da7a0c19a Revert "(Xaudio2) Fix audio device index - since Windows 8, device index"
This reverts commit aeb10505c42c2a581317a7e85ec346a2dacad816.
2019-07-24 05:34:58 +02:00
twinaphex
aeb10505c4 (Xaudio2) Fix audio device index - since Windows 8, device index
for CreateMasteringVoice is of type LPCWSTR instead of UINT32
2019-07-24 04:10:06 +02:00
twinaphex
f3eb48d1f5 Fix MSVC warnings 2019-07-22 20:16:27 +02:00
twinaphex
727d0a1683 (Xaudio2) Optimize xa_write 2019-07-21 15:49:59 +02:00
twinaphex
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex
a6998d593a Update some logs 2019-04-28 05:48:09 +02:00
Huw Pascoe
fed06044c4 silence warnings 2019-04-12 17:32:11 +01:00
krzys-h
0cff7eefa7 Initialize COM only once, globally 2019-01-10 16:48:02 +01:00
twinaphex
ff1ca99748 (MSVC 2017 UWP) Buildfix
(MSVC 2017 UWP) Renaming
2019-01-02 07:27:47 +01:00
krzys-h
9c75b9cb7f Add missing CoUninitialize calls, fix COM initialization problems
It turns out, some of the CoInitialize calls were failing because they
specified conflicting threading models
2019-01-01 17:30:43 +01:00
krzys-h
cc686ba9bc Upgrade XAudio2 headers
XAudio 2.7 was part of the old DirectX SDKs. XAudio 2.8+ is part of the
Windows OS itself (starting from Windows 8). Since UWP lets you access
only libraries that are built-in to the OS, the headers had to be
upgraded to the newer version to get audio support working.
2018-12-28 22:09:30 +01:00
aliaspider
5549b136c2 (msvc) CXX_BUILD + griffin fixes. 2018-02-05 00:25:03 +01:00
twinaphex
7321c6c87a (xaudio) Cleanups 2017-12-25 08:11:10 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex
f1c2800fa4 Don't do implicit memset 2017-09-28 22:34:28 +02:00
twinaphex
61810cfd82 (Xaudio2) Get rid of variadic macros so that it can compile as C89 2017-09-28 17:18:17 +02:00
twinaphex
51cdf5a6d7 Cleanup xaudio.h/xaudio.c 2017-09-28 16:54:09 +02:00
twinaphex
0a29c4711a xaudio file can now compile as both C and C++ 2017-09-28 16:50:30 +02:00
twinaphex
9e56bd2f23 Rename files back to .cpp 2015-04-04 02:36:55 +02:00
twinaphex
c2014087fe Combine xaudio.c and xaudio-c.cpp 2015-04-03 02:29:20 +02:00
twinaphex
e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex
3334e83361 Move Xaudio C interface to audio/drivers 2015-01-13 00:25:01 +01:00
twinaphex
6cdaa4e282 (MSVC) Build fixes 2015-01-12 22:47:12 +01:00
twinaphex
1753430d68 MOve audio drivers to audio/drivers 2015-01-12 05:05:56 +01:00