1
0
Fork 1
forked from suyu/suyu

Logging: Change the TimeStretch::Process log from debug to trace level.

This function is called too many times and makes the debug logging basically unusable due to the spam.
This commit is contained in:
Subv 2018-09-20 22:33:54 -05:00
parent f237265187
commit 8ba21e28cf

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_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);
m_sound_touch.putSamples(in, static_cast<u32>(num_in));