diff --git a/modules/libSceAudioOut/entry.cpp b/modules/libSceAudioOut/entry.cpp index f9c6d3e2..b0bf3b84 100644 --- a/modules/libSceAudioOut/entry.cpp +++ b/modules/libSceAudioOut/entry.cpp @@ -229,7 +229,7 @@ EXPORT SYSV_ABI int32_t sceAudioOutInit(void) { return Err::AudioOut::OUT_OF_MEMORY; } -EXPORT SYSV_ABI int32_t sceAudioOutOpen(int32_t userId, SceAudioOutPortType type, int32_t index, uint32_t len, uint32_t freq, uint32_t param) { +EXPORT SYSV_ABI int32_t sceAudioOutOpen(int32_t userId, SceAudioOutPortType type, int32_t index, uint32_t numSamples, uint32_t sampleRate, uint32_t param) { if (!audioInited) return Err::AudioOut::NOT_INIT; LOG_USE_MODULE(libSceAudioOut); LOG_TRACE(L"%S", __FUNCTION__); diff --git a/modules/libSceAvPlayer/avplayer.cpp b/modules/libSceAvPlayer/avplayer.cpp index a5dae8b2..5d93bdb9 100644 --- a/modules/libSceAvPlayer/avplayer.cpp +++ b/modules/libSceAvPlayer/avplayer.cpp @@ -282,9 +282,9 @@ bool Avplayer::getVideoData(void* info, bool isEx) { if (retRecv < 0) { if (retRecv == AVERROR(EAGAIN)) { if (!m_isStop) { - LOG_DEBUG(L"-> wait video frame"); + LOG_TRACE(L"-> wait video frame"); m_video.m_cond.wait(lock); - LOG_DEBUG(L"<- wait video frame"); + LOG_TRACE(L"<- wait video frame"); continue; } } else if (retRecv != AVERROR_EOF) { @@ -315,7 +315,7 @@ bool Avplayer::getVideoData(void* info, bool isEx) { auto const timestamp = (int64_t)(1000.0 * av_q2d(m_video.stream->time_base) * m_video.frame->best_effort_timestamp); // timestamp[seconds] to [ms] auto const curTime = (av_gettime() - m_startTime) / 1000; // [us] to [ms] - LOG_DEBUG(L"video frame timestamp:%lld", curTime); + LOG_TRACE(L"video frame timestamp:%lld", curTime); if (timestamp > curTime) { return false; } @@ -393,9 +393,9 @@ bool Avplayer::getAudioData(SceAvPlayerFrameInfo* info) { if (retRecv < 0) { if (retRecv == AVERROR(EAGAIN)) { if (!m_isStop) { - LOG_DEBUG(L"-> wait audio frame"); + LOG_TRACE(L"-> wait audio frame"); m_audio.m_cond.wait(lock); - LOG_DEBUG(L"<- wait audio frame"); + LOG_TRACE(L"<- wait audio frame"); continue; } } else if (retRecv != AVERROR_EOF) {