1
0
Fork 0
forked from suyu/suyu

Merge pull request #1376 from Subv/timestretch_trace

Logging: Change the TimeStretch::Process log from debug to trace level.
This commit is contained in:
bunnei 2018-09-22 01:30:28 -04:00 committed by GitHub
commit 0246db9ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ std::size_t TimeStretcher::Process(const s16* in, std::size_t num_in, s16* out,
m_stretch_ratio = std::max(m_stretch_ratio, 0.05); m_stretch_ratio = std::max(m_stretch_ratio, 0.05);
m_sound_touch.setTempo(m_stretch_ratio); m_sound_touch.setTempo(m_stretch_ratio);
LOG_DEBUG(Audio, "{:5}/{:5} ratio:{:0.6f} backlog:{:0.6f}", num_in, num_out, m_stretch_ratio, LOG_TRACE(Audio, "{:5}/{:5} ratio:{:0.6f} backlog:{:0.6f}", num_in, num_out, m_stretch_ratio,
backlog_fullness); backlog_fullness);
m_sound_touch.putSamples(in, static_cast<u32>(num_in)); m_sound_touch.putSamples(in, static_cast<u32>(num_in));