Skip to content

Commit

Permalink
Don't load Wave twice in sample channel during serialization (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Jan 27, 2024
1 parent 6b4e71c commit 6640c4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/channels/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Channel::Channel(const Patch::Channel& p, ChannelShared& s, float samplerateRati
case ChannelType::SAMPLE:
case ChannelType::PREVIEW:
sampleChannel.emplace(p, wave, samplerateRatio);
setWave(wave, samplerateRatio);
break;

case ChannelType::MIDI:
Expand Down

0 comments on commit 6640c4c

Please sign in to comment.