Commit Graph

183 Commits

Author SHA1 Message Date
ufdada
4576f03bd9 Small improvement for fade-in and fade-out sounds in Loco Roco
The fade-in and fade-out sounds in Loco Roco are way too long, this  small change improves it alot. now the sound that is played after reaching the goal in a level sounds about right.
2013-08-31 18:12:16 +02:00
Unknown W. Brackets
bbe13f1d74 Avoid a crash when a bad video stream is specified. 2013-08-29 00:41:22 -07:00
Henrik Rydgård
89e476d9f2 Merge pull request #3333 from unknownbrackets/reporting
Add a bunch of HLE funcs + fix bad reloc masking and warnings
2013-08-23 01:41:00 -07:00
Unknown W. Brackets
8d00ab61e3 Remove the gpu->Resized() on video play.
Doesn't seem necessary anymore, can cause blinking.
2013-08-22 23:55:02 -07:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Henrik Rydgård
171e202019 Warning fixes 2013-08-20 19:20:03 +02:00
Sacha
422ede8914 Fix plugin save directory on Blackberry. 2013-08-20 21:20:16 +10:00
Ced2911
7f6dd0d58b endian for media engine 2013-08-16 09:18:45 +02:00
Unknown W. Brackets
c8716d9a02 Fix a few minor typos + small reporting change. 2013-08-12 23:02:39 -07:00
Unknown W. Brackets
e6b42768fe Add a class to manage IO on a separate thread.
Also separate the logic for exiting the loop based on coreState.  IO and
audio won't necessarily be tied to the frame.
2013-08-11 11:46:55 -07:00
The Dax
8b6790187d Fix some translation issues and change a variable name(it was supposed to be iSFXVolume, but for some reason it never got changed over). 2013-08-09 08:04:13 -04:00
Unknown W. Brackets
7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Henrik Rydgård
cbbf4e8905 Merge pull request #2941 from thedax/audioFix
64-bit PPSSPP(Windows): Attempt to fix games that crash with atrac3+ DLLs.
2013-07-27 03:00:08 -07:00
The Dax
489748ffc0 Change nullptr to NULL to avoid possible issues with platforms that don't support C++11. 2013-07-27 02:16:06 -04:00
Unknown W. Brackets
04b636e889 Simplify and avoid a shift size warning. 2013-07-26 22:12:47 -07:00
The Dax
349d4eba2b 64-bit PPSSPP(Windows): Attempt to fix games that crash with Atrac3plusdecoder64.dll. It seems to be caused by m_audiocontext being null.. 2013-07-27 00:38:42 -04:00
Jake Traynham
0e0aec812f Cleaned up iOS code and updated iCade support; Fixed at3+ download screen 2013-07-19 16:37:41 -05:00
Henrik Rydgård
05dfd27db8 Merge pull request #2638 from bagnz0r/master
Audio optimization, usability fixes, sound peak blowout fix, Polish translation, bugfixes
2013-07-18 02:54:03 -07:00
Unknown W. Brackets
aef5555327 Fix arithmetic warning in mpeg demux. 2013-07-07 20:31:05 -07:00
Unknown W. Brackets
9608067ca2 Cleanup initialization order. 2013-07-07 20:31:04 -07:00
bagnz0r
669216fcab This should be better, previous values still caused a peak blowout. Also
limited sound SE and BGM value to 8, because any higher and you have
garbage.
2013-07-06 23:40:05 +02:00
bagnz0r
26654555b4 Updated block values so that we will have lower latency audio...
Additionally I have fixed the issue with too loud sound effects and broken
buttons in audio settings screen. Before this fix, you wouldn't be able to
set the volume above 5 despite the fact that 8 is the default value.
5
2013-07-06 23:23:17 +02:00
Henrik Rydgard
acf94a35f8 Minor audio optimization 2013-07-06 22:21:52 +02:00
raven02
6c3895491e Add preliminary volume control for BGM and SE 2013-07-06 16:54:13 +08:00
oioitff
97c6b96408 Remove IsAudioEnd(), use IsNoAudioData() instead. 2013-07-02 17:20:46 +08:00
Unknown W. Brackets
4ca084b9ad Add a bit more space for the smoothness hackery.
Prevents a buffer overflow error I was getting randomly.
2013-06-29 16:06:24 -07:00
oioitff
dc04584ca1 Add a new option to enable
Linear Filtering only for CGs.
2013-06-30 03:35:28 +08:00
oioitff
2b9f9283c2 Improve getRemainSize for MediaEngine.
It's more accurate now.
2013-06-25 00:17:04 +08:00
oioitff
7f7e7adfe2 Free loaded data in Ringbuffer only while
ffmpeg is requiring more data. Clean up some codes.
2013-06-25 00:16:59 +08:00
oioitff
b1cc94b9bf Bug fix for mpeg. 2013-06-25 00:16:46 +08:00
oioitff
7bde93d534 Fix corrupted frames and implement savestate
for mpeg.
2013-06-25 00:16:42 +08:00
oioitff
c970a7e689 Use ringbuffer as a real PSP instead huge buffer. 2013-06-25 00:16:38 +08:00
Lioncash
ee164a3977 Fix a case where a pointer was being used before its null check in MediaEngine.cpp 2013-06-24 03:42:13 -04:00
Henrik Rydgard
67c185f8ea Update native to not wait in the opensl callback. Some minor audio optimizations. Also it seems ffmpeg has changed so update it. 2013-06-22 17:37:09 +02:00
Sacha
0839a6ed07 Fix frozen black screens for non-FFMPEG platforms 2013-06-20 01:34:34 +10:00
Sacha
45775d4fc2 Fix for non-ffmpeg platforms. Thanks unknownbrackets!
Can now get past videos on platforms such as Meego and Symbian.
Also fix some spacing and type issues.
2013-06-19 01:14:14 +10:00
Henrik Rydgård
5c14ec134c Add support for external at3plus decoders on MacOSX 64bit. 2013-06-16 12:43:37 +02:00
Unknown W. Brackets
afdaa1e299 Write video images with zeroed alpha.
Fixes #2277, Sword Art Online.
2013-06-15 10:01:57 -07:00
Unknown W. Brackets
f6534c3809 Fix a possible buffer over/underflow issue in mpeg.
Atrac seems to have a problem here, so let's be safe.
2013-06-14 23:21:12 -07:00
Unknown W. Brackets
9406561492 The seek callback should return new offset.
Like lseek().  Not the passed param.
2013-06-14 23:12:56 -07:00
Unknown W. Brackets
2ec8106809 Ensure FFmpeg doesn't corrupt an early keyframe.
When the analyze func runs, it seems to check between 2-4% (or so?) of the
stream, which for longer videos especially we don't have yet.  Returning a
read failure here seems to truncate that keyframe sometimes.

