]> git.sesse.net Git - nageru/blobdiff - nageru/mainwindow.h
Give the theme access to basic audio information.
[nageru] / nageru / mainwindow.h
index a0c090fcd86a138e8c230708061bf126d172274e..7d6b42a9a5f8258c06bdf3dddef7bb694b1cd64a 100644 (file)
@@ -87,6 +87,7 @@ public slots:
        void set_gain(unsigned bus_idx, float value) override;
        void set_compressor_threshold(unsigned bus_idx, float value) override;
        void set_fader(unsigned bus_idx, float value) override;
+       void set_fader_absolute(unsigned bus_idx, float value_db);  // Used by the theme only.
 
        void toggle_mute(unsigned bus_idx) override;
        void toggle_locut(unsigned bus_idx) override;
@@ -145,7 +146,7 @@ private:
        void next_page();
 
        // Called from DiskSpaceEstimator.
-       void report_disk_space(off_t free_bytes, double estimated_seconds_left);
+       void report_disk_space(off_t free_bytes, double estimated_seconds_left, double file_length_seconds);
 
        // Called from the mixer.
        void audio_level_callback(float level_lufs, float peak_db, std::vector<AudioMixer::BusLevel> bus_levels, float global_level_lufs, float range_low_lufs, float range_high_lufs, float final_makeup_gain_db, float correlation);