99718fd3ce
Merge pull request #233 from DrChat/audio_decoding
Ben Vanik
2015-06-02 08:22:10 -07:00
8c1e476bab
Restylizing.
Dr. Chat
2015-06-02 10:18:45 -05:00
e20aa16b59
Cleanup audio system code
Dr. Chat
2015-06-02 10:12:13 -05:00
ad8918f326
RingBuffer util class
Dr. Chat
2015-06-02 10:11:59 -05:00
2a40512b74
Made a proper command-line flag out of disabling GL context resetting. --disable_gl_context_reset
gibbed
2015-06-02 09:08:56 -05:00
c516447ae1
Misc stubs.
Ben Vanik
2015-06-02 00:14:24 -07:00
7525b840db
Making Rick happy ;)
Ben Vanik
2015-06-01 23:41:17 -07:00
862c322cbc
Fixing stack args and error typo.
Ben Vanik
2015-06-01 23:36:05 -07:00
f86f6ee79d
Always set fake cpu #.
Ben Vanik
2015-06-01 23:22:25 -07:00
88fd97f30b
Merge pull request #232 from DrChat/audio_decoding
Ben Vanik
2015-06-01 22:47:17 -07:00
77e245dc51
Fix audio decoding.
Dr. Chat
2015-06-02 00:42:26 -05:00
c780d5528d
Remove unused bits_per_frame_ field.
Dr. Chat
2015-05-31 13:48:14 -05:00
93763c166f
input_buffer_*_block_count -> input_buffer_*_packet_count
Dr. Chat
2015-05-30 23:52:22 -05:00
493b06a48a
NetDll_XNetQosServiceLookup stub.
Ben Vanik
2015-06-01 22:20:04 -07:00
19cb13692b
Fixing undefined export names.
Ben Vanik
2015-06-01 22:12:11 -07:00
5c34b0a73e
Fixing printfs and fixing exports. link.exe is too good.
Ben Vanik
2015-06-01 21:40:53 -07:00
a91a754b24
Converting some exports to the new way.
Ben Vanik
2015-06-01 20:56:57 -07:00
f634edb9eb
Shrinking type names.
Ben Vanik
2015-06-01 19:55:43 -07:00
169ced8194
Removing kernel_state and ppc_context from kernel export args.
Ben Vanik
2015-06-01 19:33:13 -07:00
23826fa957
Initial experiment with new kernel export format.
Ben Vanik
2015-06-01 18:19:32 -07:00
225bb74316
Oops. Not sure how that got reverted.
gibbed
2015-06-01 20:05:54 -05:00
2a2fe509e6
Rename _vswprintf to vswprintf.
gibbed
2015-06-01 19:42:23 -05:00
5b06b8436e
Use std::ostringstream instead of std::stringstream.
gibbed
2015-06-01 19:32:13 -05:00
fe8d058b36
Completely reimplemented xboxkrnl formatting related functions (sprintf, etc). No longer relies on CRT-provided sprintf/etc. Floating-point types needs more thorough testing.
gibbed
2015-06-01 19:29:25 -05:00
633d72a98e
Corrected NtQueryFullAttributesFile behavior when root_directory is 0.
gibbed
2015-05-30 20:55:12 -05:00
7c5ea52022
Updated functions pulling arguments out of the stack to use the appropriate SHIM_GET_ARG_* macro.
gibbed
2015-05-30 20:53:58 -05:00
8c49281bb5
Improvements to SHIM_GET_ARG_* macros.
gibbed
2015-05-30 20:43:47 -05:00
ce3359389b
Allow new-style export registration.
Ben Vanik
2015-05-31 17:54:44 -07:00
08770a4ec0
Mass renaming. I love clang-format.
Ben Vanik
2015-05-31 16:58:12 -07:00
9c3d2b54fb
Cleanup before kernel export refactor.
Ben Vanik
2015-05-31 16:31:19 -07:00
fccab79a7a
Adding kernel state pointer to PPCContext. Still needs larger cleanup.
Ben Vanik
2015-05-31 14:35:56 -07:00
d816d80190
StringBuffer cleanup.
Ben Vanik
2015-05-31 14:35:30 -07:00
da6edbe1d7
Update README.md
Ben Vanik
2015-05-31 14:34:07 -07:00
80c2078b9a
Merge pull request #231 from DrChat/audio_decoding
Ben Vanik
2015-05-30 22:23:05 -07:00
128bf76205
Fixed up multi-channel audio, works better now.
Dr. Chat
2015-05-30 22:32:01 -05:00
dfd689e22b
Whoops, we should be converting samples from more than one channel!
Dr. Chat
2015-05-30 21:27:59 -05:00
fedf7357a5
Remove variable bits per sample - it's always 16.
Dr. Chat
2015-05-30 21:01:55 -05:00
c97b462d8d
Fix assert.
Ben Vanik
2015-05-30 18:04:31 -07:00
c4ef5d4eb8
Allow AllocFixed of unreserved ranges.
Ben Vanik
2015-05-29 21:47:19 -07:00
d97a6d1929
NtReadFile APC, somewhat.
Ben Vanik
2015-05-29 21:24:23 -07:00
a4edb7f9e1
Removing 64bit return type and cleaning up some SHIM* stuff pre-refactor.
Ben Vanik
2015-05-29 17:12:30 -07:00
0a83b49744
Speeding up inner loop.
Ben Vanik
2015-05-29 17:05:43 -07:00
f54dbe52c2
Merge pull request #230 from DrChat/audio_whoops
Ben Vanik
2015-05-29 16:53:47 -07:00
40f98f195f
Whoops - PCM samples are signed, not unsigned
Dr. Chat
2015-05-29 18:52:43 -05:00
07c0724cf0
Some work on VdSwap.
gibbed
2015-05-29 15:40:16 -05:00
35bea36fc4
Added a magic value to XE_SWAP packets to make it obvious if there's an opcode collision.
gibbed
2015-05-29 14:34:37 -05:00
aee205101b
Merge pull request #229 from DrChat/more_audio_fixes
Ben Vanik
2015-05-28 22:44:07 -07:00
8c1b36d102
Don't need this.
Dr. Chat
2015-05-28 22:34:59 -05:00
d303f4a5ce
Fix raw sample clamping
Dr. Chat
2015-05-28 22:31:55 -05:00
fb787d4737
XMA context.kicked flag
Dr. Chat
2015-05-28 22:09:04 -05:00
73daf9cedc
Select input buffer 1 if needed, and hookup sequence offset.
Dr. Chat
2015-05-28 21:58:39 -05:00
4675a1e17a
Audio decoder now takes a "sequence" offset to feed to the WMAPro decoder.
Dr. Chat
2015-05-28 21:57:57 -05:00
0050b3df83
Assign a CPU number based on the proc affinity mask on thread creation. Fixes audio threads not starting properly on Frogger 2, and possibly other titles.
gibbed
2015-05-28 12:51:00 -05:00
3300945660
Fixed 8-bit and 16-bit xe::lzcnt.
gibbed
2015-05-28 12:16:19 -05:00
d1dbee2052
Consistency in memset calls.
gibbed
2015-05-28 05:28:59 -05:00
32fff9271b
Yeah, let's zero the right argument, m'kay.
gibbed
2015-05-28 05:22:36 -05:00
1613ef35a6
%S support for vsprintf.
gibbed
2015-05-28 05:17:42 -05:00
671d6f3746
Making assumptions about how big the buffer being passed to VdGetSystemCommandBuffer is. Seems to work and fix the divide by zero trap many games were making.
gibbed
2015-05-28 05:17:03 -05:00
e419d314b3
Audio now works a bit better, but is still broken :/
Ben Vanik
2015-05-28 02:15:30 -07:00
a93325434a
Minor audio tweeks + profiling.
Ben Vanik
2015-05-28 00:19:17 -07:00
db3d8fdc87
Time scaling works (num pad +/- or --time_scalar=X).
Ben Vanik
2015-05-27 19:04:47 -07:00
0b75d409d2
Somehow this assert got removed.
gibbed
2015-05-27 15:06:11 -05:00
4280ae8adc
Corrected HostPathEntry::QueryDirectory return value when the first search fails.
gibbed
2015-05-27 14:36:59 -05:00
8244409501
Refactoring to enable future time scaling, coordinated clocks, etc.
Ben Vanik
2015-05-26 22:20:46 -07:00
4a391117cc
Update build config for WinFormsUI. VS automatically made this change. WinFormsUI is third_party. Just go with it?
Shawn Hoffman
2015-05-26 13:53:54 -07:00
debb6f4338
The first listed project in a sln will be the default startup project. set it to xenia.
Shawn Hoffman
2015-05-26 13:53:05 -07:00
55e65f4ad6
GetObjectsByType.
Ben Vanik
2015-05-25 21:39:01 -07:00