diff options
author | Robert Tari <robert@tari.in> | 2021-09-01 15:45:20 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-09-01 15:45:20 +0200 |
commit | 458218b1920bd92638d324a239dfc486013c0ddc (patch) | |
tree | 195728b497488583f7a1155a91c081b963ae6e07 /src | |
parent | b24b8edb8afdea0b1b6194dca6429bae7a680e09 (diff) | |
download | ayatana-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.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... |