Skip to content

Commit

Permalink
suppress ALSA warning messages showing up in the GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
corrados committed Nov 27, 2023
1 parent 6fb5b96 commit 6c6dd68
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tools/edrumulus_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,18 +637,6 @@ def receive_from_serial():
################################################################################
# Main function ################################################################
################################################################################
# initialize GUI (16x2 LCD or ncurses GUI)
if use_lcd:
lcd_init()
elif use_ncurses:
ncurses_init()
elif use_webui:
web_server = http.server.HTTPServer(("", 8080), WebUI)
web_server.timeout = 1

# ctrl+c quits the application
original_sigint_handler = signal.signal(signal.SIGINT, signal_handler)

# initialize MIDI
if use_rtmidi: # initialize rtmidi (only Teensy board supported)
try:
Expand Down Expand Up @@ -682,6 +670,18 @@ def receive_from_serial():
except:
pass # if no Edrumulus hardware was found, no jack is started

# initialize GUI (16x2 LCD or ncurses GUI)
if use_lcd:
lcd_init()
elif use_ncurses:
ncurses_init()
elif use_webui:
web_server = http.server.HTTPServer(("", 8080), WebUI)
web_server.timeout = 1

# ctrl+c quits the application
original_sigint_handler = signal.signal(signal.SIGINT, signal_handler)

# load settings from file
load_settings()

Expand Down

0 comments on commit 6c6dd68

Please sign in to comment.