-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Description
Hi,
I'm running this on raspi 4b with sounddevice.
I tried to use the "toggle_display" function in visualize.py.
But when it should restart the viz it crashes with "bus error"
Any idea what this error is related to?
Thx & cheers,
Stephan
PS: I had to change the "stop" function a bit in order to stop properly:
self._is_running = False
time.sleep(1)
del self.fps_font
del self.bin_font
del self.screen
del self.prev_screen
pygame.quit()
first set self._is_running = False and added a sleep so that any running updates are finished before deleting and quitting.
Metadata
Metadata
Assignees
Labels
No labels