]> git.sesse.net Git - nageru/commitdiff
Name the parameters in audio_level_callback_t.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Nov 2015 15:23:50 +0000 (16:23 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Nov 2015 15:23:50 +0000 (16:23 +0100)
mixer.h

diff --git a/mixer.h b/mixer.h
index c312ee3a756aed8e0ff35ccdc3b5c1d4947919ed..3e5aa68cf2c8c6e31065647436e2eec0f7faaf3c 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -97,7 +97,7 @@ public:
                output_channel[output].set_frame_ready_callback(callback);
        }
 
-       typedef std::function<void(float, float, float, float, float)> audio_level_callback_t;
+       typedef std::function<void(float level_lufs, float peak_db, float global_level_lufs, float range_low_lufs, float range_high_lufs)> audio_level_callback_t;
        void set_audio_level_callback(audio_level_callback_t callback)
        {
                audio_level_callback = callback;