Commit Graph
27588 Commits
Author SHA1 Message Date
Henrik Rydgård b25dd18f74 Merge pull request #7319 from unknownbrackets/gl-minor
Cache the bound VBO / index buffer
2015-01-12 09:28:09 +01:00
Henrik Rydgård 477e0e89f9 Merge pull request #255 from unknownbrackets/gl-minor
Cache bound VBO / index buffer in glstate
2015-01-12 09:27:32 +01:00
Unknown W. Brackets f311d4008d Leave VBOs and index buffers bound for reuse. 2015-01-11 17:03:45 -08:00
Unknown W. Brackets be15181d29 Leave arrays bound in case we can reuse them. 2015-01-11 17:03:15 -08:00
Unknown W. Brackets 40ea889b6a Cache the VBO/index buffer to avoid redundancy.
Well, mostly just redundant unbinds.
2015-01-11 16:56:29 -08:00
Unknown W. Brackets 7a5e182fd1 Cache the bound VBO/index buffer in glstate.
Though, the index buffer is actually part of VAO state (unlike VBOs...),
so that might change when we implement VAOs.
2015-01-11 16:52:37 -08:00
Unknown W. Brackets 50f5809c54 Oops, typo.
How did I not notice the distorted sound?
2015-01-11 16:49:22 -08:00
Henrik Rydgård 83f25929cc Merge pull request #7317 from hrydgard/wasapi-support
Add a WASAPI audio backend, use it automatically on Vista+. Reduces audio latency on Windows
2015-01-12 00:25:49 +01:00
Henrik Rydgård 37ffbe34cf Merge pull request #7318 from unknownbrackets/wasapi-support
Add some dedicated audio conversion code, optimize some
2015-01-11 23:44:11 +01:00
Unknown W. Brackets 4705a2568e Convert s16->float using SSE2. 2015-01-11 14:31:21 -08:00
Unknown W. Brackets f3654795a3 Minor warning fixes. 2015-01-11 14:23:42 -08:00
Unknown W. Brackets db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Unknown W. Brackets ff4db2a8dd Log any change to 48 kHz audio on the psp side. 2015-01-11 14:23:41 -08:00
Henrik Rydgard 8b97669f01 Cleanup 2015-01-11 23:19:49 +01:00
Henrik Rydgard 3381df4e04 Add a WASAPI audio backend, use it automatically on Vista+. Reduces audio latency on Windows. 2015-01-11 21:44:31 +01:00
Henrik Rydgård 82ccce9eca Merge pull request #7315 from hrydgard/audio-resample
Use Dolphin's audio resampler to lower latency on Android and prevent drift
2015-01-11 21:10:08 +01:00
Henrik Rydgard c8dfcd5e74 Prepare for interchangable Windows audio backends 2015-01-11 21:00:56 +01:00
Henrik Rydgard 26e4cb4a21 More cleanup 2015-01-11 20:35:52 +01:00
Henrik Rydgard 51f352ee26 Delete unused code in DSoundStream, fix system_getpropertyint for iOS 2015-01-11 19:30:25 +01:00
Henrik Rydgard 2b50996a85 Symbian buildfix 2015-01-11 18:16:15 +01:00
Henrik Rydgard 0c6ceee210 Optimize the resampler a little. Update native with new ability to not force 44khz so we actually get any use.
This causes Nexus 4 and Nexus 9 to end up on the fast path, greatly decreasing audio latency!

