Commit graph

153 commits

Author SHA1 Message Date
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
oioitff
066a2e2182 Add some comments for sceAtrac 2013-05-12 21:14:41 +08:00
oioitff
7b8fb33ebc Improve sceAtracAddStreamData. 2013-05-12 20:04:50 +08:00
raven02
d822be8ac9 Bitrate calculation based on uofw implementation. 2013-05-12 17:00:21 +08:00
Henrik Rydgård
d1eca34d05 Merge pull request #1745 from oioitff/atrac-fix
Improve sceAtracAddStreamData
2013-05-11 00:56:28 -07:00
raven02
be4f1a00b6 Show the log in yellow color 2013-05-10 23:47:05 +08:00
raven02
7ae62fc0d6 Add INFO_LOG for atrac3+ audio 2013-05-10 23:42:10 +08:00
oioitff
b1ec715d2f sceAtracAddStreamData is only available after
sceAtracGetStreamDataInfo called.
2013-05-10 19:56:53 +08:00
oioitff
3555d656a4 Revert #1731 for sceAtrac
It's not working correctly.
2013-05-10 16:38:06 +08:00
oioitff
7cc0cdd346 Only add stream data when it need more atrac data.
Tested with Djmax Portable.
2013-05-09 19:59:13 +08:00
oioitff
529e2f5d52 Build fix, sorry. 2013-05-09 00:19:40 +08:00
oioitff
f86bc2f3da Improve remainFrame. 2013-05-08 23:50:26 +08:00
Henrik Rydgård
d8f9790abc Some Mac build fixes from vit9696 and some more. Update submodules. 2013-05-07 00:08:57 +02:00
oioitff
0d2fbeff9c Improve remainFrame in sceAtrac 2013-05-06 04:02:16 +08:00
Unknown W. Brackets
0d7863138b Don't just say 0 for remainFrame in sceAtrac.
Fixes LittleBigPlanet.
2013-05-05 09:28:36 -07:00
Unknown W. Brackets
0613e4b20d Correct savestate logic in atrac.
Not 100% sure it works though, it doesn't crash and games run.
USE_FFMPEG builds with this change.
2013-05-04 09:30:06 -07:00
Henrik Rydgard
34b1c24daf Buildfix for some new compiler 2013-05-04 17:46:44 +02:00
raven02
4373c1170d Basic Atrac3 Support in sceAtrac using ffmpeg 2013-05-04 16:00:00 +08:00
nachume
c95c85ea8d I'm sorry. Comment was unnecessary
and sceAtrac too.
2013-05-02 01:05:22 +09:00
nachume
eac08a496c FIX unintelligible sequence of decimal characters on savedialog.
ppge_atlas JPN font define ShiftJIS -> UTF8 is all ok.
    but, cannot use all of chinese character. bacause blockAlloc failed. 
    So no change drawing Kanji.
    you can try to change native/tools/atlastool.cpp USE_LEVEL for all of chinese character.

FIX savedialog XXXGetStatus() loop. for daungeon traveler 2.
    Can now be saved it.
FIX sceAtrac getCodec  InvalidMemory
2013-05-02 00:14:41 +09:00
sum2012
2d937584e0 Fix Fix Sengoku Musou 3 Z Special crash in sceAtracGetChannel 2013-04-30 02:01:17 +08:00
Unknown W. Brackets
993554e873 Revert sceAtracGetSecondBufferInfo().
I don't know if those changes fixed any games, but they look wrong.
Reverting fixes Holy Invasion of Privacy and Valkyrie Profile.
2013-04-28 12:43:17 -07:00
raven02
9bd8531110 Add Memory::IsValidAddress to sceAtracGetSoundSample() 2013-04-16 15:19:07 +08:00
raven02
fd1bc40c07 Few more updates to sceAtracGetSoundSample() & sceAtracGetSecondBufferInfo 2013-04-16 15:12:19 +08:00
raven02
b9b01cc05a More update to sceAtrac 2013-04-16 14:03:24 +08:00
Henrik Rydgård
8fd5328cc0 Merge pull request #1263 from raven02/patch-10
Improve bunch of functions in sceAtrac
2013-04-15 05:39:47 -07:00
Henrik Rydgård
724f84ce6d Merge pull request #1271 from raven02/patch-12
Suppress static noise from PCM output
2013-04-13 13:14:49 -07:00
Unknown W. Brackets
e5c4894bce Set the buffer values in sceAtracSetHalfwayBuffer.
We set them in the GetID() one, so ought to here as well.
2013-04-13 09:24:55 -07:00
raven02
0691871125 Suppress static noise from PCM output 2013-04-13 20:27:16 +08:00