Commit Graph
195 Commits
Author SHA1 Message Date
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
oioitff 5fb92f6fd8 Bug fix for _AtracSetData. 2013-06-06 15:51:21 +08:00
oioitff 4d18a0a9b5 The correct fix for choppy cg audios and bgm.
And fix missing bgm and voice issue for 7th Dragon 2020.
2013-06-06 06:10:31 +08:00
raven02 8efff9ab90 Re-enable atrac3+ mono audio 2013-06-04 11:16:55 +08:00
oioitff c9d07575f5 Implement sceAtracGetBufferInfoForReseting 2013-06-03 21:33:34 +08:00
oioitff f9a6c95d93 fix a tiny bug for atrac crash 2013-06-03 20:02:44 +08:00
raven02 4399c460aa Temporary disable atrac3+ mono which crash on Android platform 2013-06-03 08:02:00 +08:00
Henrik Rydgard 1e84dd23d7 Hide atrac3+ option if no codec dll/.so installed 2013-06-01 19:12:11 +02:00
Unknown W. Brackets 06c19622d5 Fix some init/type warnings. 2013-05-31 23:14:29 -07:00
Unknown W. Brackets 98f99e1e3c Fix some initialization order warnings. 2013-05-31 23:14:28 -07:00
Unknown W. Brackets ffbe28fc61 Fix some minor type conversion warnings. 2013-05-31 23:14:26 -07:00
lioncash 85098289e8 Fix improper clearing of the sample queue in sceAtrac.cpp 2013-05-30 12:15:17 -04:00
Henrik Rydgard 2bdb338bf5 Turn down some excessive logging. 2013-05-30 16:21:53 +02:00
King_DuckZ 61500281a9 Warning fix on Intel compiler. 2013-05-30 15:42:11 +02:00
King_DuckZ 1455452850 Trailing whitespaces removed. 2013-05-30 15:42:11 +02:00
oioitff 852a07d347 Remove all dshow stuff. 2013-05-30 19:14:18 +08:00
oioitff b0a3f803e0 Add support for new atrac3plus decoder 2013-05-30 17:33:47 +08:00
raven02 c41ac3659f Move low level atrac3 audio WARN_LOG to sceAtracLowLevelInitDecoder 2013-05-27 20:38:31 +08:00
oioitff f158eed95b Build fix, sorry. 2013-05-27 18:18:20 +08:00
oioitff 8ca79f8959 Implement low level atrac3 decoder. 2013-05-27 16:49:00 +08:00
raven02 84ccfde2ef Fix crash when low level decode hits atrac3 audio 2013-05-24 23:20:14 +08:00
raven02 95cbd3c50c Add (low level) to distinguish with high level decode 2013-05-24 22:43:10 +08:00
raven02 104c20d787 Add atrac3+ mono audio WARN_LOG when atrac->atracChannels == 1 2013-05-24 23:33:22 +09:00
raven02 bc1c83afc6 Integrate atrac3+ low level decoding from oioitff media branch 2013-05-24 21:15:51 +08:00
oioitff 455708bbc3 Fake implement low level atrac decoder. 2013-05-24 01:00:27 +08:00
oioitff 67eeb112a9 Normally, remainFrame is not less than 0. 2013-05-24 00:55:10 +08:00
oioitff 2fff5b143e Fix freeze issue for atrac3plus. 2013-05-21 00:02:52 +08:00