FFmpeg asks for the total size when this happens, which we were ignoring.
Handling it fixes this, as FFmpeg apparently realizes we ran out of data.
2013-06-14 17:56:27 -07:00
oioitff
23cefa03c6 Delay video decode until we have enough packets. 2013-06-14 01:16:59 -07:00
Unknown W. Brackets
6192feb27a Don't return less than ffmpeg wants 'til the end.
Fixes #2223 (at least for the games I have.)
2013-06-14 01:14:40 -07:00
Unknown W. Brackets
16b0a99e5f Adjust some default values for SAS audio. 2013-06-12 08:02:56 -07:00
Unknown W. Brackets
8b4b4a6b8c Use the 1 bit in sceSasRevVON() and cleanup.
Not used yet anyway.
2013-06-12 07:59:54 -07:00
Sacha
5aba914a42 Build fix for non-ffmpeg and non-gcc non-++11. 2013-06-12 10:51:30 +10:00
Henrik Rydgard
b8959b956b sceMpegGetUserDataAu: return ERROR_MPEG_NO_DATA. Add some notes for later implementing mpeg user data. Fixes part of #2172. Thanks to [unknown] 2013-06-11 19:27:02 +02:00
Henrik Rydgård
6b84743082 Merge pull request #2217 from oioitff/mpeg-fix
Add support for multiple video/audio stream.
2013-06-11 07:42:19 -07:00
oioitff
77a17cacc5 Add support for multiple video/audio stream. 2013-06-11 19:04:14 +08:00
Henrik Rydgard
a581e0d180 Avoid division by zero in audio envelope processing. Fixes sound FX on android in some games. 2013-06-11 11:05:34 +02:00