diff options
author | amartin <olpc@xo-05-28-21.localdomain> | 2008-02-13 07:28:37 (GMT) |
---|---|---|
committer | amartin <olpc@xo-05-28-21.localdomain> | 2008-02-13 07:28:37 (GMT) |
commit | e7136df3a45b124d67baae43dab85a0a4012647b (patch) | |
tree | 38a71bf30af9a20edd39fd70c5d1c56db338958e | |
parent | 119ff918c7d8822287323830bcd37f4eb534e2f9 (diff) |
network
-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: |