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:
2020-12-05 19:46:23 +01:00
parent d2671bf534
commit 57b92b2864
2 changed files with 7 additions and 5 deletions

View File

@@ -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')