This also removes the "atomic audio" setting as the new audio code is lock-free always.
2015-01-11 18:06:42 +01:00
Henrik Rydgard 1b926ec59e Increase the resampler buffer size, needed on Shield :(
Reset DSound to 44100.
2015-01-11 18:06:39 +01:00
Henrik Rydgard e508004a4b Update Atomic*.h 2015-01-11 18:06:12 +01:00
Henrik Rydgard c4169313b7 Resampler: Remove volume handling 2015-01-11 18:06:12 +01:00
Henrik Rydgard e312d6b5fd Replace outAudioQueue with Dolphin's resampler. 2015-01-11 18:06:06 +01:00
Henrik Rydgard 84ed01df53 Android audio: Add ability to not override the sample rate to 44khz 2015-01-11 17:28:06 +01:00
Henrik Rydgard 1b055fd07e Make the sample rate queryable as a sysprop 2015-01-11 14:18:40 +01:00
Henrik Rydgard 1b5bf730ca Same as the last one for BlackBerry and Qt 2015-01-11 14:17:23 +01:00
Henrik Rydgard b6fea8a355 SDL: Implement SYSPROP_AUDIO_SAMPLE_RATE query 2015-01-11 14:15:26 +01:00
Henrik Rydgard cac7a2feed Add a sample rate parameter to DSound, clean it up a bit 2015-01-11 14:11:09 +01:00
Henrik Rydgard 62d86f3246 Remove useless indirection class "PSPMixer" 2015-01-11 12:02:49 +01:00
Henrik Rydgard 3ca212ad0c Update native, expose platform audio sample rate in System Information on Android
When these don't match, we should really resample to get access to the low latency audio path. TODO
2015-01-11 11:42:00 +01:00
Henrik Rydgard 9201103abe Get rid of the Java audio path. We now only support Android 2.3+ where it's not needed.
Also, expose the optimal sample rate for the platform so we can show it in the UI.
2015-01-11 11:39:30 +01:00
sum2012 499e6c6b7f Make "Network Initialized" translatable 2015-01-11 11:55:25 +08:00
Unknown W. Brackets 81e0ab49bb Merge pull request #7312 from hrydgard/no-lock-in-singlethread
If multithreading isn't enabled, don't bother synchronizing the ThreadEventQueue
2015-01-10 16:14:45 -08:00
Henrik Rydgard a154dc4b1b Reduce some code duplication 2015-01-11 01:10:47 +01:00
Henrik Rydgard bc3fb79fa2 If multithreading isn't enabled, don't bother synchronizing the ThreadEventQueue. 2015-01-11 00:45:57 +01:00
Henrik Rydgard 222802524c Oops 2015-01-11 00:35:43 +01:00
Henrik Rydgard 2cc1bd327a Make the reporting option more prominent. Also move a few options around.
Very minor change in indexgenerator.
2015-01-11 00:12:32 +01:00
Henrik Rydgard 604abe933e Update submodules, add x64Emitter bugfix from Dolphin (plus a few new instrs), misc 2015-01-11 00:12:32 +01:00
Unknown W. Brackets 59b1027f3e Merge pull request #7311 from Bigpet/master
cwcheat: log a warning trying to skip past the end
2015-01-10 14:25:35 -08:00
Peter Tissen 101287c8c2 Instead of crashing log a warning when trying to skip more codes than are available 2015-01-10 22:56:27 +01:00
Unknown W. Brackets 1b7ee8c269 Allocate less in sceKernelLoadModuleByID w/ offset.
Though, this may still be too much?  I wonder if it parses to figure the
size or anything.
2015-01-10 08:36:12 -08:00
Henrik Rydgård 0ef589165b Merge pull request #7304 from unknownbrackets/io-minor
Fix reads starting outside of files on isos
2015-01-10 12:45:32 +01:00
Henrik Rydgård 73e7bd81d6 Merge pull request #7307 from unknownbrackets/jit-minor
Add flags for VFPUCC affecting instructions
2015-01-10 12:44:26 +01:00
Unknown W. Brackets 0f920d9b43 Add flags for VFPUCC affecting instructions.
This may fix possible bugs in clobber as well as help spill.  Could also
affect nice delay slots?
2015-01-10 02:02:39 -08:00
Unknown W. Brackets 57f40589b2 Fix reads starting outside of files on isos. 2015-01-09 18:34:41 -08:00
Henrik Rydgård b6a9722761 Merge pull request #7303 from unknownbrackets/io-minor
Report any attempt to read a negative size
2015-01-10 01:43:57 +01:00
Unknown W. Brackets 1cefac6473 Clean up some different clamping.
Could be cleaned up more but at least this is less weird.
2015-01-09 15:59:39 -08:00
Unknown W. Brackets 52288f5905 Report any attempt to read a negative size.
If this should return an error, that should be handled in sceIo.
2015-01-09 15:50:06 -08:00