Commit Graph

19 Commits

Author SHA1 Message Date
Hendi
5a76cac218 [APU] Refactor audio system to work with different frequencies/channel layouts 2024-10-23 22:04:47 +02:00
Triang3l
0846cc026d [APU] Manage XAudio 2.8 lifecycle in MTA thread + error handling cleanup 2021-12-12 17:05:01 +03:00
Triang3l
6ce5330f5f [UI] Loop thread to main thread WindowedAppContext 2021-08-28 19:38:24 +03:00
Triang3l
1bb3cd45ca [APU] Support XAudio 2.7 2019-11-02 22:27:38 +03:00
Triang3l
76c14f7e58 [APU] Load XAudio2_8.dll dynamically 2018-10-23 23:34:41 +03:00
Dr. Chat
25206be1aa [APU] Handle XAudio2 initialization failures 2018-05-08 17:39:33 -05:00
Ben Vanik
19299fad4b Removing apu/ deps on Emulator. 2015-08-18 10:54:56 -07:00
Ben Vanik
a6012b73f4 Switching audio system to platform-agnostic primitives. 2015-07-14 23:13:56 -07:00
Ben Vanik
dec0d12cc9 Replacing includes of windows headers with base/platform.h. 2015-07-01 09:02:04 -07:00
Ben Vanik
8c69a4df09 Cleaning up apu/ and renaming -private files to _flags.
Part of #296.
2015-06-27 11:25:56 -07:00
gibbed
edbd724370 - Fixed a few bugs with ringbuffer, and some cleanup.
- Reworked audio system to use semaphores instead of events for waiting.
  Should fix rare issues where the XAudio2 driver would run out of buffers
  even though it was supposed to be guarded against that.
2015-06-19 21:48:51 -05:00
gibbed
8a5d3526e5 Pump audio faster, up to XAUDIO2_MAX_QUEUED_BUFFERS (64) frames, then wait. 2015-05-25 02:49:49 -05:00
Ben Vanik
30f7effa73 Code cleanup: removing common.h 2015-05-02 01:25:59 -07:00
Ben Vanik
6d8a226d7f Code cleanup. 2015-03-29 11:27:33 -07:00
Ben Vanik
00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
Ben Vanik
a0eebf8898 Removing old run loop/ref/core/etc. 2014-12-31 19:26:51 -08:00
gibbed
47c71d702a Audio system overhaul for support of multiple audio drivers. 2014-01-25 03:18:22 -08:00
Ben Vanik
20ad328e4a Removing AudioDriver. 2014-01-13 00:05:08 -08:00
gibbed
edb1633fc9 XAudio2 APU stub. 2014-01-12 23:23:55 -08:00