aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-01 15:45:20 +0200
committerRobert Tari <robert@tari.in>2021-09-01 15:45:20 +0200
commit458218b1920bd92638d324a239dfc486013c0ddc (patch)
tree195728b497488583f7a1155a91c081b963ae6e07 /src
parentb24b8edb8afdea0b1b6194dca6429bae7a680e09 (diff)
downloadayatana-indicator-datetime-458218b1920bd92638d324a239dfc486013c0ddc.tar.gz
ayatana-indicator-datetime-458218b1920bd92638d324a239dfc486013c0ddc.tar.bz2
ayatana-indicator-datetime-458218b1920bd92638d324a239dfc486013c0ddc.zip
src/snap.cpp: Create Sound object via SoundBuilder
Diffstat (limited to 'src')
-rw-r--r--src/snap.cpp2
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...