X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=input_mapping_dialog.h;h=640644e3898ce9cca25fc950bf9e350477c1b17b;hp=e24a801f0489c46b0ce974bc36572ed5144216a9;hb=refs%2Fheads%2Fffmpeg-audio-only;hpb=5cb4274907d32fb8946558988461224196c2be59 diff --git a/input_mapping_dialog.h b/input_mapping_dialog.h index e24a801..640644e 100644 --- a/input_mapping_dialog.h +++ b/input_mapping_dialog.h @@ -2,12 +2,14 @@ #define _INPUT_MAPPING_DIALOG_H #include -#include +#include +#include #include -#include #include "audio_mixer.h" -#include "mixer.h" +#include "input_mapping.h" + +class QObject; namespace Ui { class InputMappingDialog; @@ -47,6 +49,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 bus_settings; + std::map devices; // Needs no lock, accessed only on the UI thread. AudioMixer::state_changed_callback_t saved_callback; };