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
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
Unknown W. Brackets
342bad8402
Fix audio crash on shutdown, log thread names more.
2013-08-18 23:25:14 -07:00
Unknown W. Brackets
6e8cbd19cc
Fix some NULL handle usage.
2013-08-13 08:03:13 -07:00
Unknown W. Brackets
97098f109a
Use CommonWindows.h from Windows/ too.
...
Might as well. Everything still builds fine.
2013-07-28 21:04:20 -07:00
The Dax
32bedefe20
Windows: Make DirectSound buffer global to allow sound to be played, even if other applications like Steam are brought to the foreground.
2013-06-20 12:50:10 -04:00
aquanull
bb5fce600e
Fix/prevent crashes when MainWindow is closed before LoadFile() completes, or when it gets certain messages before TheThread completes initialization.
...
Fix missing ppsspp.ini loading log (only 1 unimportant line though).
Fix loading ui_atlas.zim failure when [General]Browse = True is set in ppsspp.ini.
Some other minor fixes as well.
2013-06-15 13:06:43 +08:00
Unknown W. Brackets
3cd391c3e2
Fix crashes / bad errors when loading a file fails.
2013-05-12 19:51:16 -07:00
oioitff
a99d86d43f
Fix sound noise for PC.
2013-05-11 03:36:28 +08:00
Unknown W. Brackets
aca5e8e42f
iOS: fix significant audio stutter.
2013-03-17 11:32:57 -07:00
Henrik Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00