Commit graph

279 commits

Author SHA1 Message Date
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
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Unknown W. Brackets
ee62c807ee Attempt to read the atrac size from the file. 2013-02-03 16:54:52 -08:00
raven02
8a520faf5d Build fix 2013-02-04 05:25:12 +08:00
Henrik Rydgård
7d6c113a97 Merge pull request #582 from raven02/master
Add few new stubs seen from Dragon Ball Z Tenkaichi Tag Team
2013-02-03 13:15:32 -08:00
raven02
24c720892c Add few stubs seen from Dragon Ball Z Tenkaichi Tag Team 2013-02-04 03:19:55 +08:00
Unknown W. Brackets
5b9721772a Properly set the finish flag at the end. 2013-02-03 10:58:18 -08:00
Unknown W. Brackets
048142d8b1 Approximate atrac as compressing to 1/3 the size. 2013-02-03 10:44:20 -08:00
Unknown W. Brackets
5b6f97955b Always return <= max samples for atrac. 2013-02-03 10:37:47 -08:00
Unknown W. Brackets
160c59cf9b Fix atrac looping, oops. 2013-02-03 10:34:13 -08:00
Unknown W. Brackets
ddedd7c39a This atrac logging hack isn't needed now. 2013-02-03 09:57:02 -08:00
raven02
3e319d5975 Add stubs for _sceAtracGetContextAddress 2013-02-03 08:08:44 +08:00
raven02
eb639d18b4 Init first and second buffer struct 2013-02-03 04:53:43 +08:00
Unknown W. Brackets
56e051a9c4 Attempt at sceAtracResetPlayPosition(). 2013-02-01 23:16:18 -08:00