+ void set_gain_staging_db(float gain_db)
+ {
+ std::unique_lock<std::mutex> lock(level_compressor_mutex);
+ level_compressor_enabled = false;
+ gain_staging_db = gain_db;
+ }
+
+ void set_gain_staging_auto(bool enabled)
+ {
+ std::unique_lock<std::mutex> lock(level_compressor_mutex);
+ level_compressor_enabled = enabled;
+ }
+