Commit graph

197 commits

Author SHA1 Message Date
Unknown W. Brackets
55c59164f7 Try to ignore unimplemented ATRAC features.
Even if it causes the audio to blip, it should continue.  May fix Class of
Heroes and zero no Kiseki (see #5286.)
2014-01-31 21:40:15 -08:00
Henrik Rydgård
169844cc8c MediaEngine/atrac: Initialize some variables, remove use of some deprecated functions 2014-01-27 14:08:05 +01:00
Unknown W. Brackets
79864a5ee0 Fix some initialization order warnings. 2014-01-10 22:21:24 -08:00
Unknown W. Brackets
183b4cb45c Add a static method for creating PSPPointers.
This is still kinda ugly, but the assignment thing was just too ugly, I
couldn't do it anymore.
2013-12-16 23:50:52 -08:00
raven02
29f7d4cb5f Regression fix #4837 2013-12-15 19:54:06 +08:00
raven02
bf93910215 sceAtracGetNextDecodePosition() : write 0 to outposAddr when before return ATRAC_ERROR_ALL_DATA_DECODED 2013-12-15 14:48:08 +08:00
Henrik Rydgard
70174ac405 Warn fix, cleanup, update buttons.svg 2013-12-12 12:08:36 +01:00
papel
38a5233dd4 Fix GetBufferInfoForResetting 2013-11-11 08:49:15 +02:00
Unknown W. Brackets
348ea5b5cf Fix volume scaling for mono inputs, etc.
Fixes #4423.
2013-11-03 01:14:22 -07:00
Unknown W. Brackets
8d3ba58936 Cap the buffer size in sceAtracSetDataAndGetID().
Not sure if this should be done in the others or not...
2013-10-30 07:55:47 -07:00
Unknown W. Brackets
696aa0f974 Initialize atrac context values per PSP tests. 2013-10-30 07:48:50 -07:00
Unknown W. Brackets
14cff41a9a Fix state value in atrac context with no buffer.
Unlikely games use this, but they could.
2013-10-30 07:48:50 -07:00
Unknown W. Brackets
31112d1fa1 Report and return errors for bad atrac data.
The PSP returns errors for invalid data, so we should too.
2013-10-30 07:48:49 -07:00
Unknown W. Brackets
8dcc384dba Adjust some atrac reporting/logging. 2013-10-30 07:48:49 -07:00
Unknown W. Brackets
3e0c37bb62 Return an error when no data set yet.
Specifically this happens if you sceAtracGetAtracID, but don't set any
data yet.  Games might check for it to load in data.
2013-10-30 07:48:48 -07:00
Unknown W. Brackets
b7bd107956 When using a bad atrac ID, return proper errors.
Tested each func with invalid ids.
2013-10-30 07:48:48 -07:00
Unknown W. Brackets
ad8c4af936 Respect the bgm vol setting for at3, mp3, video. 2013-10-26 19:33:25 -07:00
Henrik Rydgard
1595ac3386 Log spam reduction - only WARN about non-zero bad handles, and sceAtracSetLoopNum gets demoted to DEBUG. 2013-10-22 19:56:05 +02:00
Henrik Rydgard
de39a81dce sceAtrac: Force mono when needed. (see #4248) 2013-10-22 11:01:46 +02:00
Henrik Rydgard
3d5a85f1a7 Restore accidental change to sceAtracGetInternalInfo, minor indentation reduction, demote a log message 2013-10-22 10:53:48 +02:00
Henrik Rydgard
bf89c01215 When atrac3+ decoding fails, stop decoding silently-ish instead of decoding garbage, spamming the log 2013-10-21 23:10:30 +02:00
Henrik Rydgård
8556eaf59d sceAtrac: Report occurences of multiple packets in one. Update native
with minor UI fix.
2013-10-21 11:19:13 +02:00
sum2012
fc3d3c9a78 fix maxim-at3plus crash
Thanks @unknownbrackets
https://github.com/hrydgard/ppsspp/issues/4248
Digimon Adventure Voice probrem can be fixed later
2013-10-20 20:57:24 +08:00
Henrik Rydgard
f5a63d7d41 Better fix for the UINT_64 define issue on android 2013-10-20 13:52:31 +02:00
Unknown W. Brackets
e95f55a5fe Fix some enum type warnings. 2013-10-19 14:57:45 -07:00
Henrik Rydgård
be40289d6c Use ffmpeg for Atrac3+ decoding during video playback as well. 2013-10-19 23:09:26 +02:00
Henrik Rydgard
3cefa1ad79 Things seem more stable after initializing the AVPacket.
More testing needed though.
2013-10-19 23:09:25 +02:00
Henrik Rydgard
f311901e5e Use ffmpeg for decoding Atrac3+ in sceAtrac. Thanks Maxim. 2013-10-19 23:09:25 +02:00
Henrik Rydgård
ac2334386a Move BufferQueue out of the at3 plugin header 2013-10-17 12:31:22 +02:00
Unknown W. Brackets
3a1b6fb269 Fix some sign comparison warnings. 2013-10-05 11:13:41 -07:00
raven02
e5305f655d Chane to ATRAC_ERROR_NO_LOOP_INFORMATION 2013-09-22 11:41:58 +08:00
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Unknown W. Brackets
0c6fbb461d Tweak ffmpeg logging in mp3/atrac as well. 2013-09-16 08:40:38 -07:00
Henrik Rydgård
00f8ae5f2d Merge pull request #3772 from unknownbrackets/atrac-minor
Improve sceAtracGetBufferInfoForResetting()
2013-09-15 00:24:05 -07:00
Unknown W. Brackets
81c0a84322 Forgot a pointer check in atrac. 2013-09-14 21:22:02 -07:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
cf8a3e4df1 Improve sceAtracGetBufferInfoForResetting().
Fixes #2391.
2013-09-14 17:56:08 -07:00
Unknown W. Brackets
b7c845d40b Support a NULL out param for atrac3 decoding.
The PSP seems to silently accept it, maybe to skip data?
2013-09-08 09:56:38 -07:00
Unknown W. Brackets
f4bc5b1ec6 Return error in sceAtracDecodeData() on bad id.
Fixes #2428.
2013-09-08 09:56:16 -07:00
Unknown W. Brackets
b7a2a92ebe Improve sceAtracSetData() error handling. 2013-09-08 09:56:15 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
papel
d22e555e4f Fix volume and name of Latin American languages. 2013-08-29 13:25:29 -03:00
Unknown W. Brackets
c8716d9a02 Fix a few minor typos + small reporting change. 2013-08-12 23:02:39 -07:00
Unknown W. Brackets
ddc2c15ce8 Remove some unsigned < 0 comparisons. 2013-07-26 22:12:12 -07: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
raven02
17792ac623 Audio optimization to sceAtracLowLevelDecode() 2013-07-10 11:20:24 +02:00
oioitff
3c5b817283 scheduling in atrac decode functions. 2013-07-10 14:45:51 +08:00
Unknown W. Brackets
a32cf817ff Fix some minor warnings. 2013-07-07 20:31:04 -07:00
bagnz0r
35d70af3ab Fixed bad SE volume limit in sceAttrac. 2013-07-07 00:15:26 +02:00
Henrik Rydgard
acf94a35f8 Minor audio optimization 2013-07-06 22:21:52 +02:00