]> git.sesse.net Git - nageru/blobdiff - input_mapping_dialog.h
Let settings follow buses when editing the mapping.
[nageru] / input_mapping_dialog.h
index e24a801f0489c46b0ce974bc36572ed5144216a9..3fa11e3fc63c63529d0c3ce73336001c34b52561 100644 (file)
@@ -47,6 +47,11 @@ private:
        // held forever).
        InputMapping old_mapping;
 
+       // One for each bus in the mapping. Edited along with the mapping,
+       // so that old volumes etc. are being kept in place for buses that
+       // existed before.
+       std::vector<AudioMixer::BusSettings> bus_settings;
+
        std::map<DeviceSpec, DeviceInfo> devices;  // Needs no lock, accessed only on the UI thread.
        AudioMixer::state_changed_callback_t saved_callback;
 };