From 29ebb56f4d8b99ca3038c7a3d0ed794ef77ee7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20M=C3=BCller?= Date: Fri, 24 Jul 2015 15:44:17 +0200 Subject: Audaspace: support the device list returned by the new audaspace library. - use the device names returned from the library. - system settings UI changed as new audaspace might contain longer and more device names. --- release/scripts/startup/bl_ui/space_userpref.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index f53df6533e0..6be24a8d551 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -411,9 +411,9 @@ class USERPREF_PT_system(Panel): col.separator() col.label(text="Sound:") - col.row().prop(system, "audio_device", expand=True) + col.row().prop(system, "audio_device", expand=False) sub = col.column() - sub.active = system.audio_device != 'NONE' + sub.active = system.audio_device != 'NONE' and system.audio_device != 'Null' #sub.prop(system, "use_preview_images") sub.prop(system, "audio_channels", text="Channels") sub.prop(system, "audio_mixing_buffer", text="Mixing Buffer") -- cgit v1.2.3