diff options
-rw-r--r-- | src/snap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index 0ef6a94..0507cc7 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -116,7 +116,7 @@ public: const auto uri = get_alarm_uri(appointment, alarm, m_settings); const auto volume = m_settings->alarm_volume.get(); const bool loop = interactive; - sound = std::make_shared<ain::Sound>(role, uri, volume, loop); + sound = m_sound_builder->create(role, uri, volume, loop); } // create the haptic feedback... |