Henrik Rydgård
828036f87b
WASAPI: Survive switching to a mono device. Fixes #14591
...
It's a little flaky whether it tries to switch or not, but you can at
least use Windows' device selector to switch back and forth.
Should maybe also add an option to not follow the default device... Not
sure.
2021-07-10 01:22:34 +02:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Unknown W. Brackets
e85a8b0f5b
Global: Cleanup class init order warnings.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
f7c96651e6
Listen to WASAPI events
2018-09-30 20:29:44 -07:00
Henrik Rydgård
f8ea364371
Cleanup: Split out the WASAPI code into its own file.
2018-09-30 20:29:39 -07:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
aliaspider
54d9406713
fix mingw and msvc cmake builds.
2018-03-23 03:18:13 +01:00
Unknown W. Brackets
a1f59deafe
Fix some type narrowing warnings and typos.
2017-03-19 07:44:31 -07:00
Henrik Rydgard
fa80cfa4aa
Additional UWP preparations
2017-02-25 09:57:14 +01:00
Henrik Rydgard
f4b1152b00
Pick some safe changes from the android gradle branch (including windows CMake fixes)
2016-12-05 16:52:03 +01:00
Unknown W. Brackets
e0f85a9c6b
Native merge part 1: skip native/ in includes.
2015-09-06 12:19:33 -07:00
Henrik Rydgard
5354f5163a
Show date/time of saves on pause screen. Better WASAPI error checking.
2015-02-01 18:31:51 +01:00
Henrik Rydgard
6420f5f476
Only show the audio backend option on Vista+. Correct the enum order. Init DSound on its thread.
2015-02-01 11:57:11 +01:00
Henrik Rydgard
8a574e5cd2
Do the first CoInitializeEx on the main thread instead of the EmuThread (WASAPI). Fixes #7334
2015-01-15 22:33:20 +01:00
Unknown W. Brackets
f366cab98d
Fix a type comparison warning.
2015-01-15 12:27:01 -08:00
Henrik Rydgard
e349ec2960
Some missing de-init
2015-01-13 20:51:58 +01:00
Henrik Rydgard
5f30bba5c9
WASAPI: Exit the audio thread the recommended way to avoid pops and clicks
2015-01-12 21:34:17 +01:00
Henrik Rydgard
0493d8154a
WASAPI audio: Try to do something non-crazy for non-stereo audio streams.
...
Should really do a proper surround matrix but let's try this for now..
2015-01-12 20:57:13 +01:00
Henrik Rydgard
091593f0c9
WASAPI audio: Fix reporting, and blindly try to add PCM16 support, in case that would come up.
...
May help #7323 ?
2015-01-12 20:24:55 +01:00
Unknown W. Brackets
4705a2568e
Convert s16->float using SSE2.
2015-01-11 14:31:21 -08:00
Henrik Rydgard
8b97669f01
Cleanup
2015-01-11 23:19:49 +01:00
Henrik Rydgard
3381df4e04
Add a WASAPI audio backend, use it automatically on Vista+. Reduces audio latency on Windows.
2015-01-11 21:44:31 +01:00
Henrik Rydgard
c8dfcd5e74
Prepare for interchangable Windows audio backends
2015-01-11 21:00:56 +01:00