Commit Graph
39166 Commits
Author SHA1 Message Date
Unknown W. Brackets cf577e9e80 Merge branch 'kernel-mbx' 2015-01-17 18:17:13 -08:00
Unknown W. Brackets e40bef6f17 Fix Mbx callback begin/end funcs.
Oops, bad WAITTYPE.  May help #7345.
2015-01-17 18:15:32 -08:00
Unknown W. Brackets 6777dcd0cc Validate the fmt chunk size more correctly. 2015-01-17 16:35:25 -08:00
Unknown W. Brackets 7b29c645ba Correct parsing of the atrac RIFF fmt chunk.
It's just a standard fmt with extra data.  We were reading the block align
incorrectly.

Also, set the block align to help FFmpeg.
2015-01-17 15:47:36 -08:00
Unknown W. Brackets 5687f10801 Improve atrac file parsing.
Seems like it is willing to parse multiple RIFF chunks.  This may generate
more accurate errors, at least they match tests better.
2015-01-17 15:25:11 -08:00
Unknown W. Brackets 255b39a6f6 Fix a small memory leak. 2015-01-17 13:54:52 -08:00
Josh Palmer 918b96500c DInput/XInput: Configurable deadzone + inverter
* Add configurable shared deadzone for all DInput axes
* Add configurable separate deadzones for left & right XInput sticks
* Add configurable deadzone inverter for DInput X/Y axes
* Add configurable deadzone inverter for XInput sticks
2015-01-17 21:26:08 +00:00
Unknown W. Brackets a90adc8f8d Fix a memory leak on error condition. 2015-01-17 12:15:30 -08:00
Henrik Rydgard c2500744e1 D3D9 rectangle rendering fix (maxindex) 2015-01-15 23:58:07 +01:00
Henrik Rydgard 8a574e5cd2 Do the first CoInitializeEx on the main thread instead of the EmuThread (WASAPI). Fixes #7334 2015-01-15 22:33:20 +01:00
Henrik Rydgård c8c80c0ced Merge pull request #7333 from unknownbrackets/gpu-minor
Transform rects using indices
2015-01-15 22:02:15 +01:00
Unknown W. Brackets f366cab98d Fix a type comparison warning. 2015-01-15 12:27:01 -08:00
Unknown W. Brackets d663cda2de Transform rects using indices.
Not a hge difference.  Minor cleanup.
2015-01-15 12:26:35 -08:00
Henrik Rydgård b9b96f1416 Merge pull request #7329 from daniel229/utawarerumono_func_replace
Function replace in Utawarerumono portable
2015-01-14 10:52:55 +01:00
daniel229 0bd6d74996 Replace frame download in Utawarerumono portable 2015-01-14 17:27:14 +08:00
Henrik Rydgard 8b05e7abf0 Adjust the audio speed on non-60hz Android devices to compensate.
Greatly improves audio stability on Nexus S.

Fixes #6677 .
2015-01-14 00:45:12 +01:00
Henrik Rydgard d2f95b9190 Set some half reasonable defaults when there's no optimal sample rate available 2015-01-14 00:34:27 +01:00
Henrik Rydgard a506ba2e83 Expose/fake native display refresh rate. Only has a real value on Android. 2015-01-14 00:27:21 +01:00
Henrik Rydgard e349ec2960 Some missing de-init 2015-01-13 20:51:58 +01:00
Henrik Rydgård 02a7caf9dd Merge pull request #7327 from sum2012/ARM-JIT
Fix  Yu-Gi-Oh 6 crash with edit card in Android version
2015-01-13 16:26:51 +01:00
sum2012 f659e60c8d Fix Yu-Gi-Oh 6 crash with edit card in Android version
This revert part of
https://github.com/hrydgard/ppsspp/commit/74d8a9bdba9b8348e60e8a6b40b01da26b5eb020
2015-01-13 22:01:02 +08:00
Henrik Rydgård 74640dce11 Merge pull request #7326 from daniel229/motorstorm_func_replace
Function replace in MotorStorm: Arctic Edge
2015-01-13 10:58:24 +01:00
daniel229 c4d4aaab11 Replace frame download in MotorStorm: Arctic Edge 2015-01-13 15:42:25 +08:00
Henrik Rydgard 5f30bba5c9 WASAPI: Exit the audio thread the recommended way to avoid pops and clicks 2015-01-12 21:34:17 +01:00
Henrik Rydgard 0493d8154a WASAPI audio: Try to do something non-crazy for non-stereo audio streams.
Should really do a proper surround matrix but let's try this for now..
2015-01-12 20:57:13 +01:00
Henrik Rydgard df62bc42b7 D3D shader generator: Fix an issue with 4x3 vs 4x4 matrices that caused warnings to be reported (I think).
Make the GL code for this case (skinning without normal) more similar.
2015-01-12 20:37:33 +01:00
Henrik Rydgard 091593f0c9 WASAPI audio: Fix reporting, and blindly try to add PCM16 support, in case that would come up.
May help #7323 ?
2015-01-12 20:24:55 +01:00
Henrik Rydgård 7c3bc2b3d2 Merge pull request #7313 from sum2012/network
Make "Network Initialized" translatable
2015-01-12 13:07:05 +01:00
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