import QtQuick 2.14 import QtMultimedia 5.14 as T import AppLayouts.stores 1.0 T.Audio { id: audio property RootStore store audioRole: Audio.NotificationRole volume: T.QtMultimedia.convertVolume(store.volume, T.QtMultimedia.LogarithmicVolumeScale, T.QtMultimedia.LinearVolumeScale) muted: !store.notificationSoundsEnabled onError: console.warn("Audio error:", errorString, "; code:", error) }