Paul Webster wrote:
> I think so but last time I played with Alsa was long long ago
> http://dabdig.blogspot.com/2014/08/infra-red-remote-controlling-lms-on-rpi.html
> and not 100% relevant
>
> This might give some hints though
> https://alsa.opensrc.org/How_to_use_softvol_to_control_the_master_volume
Thanks for the links. I created a /root/.asoundrc file to create a
softvol device:
Code:
--------------------
pcm.softvol {
type softvol
slave {
pcm "default:CARD=MID"
}
control {
name "SoftMaster"
card 0
}
}
--------------------
I can now set the volume of this 'SoftMaster' device without affecting
the main playback volume, so in theory I could use the Joggler
Squeezeplay audio applet to control the SoftMaster volume, and send
sound effects to this device. I just need to find out how to send the
'aplay' command at the appropriate point in the Jivelite code.
------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix