Skip to content

Commit

Permalink
Revert last change and always run the OSC Loop
Browse files Browse the repository at this point in the history
  • Loading branch information
thegamecracks committed Dec 8, 2022
1 parent bec4f9f commit 26e9504
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sardine/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
# ahead_amount=0.0,
# loop=my_osc_loop,
# )
# Ocustom = my_osc_connexion.send

# # OSC Listener Handler: dummy OSCIn handler, used for test purposes
# my_osc_listener = OSCInHandler(
Expand All @@ -79,10 +80,8 @@
if config.superdirt_handler:
dirt = SuperDirtHandler(loop=osc_loop_obj)

if osc_loop_obj.children:
bowl.add_handler(osc_loop_obj)
else:
del osc_loop_obj
# NOTE: always keep this loop running for user-made OSC handlers
bowl.add_handler(osc_loop_obj)

# Adding Players
player_names = ["P" + l for l in ascii_lowercase + ascii_uppercase]
Expand Down

0 comments on commit 26e9504

Please sign in to comment.