]> git.sesse.net Git - nageru/blobdiff - audio_mixer.h
Hook up the EQ controls and labels.
[nageru] / audio_mixer.h
index c332671e0bebd6f385d66b8ddc40fd426fd765ad..1e25f52f32ef6b62e10e3d60e1de1a8cedf3fc72 100644 (file)
@@ -124,6 +124,12 @@ public:
                eq_level_db[bus_index][band] = db_gain;
        }
 
+       float get_eq(unsigned bus_index, EQBand band) const
+       {
+               assert(band >= 0 && band < NUM_EQ_BANDS);
+               return eq_level_db[bus_index][band];
+       }
+
        float get_limiter_threshold_dbfs() const
        {
                return limiter_threshold_dbfs;