Skip to content

Commit

Permalink
Introduce new if-case to set a JumpPositionFlag for the second block …
Browse files Browse the repository at this point in the history
…that is created if multiple automation points are placed on same timestamp.
  • Loading branch information
merktj authored and rsjbailey committed Mar 25, 2021
1 parent 4c4dd0e commit 5ca119e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,11 @@ std::optional<std::vector<std::shared_ptr<adm::AudioBlockFormatObjects>>> Cumula
block->set((adm::Rtime)rtime);
block->set((adm::Duration)duration);

// Use JumpPosition for second block if multiple points at same position
if (multipleValuesForSingleParameterAtTime(*timeIt) && processBack) {
block->set(adm::JumpPosition((adm::JumpPositionFlag)true));
}

blocks.push_back(block);
}

Expand Down

0 comments on commit 5ca119e

Please sign in to comment.