mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-24 19:00:54 +00:00
Fix a bunch of formatting warnings.
This commit is contained in:
parent
e7336106e9
commit
29bd4b63e4
@ -79,7 +79,7 @@ int sceAudiocodecInit(u32 ctxPtr, int codec) {
|
||||
auto decoder = new SimpleAudio(ctxPtr, codec);
|
||||
audioList.push_front(decoder);
|
||||
INFO_LOG(ME, "sceAudiocodecInit(%08x, %i (%s))", ctxPtr, codec, GetCodecName(codec));
|
||||
DEBUG_LOG(ME, "Number of playing sceAudioCodec audios : %d", audioList.size());
|
||||
DEBUG_LOG(ME, "Number of playing sceAudioCodec audios : %d", (int)audioList.size());
|
||||
return 0;
|
||||
}
|
||||
ERROR_LOG_REPORT(ME, "sceAudiocodecInit(%08x, %i (%s)): Unknown audio codec %i", ctxPtr, codec, GetCodecName(codec), codec);
|
||||
|
@ -193,7 +193,7 @@ u32 sceMp3ReserveMp3Handle(u32 mp3Addr) {
|
||||
Au->PCMBuf = Memory::Read_U32(mp3Addr + 24); // Output PCM data buffer.
|
||||
Au->PCMBufSize = Memory::Read_U32(mp3Addr + 28); // Output PCM data buffer size.
|
||||
|
||||
DEBUG_LOG(ME, "startPos %x endPos %x mp3buf %08x mp3bufSize %08x PCMbuf %08x PCMbufSize %08x",
|
||||
DEBUG_LOG(ME, "startPos %llx endPos %llx mp3buf %08x mp3bufSize %08x PCMbuf %08x PCMbufSize %08x",
|
||||
Au->startPos, Au->endPos, Au->AuBuf, Au->AuBufSize, Au->PCMBuf, Au->PCMBufSize);
|
||||
|
||||
Au->audioType = PSP_CODEC_MP3;
|
||||
|
@ -196,12 +196,12 @@ u32 sceAacInit(u32 id)
|
||||
return ERROR_AAC_INVALID_ADDRESS;
|
||||
}
|
||||
if (aac->startPos < 0 || aac->startPos > aac->endPos) {
|
||||
ERROR_LOG(ME, "sceAacInit() AAC INVALID startPos %i endPos %i", aac->startPos, aac->endPos);
|
||||
ERROR_LOG(ME, "sceAacInit() AAC INVALID startPos %lli endPos %lli", aac->startPos, aac->endPos);
|
||||
delete aac;
|
||||
return ERROR_AAC_INVALID_PARAMETER;
|
||||
}
|
||||
if (aac->AuBufSize < 8192 || aac->PCMBufSize < 8192) {
|
||||
ERROR_LOG(ME, "sceAacInit() AAC INVALID PARAMETER, bufferSize %i outputSize %i reserved %i", aac->AuBufSize, aac->PCMBufSize);
|
||||
ERROR_LOG(ME, "sceAacInit() AAC INVALID PARAMETER, bufferSize %i outputSize %i", aac->AuBufSize, aac->PCMBufSize);
|
||||
delete aac;
|
||||
return ERROR_AAC_INVALID_PARAMETER;
|
||||
}
|
||||
@ -211,7 +211,7 @@ u32 sceAacInit(u32 id)
|
||||
return ERROR_AAC_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
DEBUG_LOG(ME, "startPos %x endPos %x AuBuf %08x AuBufSize %08x PCMbuf %08x PCMbufSize %08x freq %d",
|
||||
DEBUG_LOG(ME, "startPos %llx endPos %llx AuBuf %08x AuBufSize %08x PCMbuf %08x PCMbufSize %08x freq %d",
|
||||
aac->startPos, aac->endPos, aac->AuBuf, aac->AuBufSize, aac->PCMBuf, aac->PCMBufSize, aac->freq);
|
||||
|
||||
aac->Channels = 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user