mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add INFO_LOG for atrac3+ audio
This commit is contained in:
parent
a4326d689c
commit
7ae62fc0d6
1 changed files with 2 additions and 5 deletions
|
@ -433,10 +433,6 @@ u32 sceAtracAddStreamData(int atracID, u32 bytesToAdd)
|
|||
if (atrac->data_buf && (bytesToAdd > 0)) {
|
||||
int addbytes = std::min(bytesToAdd, atrac->first.filesize - atrac->first.fileoffset);
|
||||
Memory::Memcpy(atrac->data_buf + atrac->first.fileoffset, atrac->first.addr, addbytes);
|
||||
#ifdef _USE_DSHOW_
|
||||
if (atrac->first.fileoffset + addbytes >= atrac->first.filesize)
|
||||
addAtrac3Audio(atrac->data_buf, atrac->first.filesize, atracID);
|
||||
#endif
|
||||
}
|
||||
atrac->first.size += bytesToAdd;
|
||||
if (atrac->first.size > atrac->first.filesize)
|
||||
|
@ -880,7 +876,8 @@ int _AtracSetData(Atrac *atrac, u32 buffer, u32 bufferSize)
|
|||
Memory::Memcpy(atrac->data_buf, buffer, std::min(bufferSize, atrac->first.filesize));
|
||||
|
||||
return __AtracSetContext(atrac, buffer, bufferSize);
|
||||
}
|
||||
} else if (atrac->codeType == PSP_MODE_AT_3_PLUS)
|
||||
INFO_LOG(HLE, "This is an atrac3+ audio");
|
||||
#endif // _USE_FFMPEG
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue