- Increase/decrease volume
- Mute/Unmute
- Sound test
Should be compatible with pulse audio and alsamixer provided on raspbian
(e.g. default on alsamixer but allow user to change to pulseaudio)
maybe these can help
https://pkg.go.dev/github.com/sqp/pulseaudio
https://github.com/yobert/alsa
What we've used in the past
https://github.com/vaslabs/pi-web-agent/blob/master/usr/libexec/pi-web-agent/cgi-bin/toolkit/volume_api.py#L21
Should be compatible with pulse audio and alsamixer provided on raspbian
(e.g. default on alsamixer but allow user to change to pulseaudio)
maybe these can help
https://pkg.go.dev/github.com/sqp/pulseaudio
https://github.com/yobert/alsa
What we've used in the past
https://github.com/vaslabs/pi-web-agent/blob/master/usr/libexec/pi-web-agent/cgi-bin/toolkit/volume_api.py#L21