Unknown W. Brackets
bc1e6e12f5
Mp3: Return total frame count in sceMp3GetFrameNum.
...
This might fix games failing to play mp3s correctly.
2019-04-28 07:10:26 -07:00
Unknown W. Brackets
95d3d99343
Mp3: Fix loop func errors, clamp to -1.
...
Might matter if some game is checking the result.
2019-04-28 06:36:48 -07:00
Unknown W. Brackets
0d6570e8ad
Mp3: Correct sceMp3GetMaxOutputSample.
...
Was based on output buffer size, rather than frame size, before.
Fixes choppy audio in Velocity.
2019-04-24 14:31:12 -07:00
Unknown W. Brackets
be6710ea4a
Mp3: Fix errors for a bunch of init getters.
2019-04-24 14:13:46 -07:00
Unknown W. Brackets
5f82258fa1
Mp3: Detect offset headers, reject invalid data.
...
ID3 handling not really tested. Left some error codes disabled in case
people are happily playing some custom BGM that the PSP didn't support.
2019-04-24 09:16:21 -07:00
Unknown W. Brackets
e4d2712897
Mp3: Apply offset to stream read buffer.
...
Handle errors for sceMp3CheckStreamDataNeeded as well.
2019-04-23 21:14:54 -07:00
Unknown W. Brackets
f1eaf9dc0e
Mp3: Don't change buffer accounting until add.
...
If we just ask what we should add, that is meant to stay static until we
do actually add it.
This also reduces the max we ask for at a time, which better matches
correct behavior and might impact game behavior.
2019-04-23 20:18:16 -07:00
Unknown W. Brackets
709c9dc93c
Mp3: Fix errors on sceMp3NotifyAddStreamData.
2019-04-23 19:48:01 -07:00
Unknown W. Brackets
5b9a3e6ca8
Mp3: Improve handle releasing behavior.
2019-04-22 23:01:40 -07:00
Unknown W. Brackets
4563d9487b
Mp3: Better errors in sceMp3GetInfoToAddStreamData.
2019-04-22 22:57:05 -07:00
Unknown W. Brackets
351a10bd69
Mp3: Allow allocating two mp3 handles.
...
The handles are always 0 or 1, not pointers, which might be relied upon by
some games. Two could be used with the same pointer.
This also makes NULL a valid pointer, which is used for low level mp3s.
2019-04-21 22:28:04 -07:00
Unknown W. Brackets
4ae2108629
Mp3: Fail to reserve if resource not inited.
...
Also, add a required parameter for sceMp3LowLevelInit, since it fails
unless proper values are passed for this on a PSP.
2019-04-21 19:54:34 -07:00
Unknown W. Brackets
92829d47fd
Mp3: Better match resched on resource init/term.
...
It always seems to return 0, though.
2019-04-21 18:22:56 -07:00
Unknown W. Brackets
fcf0518223
Update all the HLE tables with arg and ret info.
2015-03-22 20:51:55 -07:00
Lioncash
4ccb838306
Core: Mark some module functions as static
2014-12-08 04:40:08 -05:00
Henrik Rydgard
cefc0bc96f
Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen".
2014-06-22 17:02:04 +02:00
Henrik Rydgard
1d0cc3417c
Audio stuff: Cleanup, delete dead code
2014-06-22 14:01:23 +02:00
Unknown W. Brackets
29bd4b63e4
Fix a bunch of formatting warnings.
2014-05-21 07:59:58 -07:00
raven02
fbbd37d707
Delay thread for sceMp3Decode()
2014-04-15 21:55:28 +08:00
kaienfr
c6a1b0e743
Provide a new method AuCtx::AuCreateCodecContextFromSource()
...
This method can automatically read audio information from file (as channels, sample rate etc) via ffmpeg,
and create accurate ffmpeg's codec context.
Especially used for unknown audio format but supported by ffmpeg.
2014-04-14 13:23:10 +02:00
kaienfr
73d8786078
Change error log to info in sceMp3LowLevelInit
2014-04-14 12:00:19 +02:00
kaienfr
d5fde0baee
implement sceMp3GetFrameNum
2014-04-14 11:47:28 +02:00
kaienfr
6db28f0691
more cleanup
2014-04-13 21:42:46 +02:00
kaienfr
d5e583ee14
correct some comments.
2014-04-13 21:15:41 +02:00
kaienfr
ba34b211f1
Support sceMp3LowLevel*
...
Gundam G custom BGM is supported now :)
2014-04-13 21:11:04 +02:00