Averaging group volume

This commit is contained in:
James Barnsley
2018-05-02 16:14:53 +12:00
parent 781d46168a
commit 0e87515e29
9 changed files with 192 additions and 62 deletions

View File

@ -273,11 +273,12 @@ export function setSnapcastGroupMute(id, mute){
}
}
export function setSnapcastGroupVolume(id, percent){
export function setSnapcastGroupVolume(id, percent, old_percent = 0){
return {
type: 'PUSHER_SET_SNAPCAST_GROUP_VOLUME',
id: id,
percent: percent
percent: percent,
old_percent: old_percent
}
}