Audio Service: more abstraction
This commit is contained in:
parent
ee326a72ae
commit
ade52f5013
3 changed files with 39 additions and 35 deletions
|
|
@ -91,7 +91,7 @@ ColumnLayout {
|
|||
repeat: true
|
||||
onTriggered: {
|
||||
if (Math.abs(localVolume - Audio.volume) >= 0.01) {
|
||||
Audio.volumeSet(localVolume)
|
||||
Audio.setVolume(localVolume)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue