Commit graph

531 commits

Author SHA1 Message Date
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
raven02
ace7f5bcb4 Fix Gundam AGE Universe hang up at title screen 2013-05-20 20:30:04 +08:00
Henrik Rydgard
5877929fe5 Add Mersenne Twister random number generator. 2013-05-20 00:57:45 +02:00
Henrik Rydgård
a1060ffabd Merge pull request #1803 from oioitff/atrac3plus
Add atrac3plus filter for windows
2013-05-19 08:09:01 -07:00
raven02
0cf5595b9d DBZ Tag Team requires working sceAtracLowLevelDecode() 2013-05-19 19:54:02 +08:00
Unknown W. Brackets
f67d4f959f Clean up some atrac-related type/shadow warnings. 2013-05-18 10:20:39 -07:00
oioitff
41860c5ade The hack way for numSamples may be still
necessary for some games. Just use a better hack way.
2013-05-17 01:17:58 +08:00
oioitff
7bd3f389c7 Improve getremainFrame.
Fixed Musou Orochi 2 and so on.
2013-05-17 01:15:23 +08:00
oioitff
1a2bcb70ce Not to loop or end audios when numSamples is 0.
Some games may check for it and add more data.
2013-05-14 23:27:04 +08:00
oioitff
34b4cd29a2 add atrac3plus support for sceAtrac 2013-05-14 19:03:53 +08:00
raven02
61c777983b Fix loop problem in Three Kingdom VIII 2013-05-13 21:15:02 +08:00
aquanull
6ab94303b9 av_get_default_channel_layout returns int64_t
And one less signed/unsigned comparison warning.
2013-05-13 16:20:04 +08:00
Henrik Rydgård
7d561eb520 Merge pull request #1779 from oioitff/atrac-fix
Finally got how sceAtracAddStreamData should work.
2013-05-12 06:28:23 -07:00
oioitff
64680a2c68 Revert changes for remainFrame in #1776. 2013-05-12 21:27:41 +08:00
Henrik Rydgard
9ea0f60514 Ugly android buildfix 2013-05-12 15:24:52 +02:00