Commit Graph

2331 Commits

Author SHA1 Message Date
Ben Vanik 6618bcf2db Merge pull request #235 from DrChat/audio_decoding
Whoops - fix overflowing on output audio samples
2015-06-02 11:18:27 -07:00
Dr. Chat 50d8017ac5 Whoops - fix overflowing on output audio samples 2015-06-02 13:17:15 -05:00
Rick Gibbed 8aaa254390 Merge pull request #234 from DrChat/audio_decoding
.cpp -> .cc and add ring_buffer.cc to the project
2015-06-02 11:24:07 -05:00
Dr. Chat 45d3f4f886 Ugh, why doesn't VS just save this automatically? 2015-06-02 11:23:05 -05:00
Dr. Chat e09ea50c74 .cpp -> .cc and add ring_buffer.cc to the project 2015-06-02 11:23:04 -05:00
gibbed 6d61d0a7b2 Added _snprintf and swprintf. 2015-06-02 10:42:10 -05:00
gibbed 58b1059a23 Reordered the formatting exports in the order of their ordinal. 2015-06-02 10:42:09 -05:00
gibbed b402fb76e1 Oops. 2015-06-02 10:42:08 -05:00
gibbed 065f0417f2 Fixed vsnprintf behavior when count < 0. 2015-06-02 10:42:08 -05:00
Ben Vanik 99718fd3ce Merge pull request #233 from DrChat/audio_decoding
Cleanup Audio System Code
2015-06-02 08:22:10 -07:00
Dr. Chat 8c1e476bab Restylizing. 2015-06-02 10:18:45 -05:00
Dr. Chat e20aa16b59 Cleanup audio system code 2015-06-02 10:12:13 -05:00
Dr. Chat ad8918f326 RingBuffer util class 2015-06-02 10:11:59 -05:00
gibbed 2a40512b74 Made a proper command-line flag out of disabling GL context resetting. --disable_gl_context_reset 2015-06-02 09:09:51 -05:00
Ben Vanik c516447ae1 Misc stubs. 2015-06-02 00:14:24 -07:00
Ben Vanik 7525b840db Making Rick happy ;) 2015-06-01 23:41:17 -07:00
Ben Vanik 862c322cbc Fixing stack args and error typo. 2015-06-01 23:36:05 -07:00
Ben Vanik f86f6ee79d Always set fake cpu #. 2015-06-01 23:22:25 -07:00
Ben Vanik 88fd97f30b Merge pull request #232 from DrChat/audio_decoding
Fix audio decoding
2015-06-01 22:47:17 -07:00
Dr. Chat 77e245dc51 Fix audio decoding. 2015-06-02 00:45:00 -05:00
Dr. Chat c780d5528d Remove unused bits_per_frame_ field. 2015-06-02 00:44:59 -05:00
Dr. Chat 93763c166f input_buffer_*_block_count -> input_buffer_*_packet_count 2015-06-02 00:44:59 -05:00
Ben Vanik 493b06a48a NetDll_XNetQosServiceLookup stub. 2015-06-01 22:20:04 -07:00
Ben Vanik 19cb13692b Fixing undefined export names. 2015-06-01 22:12:11 -07:00
Ben Vanik 5c34b0a73e Fixing printfs and fixing exports. link.exe is too good. 2015-06-01 21:40:53 -07:00
Ben Vanik a91a754b24 Converting some exports to the new way. 2015-06-01 20:56:57 -07:00
Ben Vanik f634edb9eb Shrinking type names. 2015-06-01 19:55:43 -07:00
Ben Vanik 169ced8194 Removing kernel_state and ppc_context from kernel export args. 2015-06-01 19:33:13 -07:00
Ben Vanik 23826fa957 Initial experiment with new kernel export format. 2015-06-01 18:19:42 -07:00
gibbed 225bb74316 Oops. Not sure how that got reverted. 2015-06-01 20:05:54 -05:00
gibbed 2a2fe509e6 Rename _vswprintf to vswprintf. 2015-06-01 19:42:23 -05:00
gibbed 5b06b8436e Use std::ostringstream instead of std::stringstream. 2015-06-01 19:32:13 -05:00
gibbed fe8d058b36 Completely reimplemented xboxkrnl formatting related functions (sprintf, etc). No longer relies on CRT-provided sprintf/etc. Floating-point types needs more thorough testing. 2015-06-01 19:29:25 -05:00
gibbed 633d72a98e Corrected NtQueryFullAttributesFile behavior when root_directory is 0. 2015-06-01 19:01:57 -05:00
gibbed 7c5ea52022 Updated functions pulling arguments out of the stack to use the appropriate SHIM_GET_ARG_* macro. 2015-06-01 19:01:56 -05:00
gibbed 8c49281bb5 Improvements to SHIM_GET_ARG_* macros. 2015-06-01 19:01:49 -05:00
Ben Vanik ce3359389b Allow new-style export registration. 2015-05-31 17:54:44 -07:00
Ben Vanik 08770a4ec0 Mass renaming. I love clang-format. 2015-05-31 16:58:12 -07:00
Ben Vanik 9c3d2b54fb Cleanup before kernel export refactor. 2015-05-31 16:31:19 -07:00
Ben Vanik fccab79a7a Adding kernel state pointer to PPCContext. Still needs larger cleanup. 2015-05-31 14:35:56 -07:00
Ben Vanik d816d80190 StringBuffer cleanup. 2015-05-31 14:35:30 -07:00
Ben Vanik da6edbe1d7 Update README.md 2015-05-31 14:34:07 -07:00
Ben Vanik 80c2078b9a Merge pull request #231 from DrChat/audio_decoding
Multi-channel decoding fix
2015-05-30 22:23:05 -07:00
Dr. Chat 128bf76205 Fixed up multi-channel audio, works better now. 2015-05-30 22:47:41 -05:00
Dr. Chat dfd689e22b Whoops, we should be converting samples from more than one channel! 2015-05-30 21:27:59 -05:00
Dr. Chat fedf7357a5 Remove variable bits per sample - it's always 16. 2015-05-30 21:01:55 -05:00
Ben Vanik c97b462d8d Fix assert. 2015-05-30 18:04:31 -07:00
Ben Vanik c4ef5d4eb8 Allow AllocFixed of unreserved ranges. 2015-05-29 21:47:19 -07:00
Ben Vanik d97a6d1929 NtReadFile APC, somewhat. 2015-05-29 21:24:23 -07:00
Ben Vanik a4edb7f9e1 Removing 64bit return type and cleaning up some SHIM* stuff pre-refactor. 2015-05-29 17:12:30 -07:00