]> git.parisson.com Git - timeside.git/commitdiff
cleanup, change joydiv bg color
authoryomguy <yomguy@parisson.com>
Wed, 29 Dec 2010 09:34:17 +0000 (09:34 +0000)
committeryomguy <yomguy@parisson.com>
Wed, 29 Dec 2010 09:34:17 +0000 (09:34 +0000)
timeside/decoder/core.py
timeside/grapher/waveform_joydiv.py

index b66d13baecbabd89fcae0a96d814437b496cf38a..15255d2804758d885a70df1025ad620752b1e220 100644 (file)
@@ -30,8 +30,7 @@ import pygst
 pygst.require('0.10')
 import gst
 import gobject
-gobject.threads_init ()
-
+gobject.threads_init()
 
 class FileDecoder(Processor):
     """ gstreamer-based decoder """
@@ -100,7 +99,6 @@ class FileDecoder(Processor):
 
     @interfacedoc
     def __init__(self, uri):
-
         # is this a file?
         import os.path
         if os.path.exists(uri):
index 575d007f4fa7e9a4b4dd586955067f3b335c7bd9..83b2535daa0786e0451e7a9ee7a939c5f884341a 100644 (file)
@@ -30,7 +30,7 @@ class WaveformJoyDiv(Processor):
     FFT_SIZE = 0x400
 
     @interfacedoc
-    def __init__(self, width=1024, height=256, bg_color=(136,136,136), color_scheme='default'):
+    def __init__(self, width=1024, height=256, bg_color=(0,0,0), color_scheme='default'):
         self.width = width
         self.height = height
         self.bg_color = bg_color