Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Mixdown allows applying $config->{latency_op}

  • Loading branch information...
commit 7699e6d748e5ff70aedf00a6d6db3fc5f4eb0a79 1 parent 705bb79
bolangi authored

Showing 1 changed file with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. +6 1 src/Effects.p
7 src/Effects.p
@@ -203,7 +203,12 @@ sub add_effect {
203 203
204 204 set_chain_value($p);
205 205
206   - die "user effects forbidden on this track" if $ti{$p->{chain}} and $ti{$p->{chain}}->forbid_user_ops;
  206 + # forbid_user_ops means forbid all except latency op
  207 +
  208 + die "user effects forbidden on this track"
  209 + if $ti{$p->{chain}}
  210 + and $ti{$p->{chain}}->forbid_user_ops
  211 + and $p->{type} !~ /$config->{latency_op}/;
207 212
208 213 logpkg('debug',sub{ "add effect arguments - 1:\n".yaml_out($p)});
209 214

0 comments on commit 7699e6d

Please sign in to comment.
Something went wrong with that request. Please try again.