Revision 5350d645 py/scenic/preview.py

b/py/scenic/preview.py
41 41
                print("WARNING: XID of the preview drawing area is None !")
42 42
            else:
43 43
                x_window_id = self.app.gui.preview_area_x_window_id
44
        command = "milhouse --videosource %s --localvideo --window-title \"%s\" --width %s --height %s --aspect-ratio %s --localaudio --numchannels %s --vumeter-id %s" % (self.app.config.video_source, window_title, width, height, aspect_ratio, numchannels, vumeter_id)
44
        command = "milhouse --videosource %s --localvideo --window-title \"%s\" --width %s --height %s --aspect-ratio %s" % (self.app.config.video_source, window_title, width, height, aspect_ratio)
45
        if self.app.devices["jackd_is_running"]: 
46
            command += " --localaudio --numchannels %s --vumeter-id %s" % (numchannels, vumeter_id)
45 47
        if x_window_id is not None:
46 48
            command += " --x-window-id %d" % (x_window_id)
47 49
        else:

Also available in: Unified diff