Skip to content

Commit

Permalink
added missing setSampleRate calls
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanPudashkin committed Aug 8, 2024
1 parent 42f6656 commit 5c8604a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/framework/audio/internal/worker/mixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ void Mixer::setSampleRate(unsigned int sampleRate)
for (auto& channel : m_trackChannels) {
channel.second->setSampleRate(sampleRate);
}

for (AuxChannelInfo& aux : m_auxChannelInfoList) {
aux.channel->setSampleRate(sampleRate);
}

for (IFxProcessorPtr& fx : m_masterFxProcessors) {
fx->setSampleRate(sampleRate);
}
}

unsigned int Mixer::audioChannelsCount() const
Expand Down

0 comments on commit 5c8604a

Please sign in to comment.