Commit graph

48 commits

Author SHA1 Message Date
raven02
619039aed6 No need to init packet as {0} 2014-04-07 19:29:57 +08:00
Henrik Rydgard
54d4663580 Revert "Merge pull request #5813 from raven02/patch-6"
This reverts commit 7b3828a9ae, reversing
changes made to c724a6c06a.
2014-04-06 21:09:28 +02:00
raven02
e73a49c2b2 sceMp3 : allocate audio frame 2014-04-06 20:48:57 +08:00
raven02
485b5df7cf Remove (AVFormatContext**) 2014-04-06 17:32:28 +08:00
raven02
5b19f1d53c Cleanup /* ... */ 2014-04-05 23:25:49 +08:00
raven02
4a35c726b3 Log channel/samplerate/bitrate 2014-04-05 21:57:26 +08:00
raven02
3b793a55e2 Remove some obsolete unused code 2014-04-05 20:29:00 +08:00
raven02
b6ccd650ff sceMp3 : use bswap32 for swapping endian 2014-04-05 15:26:22 +08:00
Unknown W. Brackets
aea26f666c Clean up some atrac/mp3 potential leaks. 2014-03-30 15:08:38 -07:00
raven02
7577481d6e Change it to ctx->bufferWrite %= ctx->mp3BufSize; 2014-03-29 12:37:33 +08:00
raven02
790c570e67 Fix crash and wrong mp3 playback in Downstream Panic ULUS10322 2014-03-29 12:16:57 +08:00
Unknown W. Brackets
05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
Unknown W. Brackets
c7437bbe8e Fix some minor warnings. 2014-03-03 00:08:32 -08:00
raven02
81887cead3 Init ctx->mp3DecodedBytes/mp3SumDecodedSamples/mp3LoopNum 2014-02-15 22:50:10 +08:00
sum2012
9868734656 Add report 2014-02-15 20:20:04 +08:00
sum2012
88d1cb7016 More logging 2014-02-15 20:15:49 +08:00
sum2012
63adafd967 avoid invalid memory in sceMp3ReserveMp3Handle
Find in Heroes Phantasia
2014-02-15 07:28:52 +08:00
Unknown W. Brackets
21c617a7be Correct some syscall names. 2013-12-02 23:40:16 -08:00
Unknown W. Brackets
ad8c4af936 Respect the bgm vol setting for at3, mp3, video. 2013-10-26 19:33:25 -07:00
Unknown W. Brackets
0b64c5e014 Savestate and shutdown sceMp3 properly.
It wasn't even being saved before.
2013-10-24 20:07:07 -07:00
Unknown W. Brackets
453628946f Free mp3 contexts more carefully. 2013-10-24 19:18:36 -07:00
Unknown W. Brackets
9eda1fc578 Remove code to use last mp3 handle on error.
It was copied from mpeg, where it was added for safety, and it shouldn't
be hit anyway.
2013-10-24 19:07:24 -07:00
Henrik Rydgard
f5a63d7d41 Better fix for the UINT_64 define issue on android 2013-10-20 13:52:31 +02:00
Henrik Rydgård
9088027a29 sceMp3: Add back "wrong name" comments 2013-09-26 17:20:50 +02:00
raven02
380cc61aff Add ERROR_LOG_REPORT for two unknown sceMp3 calls 2013-09-26 17:09:32 +08:00
raven02
0219ab2e93 Implement sceMp3ResetPlayPosition2() 2013-09-26 17:06:08 +08:00
raven02
6141514160 Support load a savestate created with a previous git build 2013-09-25 14:37:27 +08:00
raven02
368e4d93f9 Implement sceMp3GetSumDecodedSample() 2013-09-25 11:50:38 +08:00
The Dax
d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Unknown W. Brackets
0c6fbb461d Tweak ffmpeg logging in mp3/atrac as well. 2013-09-16 08:40:38 -07:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Unknown W. Brackets
2a478c26ca Fix mp3 bit rate info in sceMp3GetBitRate(). 2013-09-01 17:22:19 -07:00
Unknown W. Brackets
c8716d9a02 Fix a few minor typos + small reporting change. 2013-08-12 23:02:39 -07:00
Henrik Rydgard
30ed5110e5 Possible iOS build fix, see #2418 2013-06-23 18:01:11 +02:00
oioitff
ffc3db1429 Bug fix for sceMp3, make sceMp3 work fine. (dunno why this didn't merge before)
Conflicts:
	Core/HLE/sceMp3.cpp
2013-06-23 16:07:37 +02:00
Henrik Rydgard
4eb1638cc3 Merge remote-tracking branch 'origin' into mp3-support
Conflicts:
	Core/HLE/sceAudio.cpp
	Core/HLE/sceMp3.cpp
2013-06-22 18:08:43 +02:00
The Dax
cc60b892a4 Fix logging typos in sceMp3InitResource and sceMp3TermResource. 2013-06-05 20:50:04 -04:00
Unknown W. Brackets
8580780194 Add more unknown syscalls from reporting. 2013-05-22 01:19:25 -07:00
Unknown W. Brackets
cdacdee030 Match syscall names to nids ot be safe.
Don't want any more mistakes like the sceVaudio one.
2013-05-19 22:12:39 -07:00
Unknown W. Brackets
86ce95a658 Add some syscall entries from reporting. 2013-05-19 22:12:38 -07:00
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
Henrik Rydgard
f864e81e72 Get mp3 sample rate and channels from FFMPEG instead of trying to detect ourselves. 2013-05-12 22:29:43 +02:00
Unknown W. Brackets
780e252059 Fix crash in mp3 reading. 2013-05-12 11:41:51 -07:00
Henrik Rydgård
0e1b6d8488 Fix sceMp3 build without USE_FFMPEG 2013-05-12 20:13:07 +02:00
Henrik Rydgard
e65390184e Uncomment some unused stack-corrupting code from sceMp3Decode. Update ffmpeg. 2013-05-12 19:48:12 +02:00
Florent Castelli
501f705ba3 Merge mp3 support from Orphis' old FFMPEG code.
Conflicts:
	CMakeLists.txt
	Core/HLE/sceAudio.cpp
	Core/HLE/sceMp3.cpp
	Core/HLE/sceMpeg.cpp
2013-05-12 19:13:10 +02:00
Jacky TSUI
95addc09b1 Separate sceMp3 from sceMpeg 2013-05-06 21:14:58 +08:00