Commit Graph

58 Commits

Author SHA1 Message Date
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
DrChat
aaf281351d Format all code with new clang-format 2017-12-14 20:44:43 -06:00
Ben Vanik
952d35911c Folding build_tools back into the main repo for simplicity. 2015-12-30 16:53:14 -08:00
Ben Vanik
00240945fe Cleanup for the latest clang-format version. 2015-12-03 19:52:02 -08:00
sephiroth99
f4dae2335c premake: Small fixes to various premake files
In particular, add the "src" group to apu/xaudio2 project, which was
missing.
2015-11-28 01:53:26 -05:00
Ben Vanik
1956b8708e Fixing include orders and whitelisting others.
Will be broken until clang SVN 253772 is available on travis/snapshots.
2015-11-21 11:34:46 -08:00
Dr. Chat
3d684ac304 Fixup the premake files 2015-08-29 22:04:12 -05:00
Dr. Chat
f2b2a22687 Add gflags to projects that need it only 2015-08-29 21:16:57 -05:00
Ben Vanik
19299fad4b Removing apu/ deps on Emulator. 2015-08-18 10:54:56 -07:00
Ben Vanik
5e08889d93 More style cleanup. 2015-08-06 20:17:01 -07:00
Ben Vanik
e0eb85bbbc Switching to premake. Probably with disasterous consequences. 2015-07-18 16:00:01 -07:00
Ben Vanik
ecd4af10c9 Fixing some clang warnings/errors. 2015-07-15 23:26:58 -07:00
Ben Vanik
a6012b73f4 Switching audio system to platform-agnostic primitives. 2015-07-14 23:13:56 -07:00
Ben Vanik
72ad899e9e Starting to remove windows.h includes from things. 2015-07-13 20:49:29 -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
Dr. Chat
0bbaedae22 Fix release-mode audio 2015-06-20 19:50:24 -05: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
Ben Vanik
8dc20eb5cd Scaling audio playback frequency with clock time scaling. 2015-06-09 20:14:33 -07:00
gibbed
a2ed902980 Removed a debug line in XAudio2 audio driver. 2015-05-25 14:29:13 -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
986534d448 Adding --mute. 2015-05-15 23:34:00 -07:00
Ben Vanik
7a00b76a6e Debugger stuff, and changing to vcproj's/sln. 2015-05-09 17:48:12 -07:00
Ben Vanik
d1ee1512b9 Fixing most clang-format errors. 2015-05-03 10:27:50 -07:00
Ben Vanik
e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -07: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
45b2d2ceea Fixing xaudio2 memory type. 2015-03-29 11:26:16 -07:00
Ben Vanik
ec84a688e9 Starting to properly attribute virtual vs. physical memory accesses. 2015-03-29 11:11:35 -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
Ben Vanik
a4141e84ce Sigh. 2014-11-08 11:38:07 -08:00
Ben Vanik
c59d053404 unique_ptr'ing things and removing some XECLEANUP. 2014-08-20 23:26:46 -07:00
Ben Vanik
187d0ad277 Removing XESAFERELEASE. 2014-08-16 17:33:24 -07:00
Ben Vanik
ec4f41fec4 Moving byte order/memory access to poly. 2014-07-17 19:20:17 -07:00
Ben Vanik
bf882714d0 Cleaning up asserts and file/line macros. 2014-07-12 16:51:52 -07:00
Ben Vanik
997f582d1f Removing useless counters. 2014-05-28 20:32:50 -07:00
Ben Vanik
c1812406f5 Adding a bunch of profiling tracers. 2014-05-28 19:19:39 -07:00
gibbed
2f8f893977 Don't need to create the mastering voice with with an explicit number of channels or sample rate. 2014-01-25 04:50:47 -08:00
gibbed
47c71d702a Audio system overhaul for support of multiple audio drivers. 2014-01-25 03:18:22 -08:00
gibbed
40178cb22d Minor changes to APU. 2014-01-18 06:06:34 -08:00
Ben Vanik
81226db1b4 Fixing broken instruction decoding. 2014-01-13 23:24:28 -08:00
gibbed
e1bb5bc860 Oops. 2014-01-13 02:49:30 -08:00
gibbed
c1b71ce1db Merge branch 'master' of https://github.com/benvanik/xenia
Conflicts:
	src/xenia/apu/xaudio2/xaudio2_audio_system.cc
2014-01-13 02:46:50 -08:00
gibbed
f47ebb5010 More XAudio2 junk. 2014-01-13 02:45:18 -08:00
Ben Vanik
6f09c12bc2 Creating mastering voice with the right params. 2014-01-13 01:06:30 -08:00
gibbed
24e857cc03 Small fix to waveformat. 2014-01-13 01:00:06 -08:00
Ben Vanik
dccdc00735 Tweaking audio params. 2014-01-13 00:45:09 -08:00
Ben Vanik
133cbedad8 Replacing exit with assert, as exits are hard to find. 2014-01-13 00:33:40 -08:00