Commit graph

221 commits

Author SHA1 Message Date
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
Henrik Rydgård
9d2e8b1799 Merge pull request #2632 from raven02/patch-3
Add preliminary volume control for BGM and SE
2013-07-06 12:18:40 -07:00
Henrik Rydgard
cc58e34cf8 Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon. 2013-07-06 20:45:44 +02:00
raven02
6c3895491e Add preliminary volume control for BGM and SE 2013-07-06 16:54:13 +08:00
raven02
80d8e9dbfa Add bit more logging for mono/stereo atrac3/3+ audio 2013-07-02 16:06:31 +08:00
oioitff
0e7f41f65e Improve _AtracGenarateContext.
Remove hack for releasing atrac3 voice.
2013-06-26 00:55:58 +08:00
Lioncash
b823bb7543 Change PSPPointer function name Valid to IsValid.
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Henrik Rydgård
83c17994f9 Merge pull request #2397 from oioitff/atrac-fix
Start looping if there is not enough samples.
2013-06-22 07:33:40 -07:00
oioitff
2432101216 Start looping if there is not enough samples.
Fix noise in some looping bgm.
2013-06-22 21:25:08 +08:00
Henrik Rydgard
4bb9e32f03 Atrac3: Bail on bad data 2013-06-21 01:01:28 +02:00
Henrik Rydgard
27f8f6a2f5 Logging reduction 2013-06-20 21:57:09 +02:00
oioitff
7adb16e3ac Bug fix for sceAtrac. 2013-06-18 13:55:45 +08:00
Unknown W. Brackets
9683e021ea Fix return on atrac release, fix deinit/reinit. 2013-06-16 22:28:03 -07:00
Unknown W. Brackets
ea299e358d Oops, dumb typo. 2013-06-16 22:18:17 -07:00
Unknown W. Brackets
d6de868108 Correctly savestate the atrac ids. 2013-06-16 20:03:09 -07:00
Unknown W. Brackets
b4269bce53 Implement sceAtracReinit(), reuse atracIDs.
The same way tests show the PSP does.  Fixes Ridge Racer mini loading
game when you try to play too long.
2013-06-16 19:05:10 -07:00
Unknown W. Brackets
25bba708e1 Make it so createAtrac() can return an error.
It doesn't yet, but if it's out of IDs, it should.
2013-06-16 18:42:41 -07:00
Unknown W. Brackets
7531e50d27 Ignore/fail on bad seeks for atrac3 audio.
This was happening in Disgaea, and causing it to crash.
2013-06-14 23:26:31 -07:00
oioitff
1e00e0f519 Use a hack method to release already finished atrac3 voice. 2013-06-12 20:55:40 +08:00
oioitff
64b73ee51d Improve Atrac id generating and fix crash. 2013-06-09 21:10:41 +08:00
oioitff
406a6adf6d Improve _AtracGenarateContext.
Fix tiny bug for savestate.
2013-06-09 19:06:24 +08:00
Unknown W. Brackets
f0cdc230d0 Savestate the context thing properly.
Just to make sure we don't leak kernel memory on load state.
2013-06-08 12:30:40 -07:00
oioitff
cac9b89823 Basically implement _sceAtracGetContextAddress. 2013-06-09 01:31:45 +08:00
oioitff
a51291e69c Add Info logs for low level decode. 2013-06-08 01:43:39 +08:00
oioitff
3e0e1f6f35 A tiny mistake in low level atrac3 decode. 2013-06-08 01:38:08 +08:00
oioitff
4385362369 Max sample number for atrac3plus should be 0x800.
Fix bgm and voice for Black Rock Shooter.
2013-06-07 20:38:31 +08:00
oioitff
a2f9fc9540 Fix sceAtracGetBufferInfoForReseting. 2013-06-07 20:21:25 +08:00