Skip to content

Commit

Permalink
Remove unnecessary check for 'isInternal' when rendering channels
Browse files Browse the repository at this point in the history
Non-internal channels are already skipped by not rendering internal tracks in Renderer::renderTracks().
  • Loading branch information
gvnnz committed Dec 7, 2024
1 parent fbd650e commit d84ddaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/rendering/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ void Renderer::renderTracks(const model::Tracks& tracks, mcl::AudioBuffer& out,
group.shared->audioBuffer.clear();

for (const Channel& c : track.getChannels().getAll())
if (!c.isInternal())
renderNormalChannel(c, group.shared->audioBuffer, in, hasSolos, seqIsRunning);
renderNormalChannel(c, group.shared->audioBuffer, in, hasSolos, seqIsRunning);

rendering::renderAudioPlugins(group, m_pluginHost);

Expand Down

0 comments on commit d84ddaa

Please sign in to comment.