summaryrefslogtreecommitdiff
path: root/voctogui
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
parente0477c17c6e1428cb4a705f50242c6ce24a6a8dc (diff)
Use playaudio-Setting from Config
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/default-config.ini2
-rw-r--r--voctogui/lib/ui.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/voctogui/default-config.ini b/voctogui/default-config.ini
index ce82b3c..6258e7c 100644
--- a/voctogui/default-config.ini
+++ b/voctogui/default-config.ini
@@ -10,4 +10,4 @@ width=320
use=true
[mainvideo]
-playaudio=false
+playaudio=true
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)