Stacked sound player works
[gregoa/zavai.git] / src / app_alarm.vala
index 48d138bb35cb83acc161e29a8a8fd1062be361f7..8b7cfd2e763aa3e668e05966650968661d2cff0b 100644 (file)
@@ -78,7 +78,9 @@ protected class AlarmNotifierDialog : ui.notify.Notifier
 
     protected virtual bool push_ringtone_state()
     {
-        return false;
+        var state = new zavai.audio.PlayerState(name, config.ringtone_alarm, true);
+        zavai.audio.soundplayer.push_state(state);
+        return true;
     }
 }