summaryrefslogtreecommitdiff
path: root/voctogui/lib
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-09-06 13:50:23 +0200
committerMaZderMind <git@mazdermind.de>2015-09-06 13:50:23 +0200
commita81c891defff6bb44d1e5e3d780efe831d184a92 (patch)
treebff313fac2865b2431b0669793470e3031e93d5b /voctogui/lib
parente0477c17c6e1428cb4a705f50242c6ce24a6a8dc (diff)
Use playaudio-Setting from Config
Diffstat (limited to 'voctogui/lib')
-rw-r--r--voctogui/lib/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/voctogui/lib/ui.py b/voctogui/lib/ui.py
index 0343c86..35d62e2 100644
--- a/voctogui/lib/ui.py
+++ b/voctogui/lib/ui.py
@@ -44,7 +44,7 @@ class Ui(UiBuilder):
drawing_area = self.find_widget_recursive(self.win, 'video_main')
self.main_video_display = VideoDisplay(drawing_area,
port=11000,
- play_audio=True,
+ play_audio=Config.getboolean('mainvideo', 'playaudio'),
draw_callback=self.video_warning_overlay.draw_callback,
level_callback=self.audio_level_display.level_callback)