Fix: Deactivate audio settings when output is None
This commit is contained in:
parent
33d9a0c951
commit
91c652e39a
@ -570,7 +570,7 @@ class USERPREF_PT_system_sound(SystemPanel, CenterAlignMixIn, Panel):
|
||||
layout.prop(system, "audio_device", expand=False)
|
||||
|
||||
sub = layout.grid_flow(row_major=False, columns=0, even_columns=False, even_rows=False, align=False)
|
||||
sub.active = system.audio_device not in {'NONE', 'Null'}
|
||||
sub.active = system.audio_device not in {'NONE', 'None'}
|
||||
sub.prop(system, "audio_channels", text="Channels")
|
||||
sub.prop(system, "audio_mixing_buffer", text="Mixing Buffer")
|
||||
sub.prop(system, "audio_sample_rate", text="Sample Rate")
|
||||
|
Loading…
x
Reference in New Issue
Block a user