In the camper setup, there is no snapserver installed. Therefore, the mpd mixer control is set to hardware as there would be no other means to control the volume.
Consequently, it is not easily possible to use a camper device as bluetooth sink, setting the volume of the hifiberry card would need a connection to mpd.
I propose to enhance the acable script as follows:
add a new ansible variable (e.g. acable_hw_volume)
if this variable is set (to a value between 0 and 100), the behaviour of acable is enhanced as follows:
Just before a new connection is established, the current hw mixer setting (needs an ansible variable to identify the mixer) is saved to a temporary variable and the hw mixer is set to the value of acable_hw_volume.
After a connection is shut down, the mixer is set back to the value it had before (from the temporary variable).
In the camper setup, there is no
snapserver
installed. Therefore, thempd
mixer control is set to hardware as there would be no other means to control the volume.Consequently, it is not easily possible to use a
camper
device as bluetooth sink, setting the volume of the hifiberry card would need a connection tompd
.I propose to enhance the acable script as follows:
acable_hw_volume
)acable_hw_volume
.