diff --git a/options/settingsDisplay.js b/options/settingsDisplay.js index 1c0a4ec..16f32e9 100644 --- a/options/settingsDisplay.js +++ b/options/settingsDisplay.js @@ -298,17 +298,35 @@ }, { "name": "audioFakeRate", - "displayDependencies": { - "protectAudio": [true], - "displayAdvancedSettings": [true] - } + "displayDependencies": [ + { + "blockMode": ["fakeReadout", "fakeInput"], + "protectAudio": [true], + "displayAdvancedSettings": [true] + }, + { + "blockMode": ["askReadout", "ask", "allow"], + "askDenyMode": ["fake"], + "protectAudio": [true], + "displayAdvancedSettings": [true] + } + ] }, { "name": "audioNoiseLevel", - "displayDependencies": { - "protectAudio": [true], - "displayAdvancedSettings": [true] - } + "displayDependencies": [ + { + "blockMode": ["fakeReadout", "fakeInput"], + "protectAudio": [true], + "displayAdvancedSettings": [true] + }, + { + "blockMode": ["askReadout", "ask", "allow"], + "askDenyMode": ["fake"], + "protectAudio": [true], + "displayAdvancedSettings": [true] + } + ] }, "misc", {