Commit Graph

34 Commits

Author SHA1 Message Date
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
Henrik Rydgard
51f352ee26 Delete unused code in DSoundStream, fix system_getpropertyint for iOS 2015-01-11 19:30:25 +01:00
Henrik Rydgard
1b055fd07e Make the sample rate queryable as a sysprop 2015-01-11 14:18:40 +01:00
Henrik Rydgard
cac7a2feed Add a sample rate parameter to DSound, clean it up a bit 2015-01-11 14:11:09 +01:00
Henrik Rydgard
38609f3e6b Cleam up thread names a bit, name the Main thread.
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Peter Tissen
9b9ba165e0 move direct sound specific behavior into the actual direct sound function instead of into an ifdef 2013-11-04 18:29:49 +01:00
Unknown W. Brackets
8ec2131795 Don't double close the dsound thread. 2013-10-12 23:19:56 -07:00
Unknown W. Brackets
a349ef0f52 Might as well mutex here to be safe. 2013-10-12 23:10:32 -07:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Henrik Rydgard
87e51a5c04 Fix some window title issues, etc. 2013-08-20 17:21:25 +02:00