diff options
-rw-r--r-- | TamTamJam.activity/Jam/JamMain.py | 2 | ||||
-rw-r--r-- | common/Util/Network.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TamTamJam.activity/Jam/JamMain.py b/TamTamJam.activity/Jam/JamMain.py index b49bd13..4242dd3 100644 --- a/TamTamJam.activity/Jam/JamMain.py +++ b/TamTamJam.activity/Jam/JamMain.py @@ -1238,6 +1238,6 @@ class JamMain(gtk.EventBox): correct -= Config.TICKS_PER_BEAT elif correct < 0: correct += Config.TICKS_PER_BEAT - print "correct:: %f ticks, %f ticks in, %f expected, %f err, correct %f" % (curTick, curTicksIn, ticksIn, err, correct) + #print "correct:: %f ticks, %f ticks in, %f expected, %f err, correct %f" % (curTick, curTicksIn, ticksIn, err, correct) if abs(err) > 0.25: self.csnd.adjustTick(-err) diff --git a/common/Util/Network.py b/common/Util/Network.py index 79fbab5..0c480b5 100644 --- a/common/Util/Network.py +++ b/common/Util/Network.py @@ -80,7 +80,7 @@ class Listener( threading.Thread ): def run(self): while 1: # rely on the owner to kill us when necessary try: - inputReady, outputReady, exceptReady = select.select( self.inputSockets, self.outputSockets, self.exceptSockets, 0.5 ) + inputReady, outputReady, exceptReady = select.select( self.inputSockets, self.outputSockets, self.exceptSockets, 0 ) if not len( inputReady ): # timeout continue if self.listenerSocket in inputReady: |