- std::vector<gain_t> current_gain;
- std::vector<gain_t> _cut;
- std::vector<bool> _dim;
- std::vector<gain_t> _polarity;
- std::vector<bool> _soloed;
+ struct ChannelRecord {
+ gain_t current_gain;
+ gain_t cut;
+ bool dim;
+ gain_t polarity;
+ bool soloed;
+
+ ChannelRecord ()
+ : current_gain(1.0), cut(1.0), dim(false), polarity(1.0), soloed (false) {}
+ };
+
+ std::vector<ChannelRecord> _channels;
+