balena-io-experimental / browser

A drop-in web browser block
99 stars 79 forks source link

audio: add code to make browser block play nicely with the audio block #36

Closed tmigone closed 3 years ago

tmigone commented 3 years ago

This PR adds compatibility with the audio block, namely:

If not using the audio block the ALSA bridge can be safely ignored and audio will continue to work as intended. PULSE_SERVER env var can be overriden if the default does not match the "audio" service name.

If using the audio block, you can now use AUDIO_OUTPUT to select output device.

Change-type: patch Signed-off-by: Tomás Migone tomas@balena.io