The `(family, feature_id)` pair for 0x96 DSP features. Returns `None` for features using other protocols.
(&self)
| 214 | /// The `(family, feature_id)` pair for 0x96 DSP features. |
| 215 | /// Returns `None` for features using other protocols. |
| 216 | pub fn dsp_address(&self) -> Option<(u8, u8)> { |
| 217 | match self { |
| 218 | Self::SurroundToggle => Some((0x96, 0x00)), |
| 219 | Self::SurroundLevel => Some((0x96, 0x01)), |
| 220 | Self::DialogPlusToggle => Some((0x96, 0x02)), |
| 221 | Self::DialogPlusLevel => Some((0x96, 0x03)), |
| 222 | Self::SmartVolToggle => Some((0x96, 0x04)), |
| 223 | Self::SmartVolLevel => Some((0x96, 0x05)), |
| 224 | Self::SmartVolMode => Some((0x96, 0x06)), |
| 225 | Self::CrystalizerToggle => Some((0x96, 0x07)), |
| 226 | Self::CrystalizerLevel => Some((0x96, 0x08)), |
| 227 | Self::EqToggle => Some((0x96, 0x09)), |
| 228 | Self::EqPreAmp => Some((0x96, 0x0a)), |
| 229 | Self::Eq31Hz => Some((0x96, 0x0b)), |
| 230 | Self::Eq62Hz => Some((0x96, 0x0c)), |
| 231 | Self::Eq125Hz => Some((0x96, 0x0d)), |
| 232 | Self::Eq250Hz => Some((0x96, 0x0e)), |
| 233 | Self::Eq500Hz => Some((0x96, 0x0f)), |
| 234 | Self::Eq1kHz => Some((0x96, 0x10)), |
| 235 | Self::Eq2kHz => Some((0x96, 0x11)), |
| 236 | Self::Eq4kHz => Some((0x96, 0x12)), |
| 237 | Self::Eq8kHz => Some((0x96, 0x13)), |
| 238 | Self::Eq16kHz => Some((0x96, 0x14)), |
| 239 | Self::SurroundDistance => Some((0x96, 0x17)), |
| 240 | Self::BassToggle => Some((0x96, 0x18)), |
| 241 | Self::BassLevel => Some((0x96, 0x19)), |
| 242 | _ => None, |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | /// Features that must be ON for this feature to work. |
| 247 | pub fn dependencies(&self) -> &'static [FeatureId] { |
no outgoing calls