Ben Vanik
72ad899e9e
Starting to remove windows.h includes from things.
2015-07-13 20:49:29 -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
Ben Vanik
fb1f4906d9
xb format --all (we are now format clean). Buildbot will yell at you.
2015-06-22 22:26:51 -07:00
gibbed
021b5a3d17
Moved the XMA decoder out of AudioSystem and into its own world (plus minor code cleanup in the process).
2015-06-21 02:25:24 -05:00
gibbed
736dba5aca
Fixed bit size of input_buffer_read_offset in XMAContextData.
2015-06-21 00:24:02 -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
gibbed
f3547a832f
Removed XMAContextData::kSize constant, moved kXmaContextCount, changes to use newer ringbuffer, cleaned up XMAInitializeContext a bit (with fixes for loop_data handling).
2015-06-19 09:54:21 -05:00
Dr. Chat
826609cd60
Cleanup some audio system code.
2015-06-03 11:14:10 -05:00
Ben Vanik
40a6a12800
Attempting to inline a lot of MMIO operations. Works for GPU stuff mainly.
2015-06-02 20:15:43 -07:00
Dr. Chat
e20aa16b59
Cleanup audio system code
2015-06-02 10:12:13 -05:00
Dr. Chat
77e245dc51
Fix audio decoding.
2015-06-02 00:45:00 -05:00
Dr. Chat
93763c166f
input_buffer_*_block_count -> input_buffer_*_packet_count
2015-06-02 00:44:59 -05:00
Dr. Chat
fb787d4737
XMA context.kicked flag
2015-05-28 22:09:04 -05:00
Ben Vanik
e419d314b3
Audio now works a bit better, but is still broken :/
2015-05-28 02:15:30 -07:00
Ben Vanik
a93325434a
Minor audio tweeks + profiling.
2015-05-28 00:19:17 -07:00
Ben Vanik
f5a2b85d42
Switching to xe::mutex.
2015-05-25 00:52:21 -07:00
Ben Vanik
fff1a7c132
Switching std::thread to XThread and hosting in object_refs.
2015-05-25 00:51:26 -07:00
Dr. Chat
a6175dba48
Remove more accidentally committed files; rename .cpp to .cc
2015-05-23 00:07:33 -05:00
Dr. Chat
f31b34256b
WIP Audio decoder
...
Remove some old comments
2015-05-23 00:07:20 -05:00
Ben Vanik
9e685a1453
Merge pull request #216 from DrChat/audio
...
Cleanup some audio code
2015-05-19 22:24:00 -07:00
Ben Vanik
f88bf33b4f
Moving threads to XHostThread and making shutdown not crash.
2015-05-19 22:20:49 -07:00
Dr. Chat
38918c86a8
Cleanup some audio system code
2015-05-19 21:52:21 -05:00
Dr. Chat
b1920f4a87
Move audio system onto XHostThread
2015-05-18 22:25:02 -05:00
Ben Vanik
147a70b9c1
Rewriting memory manager.
2015-05-17 00:16:56 +01:00
Ben Vanik
30f7effa73
Code cleanup: removing common.h
2015-05-02 01:25:59 -07:00
Ben Vanik
9281d62106
Moving cpu/runtime/ to cpu/.
2015-03-24 08:25:58 -07:00
Ben Vanik
17bc561045
Implement XMA* methods.
...
Fixes #156 .
2015-02-16 22:22:42 -08:00
Ben Vanik
50b0746a26
XMA hardware spoofing when using direct register access.
...
This works for recent games that don't use the XMA* methods.
Upcoming CLs will add the XMA* method shims forthcoming.
2015-02-16 17:18:28 -08: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
244e8a8745
Removing the last of XEDECLARECLASS.
2014-08-20 22:50:10 -07:00
Ben Vanik
01f0b14250
Removing xe_thread_t.
2014-08-16 01:36:45 -07:00
Ben Vanik
bca49bed4b
Removing xe_mutex_t.
2014-08-16 00:56:50 -07:00
Ben Vanik
0e3854555d
Pure dynamic MMIO access. Prep for more complex GPU memory management.
2014-06-01 23:36:18 -07:00
gibbed
47c71d702a
Audio system overhaul for support of multiple audio drivers.
2014-01-25 03:18:22 -08:00
Ben Vanik
e7d61f4b1f
Removing use of runloop from audio system.
2014-01-14 19:52:32 -08:00
Ben Vanik
f6ca6cced8
Audio engine now blocking when buffers are full.
2014-01-13 00:20:53 -08:00
Ben Vanik
20ad328e4a
Removing AudioDriver.
2014-01-13 00:05:08 -08:00
Ben Vanik
4f552da6c4
Inefficient, but pumping audio.
2014-01-12 23:52:55 -08:00
Ben Vanik
ecbd2c7e89
Pushing audio samples through.
2014-01-12 02:39:47 -08:00
Ben Vanik
127595b48a
Issuing audio driver callbacks from their own thread.
2014-01-12 02:07:17 -08:00
Ben Vanik
4688d5e600
Starting work on audio.
2014-01-12 01:27:41 -08:00
Ben Vanik
7969349126
Fixing some shutdown code.
2014-01-02 18:58:44 -08:00
Ben Vanik
fdb6a5cfa3
Initial Alloy implementation.
...
This is a regression in functionality and performance, but a much better
foundation for the future of the project (I think). It can run basic
apps under an SSA interpreter but doesn't support some of the features
required to do real 360 apps yet.
2013-12-06 22:57:16 -08:00
Ben Vanik
b7ffd46319
Massive refactoring of all code + audio skeleton.
...
This should make it easier to find files and (in the future) split things
up into separate libraries.
It also changes around emulator initialization to make it a little more
difficult to do things out of order and a little more sensible as to when
real init work happens.
Also adding a skeleton audio system/driver and reworking CPU register
access to be more extensible.
2013-10-23 20:42:24 -07:00