HeadsetActiveEQPreset.build runs before HeadsetAdvancedEQ.build and probes each EQ slot via getCustomEQ, which needs the step_db from getEQInfos to decode gain values. Without the cache, the first pass decoded gains as all 0.0dB and logged a "no cached getEQInfos — gain values will be wrong" warning. Cache the dict on device._advanced_eq_info as soon as we have it so every later caller sees the right step_db. |
||
|---|---|---|
| .. | ||
| hid_parser | ||
| hidapi | ||
| keysyms | ||
| logitech_receiver | ||
| solaar | ||