Skip to content

Commit

Permalink
reinstate bunghole UGen; equivalent to blackhole
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Apr 14, 2024
1 parent bb2bd3c commit 37824b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/chuck_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ t_CKBOOL type_engine_init( Chuck_Carrier * carrier )
env->key_values["week"] = TRUE;
env->key_values["adc"] = TRUE;
env->key_values["dac"] = TRUE;
env->key_values["bunghole"] = TRUE;
env->key_values["blackhole"] = TRUE;
env->key_values["global"] = TRUE;
env->key_values["chout"] = TRUE;
Expand Down Expand Up @@ -3294,6 +3295,13 @@ t_CKTYPE type_engine_check_exp_primary( Chuck_Env * env, a_Exp_Primary exp )
// ugen
t = env->ckt_adc;
}
else if( str == "bunghole" ) // bunghole | reinstated 1.5.2.4 (ge)
{
// non assignable
exp->self->s_meta = ae_meta_value;
// ugen
t = env->ckt_ugen;
}
else if( str == "blackhole" ) // blackhole
{
// non assignable
Expand Down

0 comments on commit 37824b1

Please sign in to comment.