Commit Graph
542 Commits
Author SHA1 Message Date
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
raven02 da738957c2 Improve Analyze()/ GetNextSample() / GetSoundSample() / SetLoopNum() in sceAtrac 2013-04-13 00:49:22 +08:00
raven02 746b866129 Add readSize > halfBufferSize for sceAtracSetHalfwayBufferAndGetID 2013-04-12 09:54:10 +08:00
Unknown W. Brackets 901fa960ab Fix params for sceAtracSetHalfwayBufferAndGetID(). 2013-04-09 08:22:01 -07:00
Unknown W. Brackets ed599375bf Handle fragmented atrac IDs better.
This avoids conflicts when ids are deleted.
2013-03-22 08:25:14 -07:00
Unknown W. Brackets 9dddd0d90d Validate addresses when analyzing atrac. 2013-03-13 22:59:07 -07:00
Unknown W. Brackets e3aaf8284b Always say the second buffer isn't needed. 2013-03-11 08:36:47 -07:00
raven02 9f127fcf0d Turn down level sceAtracDecodeData log level 2013-03-06 07:02:40 +08:00
Unknown W. Brackets 64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08:00
Unknown W. Brackets 51d5b84108 Fix some misc HLE warnings. 2013-02-18 09:04:43 -08:00
Unknown W. Brackets 112c1e9e23 Automatically delete pointers when savestating. 2013-02-04 08:28:22 -08:00
Unknown W. Brackets a4032c5170 Simplify savestate code so it's all automagical.
If you can't beat 'em, join 'em?
2013-02-04 08:27:01 -08:00