Rename Mixer to AudioEngine (#6127)

This commit is contained in:
Alexandre Almeida authored and GitHub committed 2021-09-12 01:00:21 +02:00
1 parent fa407d2530
commit 770d2498b5
157 files changed
+794 -830

No files matched your search

+2 -2
View File
@@ -45,7 +45,7 @@ SaProcessor::SaProcessor(const SaControls *controls) :
m_terminate(false),
m_inBlockSize(FFT_BLOCK_SIZES[0]),
m_fftBlockSize(FFT_BLOCK_SIZES[0]),
m_sampleRate(Engine::mixer()->processingSampleRate()),
m_sampleRate(Engine::audioEngine()->processingSampleRate()),
m_framesFilledUp(0),
m_spectrumActive(false),
m_waterfallActive(false),
@@ -158,7 +158,7 @@ void SaProcessor::analyze(LocklessRingBuffer<sampleFrame> &ring_buffer)
#endif
// update sample rate
m_sampleRate = Engine::mixer()->processingSampleRate();
m_sampleRate = Engine::audioEngine()->processingSampleRate();
// apply FFT window
for (unsigned int i = 0; i < m_inBlockSize; i++)