Calculate smoothed prebuffering available amount in the processor

This commit is contained in:
xenakios
2018-05-01 18:22:21 +03:00
parent d42971e09f
commit 60293c6a84
5 changed files with 19 additions and 12 deletions

View File

@ -235,7 +235,8 @@ private:
std::unique_ptr<MyBufferingAudioSource> m_buffering_source;
int m_prebuffer_amount = 1;
bool m_recreate_buffering_source = true;
double m_smoothed_prebuffer_ready = 0.0;
SignalSmoother m_prebufsmoother;
int m_fft_size_to_use = 1024;
double m_last_outpos_pos = 0.0;
double m_last_in_pos = 0.0;