feat: Improvements for audio subsystem
Increased minimum space in buffer for audio write When not playing audio, decrease update rate Decreased priority of other tasks
This commit is contained in:
@@ -56,11 +56,11 @@ walle.setup()
|
||||
|
||||
|
||||
def walle_tick():
|
||||
scheduler.enter(INTERVAL_TICK, 1, walle_tick)
|
||||
scheduler.enter(INTERVAL_TICK, 3, walle_tick)
|
||||
walle.tick()
|
||||
|
||||
|
||||
scheduler.enter(INTERVAL_TICK, 1, walle_tick)
|
||||
scheduler.enter(INTERVAL_TICK, 3, walle_tick)
|
||||
|
||||
audio.queue_sound('walle.boot')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user