cmd/treatment: write driver to do audio playback and recording

Issue #304 resolved
Saxon Milton created an issue

We need a “treatment” driver to perform the task of audio treatment. It is required that it can playback audio, but also switch the circuit and receive audio. This way we can check that the speaker is actually still attached. We can play audio using a standard player like omx, but to record we’ll use a revid session. The revid session requires a netsender client, which conveniently can also handle switching of the circuit (using a relay) by the gpio package functions that we provide to netsender.New.

Comments (1)

  1. Log in to comment