I like to be an awkward one
Thank for the welcome JitterJames, and congratulations on an excellent bit of software that's become central to my HTPC!
I've double checked my audio set up, and I'm using a standard analogue output. The SetVolume command works perfectly, it is just the SoftMute that doesn't. Is there any difference to the way that
XBMC.Send SetVolume(20) and
XBMC.SoftMute 20 work?
I've simplified what I'm trying to do just to try and get the hang on it. New command is an edited volume change with a read back using TTS and is built like this:
XBMC.SoftMute 20
TTS.SpeakSync Volume set to {1}
XBMC.SoftUnMuteXBMC.SendSetVolume({1})
The volume changes to what it should be using the XBMC.Send method, but it doesn't SoftMute or SoftUnMute still.
If I change the softmute to a setvolume(20) it has the intended effect. But it's only useful because I'm setting the volume in this command.
Question about error handling: What happens if XBMC.SoftMute can't get the current volume? Does it abandon the process? I've noticed that I can't use
XBMC.Send GetVolume, whether that's related or not, I don't know.
As for a command that just softmutes, has no effect and a cursory glance doesn't look like anything's logged by XBMC, but I'll need to copy the logs away from the HTPC at a later date to properly look through them.
Again, cheers for the help.