Moved the setter to it as well. get the volume from the sink if its supported.
I'm unsure if we need some locks in CAEFactory::GetScaledVolume().
[AE] added a method to aefactory to receive the scaled volume. Moved …
…the setter to it as well. get the volume from the sink if its supported.
@wiso - for this and your other volume PR up to you - mine is always 100% :)
Its @wsoltys at github ;)
I also use the avr volume rather than the system volume but if it could be done, why not as it was requested. If the sink supports volume we need to get it back from sink to indicate outside volume changes to xbmc.
The other volume pr needs a revision as the ds sink returns a linear scaled scale but as I understand AE it needs to be different.
I'm all in favour - many use volume scaling and I agree the system and XBMC volumes should be locked together. All the more relevent for non-HTPC situations e.g. tablets, laptops, phones etc.