mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Use db_to_gain_fast() in plugins
This commit is contained in:
@@ -187,7 +187,7 @@ impl Plugin for Sine {
|
||||
};
|
||||
|
||||
for sample in channel_samples {
|
||||
*sample = sine * util::db_to_gain(gain);
|
||||
*sample = sine * util::db_to_gain_fast(gain);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user