There seems to be a problem with squeeze2cast handling the LMS muting
function. A "mixer muting" CLI command results in the volume being
incrementally decreased from its current value down to 0 using
CastSetDeviceVolume, which is fine. However, it then immediately follows
that with another volume change to a value that is always equal to 99
minus the starting (pre-muting) volume. I have verified this using
different starting volumes before the mute request. As an example, in
the following debug log excerpt, the volume at the time of the muting
request was 43. After it was lowered to 0, it was immediately set to 56
which, of course was an effective jump in the volume and not a mute at
all. When the client unmute function was subsequently invoked, the
volume was first set to 0 and then gradually increased back to its
original level. So everything looks fine except for the spurious volume
spike at the end of the mute.
Code:
--------------------
[17:24:10.485060] sq_callback:368 Volume 43
[17:24:10.486905] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:593)
[17:24:43.810395] sq_callback:368 Volume 42
[17:24:43.812382] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:624)
[17:24:43.861266] sq_callback:368 Volume 35
[17:24:43.862726] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:626)
[17:24:43.911513] sq_callback:368 Volume 28
[17:24:43.913506] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:628)
[17:24:43.962022] sq_callback:368 Volume 21
[17:24:43.963746] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:630)
[17:24:44.014788] sq_callback:368 Volume 14
[17:24:44.016918] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:632)
[17:24:44.065187] sq_callback:368 Volume 7
[17:24:44.066829] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:634)
[17:24:44.116029] sq_callback:368 Volume 0
[17:24:44.117563] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:635)
[17:24:44.166267] sq_callback:368 Volume 0
[17:24:44.167328] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:636)
[17:24:44.171803] sq_callback:368 Volume 56
[17:24:44.173430] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:638)
[17:24:44.177345] sq_callback:368 Volume 56
[17:24:44.178966] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:640)
[17:24:47.896320] sq_callback:368 Volume 0
[17:24:47.897846] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:644)
[17:24:47.946555] sq_callback:368 Volume 7
[17:24:47.948372] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:646)
[17:24:47.997416] sq_callback:368 Volume 13
[17:24:48.001073] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:648)
[17:24:48.047942] sq_callback:368 Volume 20
[17:24:48.050240] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:650)
[17:24:48.098606] sq_callback:368 Volume 27
[17:24:48.101246] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:652)
[17:24:48.149592] sq_callback:368 Volume 34
[17:24:48.151244] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:654)
[17:24:48.200225] sq_callback:368 Volume 41
[17:24:48.202340] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:656)
[17:24:48.250536] sq_callback:368 Volume 43
[17:24:48.252330] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:658)
[17:24:48.256909] sq_callback:368 Volume 43
[17:24:48.258727] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:660)
[17:24:48.263874] sq_callback:368 Volume 43
[17:24:48.265539] CastSetDeviceVolume:326 [0x128cc8]: Immediate VOLUME
(id:662)
--------------------
Let me know if you need any further information. You can generate the
LMS muting/unmuting requests using client apps such as Squeeze Ctrl
(Android), iPeng (iOs), or Squeezelite-X (Win10).
Thanks.
Sam
------------------------------------------------------------------------
SamY's Profile: http://forums.slimdevices.com/member.php?userid=63495
View this thread: http://forums.slimdevices.com/showthread.php?t=104614
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins