X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Falertsound.cpp;h=f27eb50032b6fab531ad038f3af8fe0a86a118a5;hb=c4037ede3790b9ec97001d9c9202cec1003f18e1;hp=1eb0f22100988c2fa874b7cfd0c88aa2075b14b1;hpb=4a44a71c3180375e414e4988a52a01e6464edbd5;p=kitchenalert diff --git a/src/alertsound.cpp b/src/alertsound.cpp index 1eb0f22..f27eb50 100644 --- a/src/alertsound.cpp +++ b/src/alertsound.cpp @@ -1,7 +1,7 @@ /************************************************************************** - This file is part of KitchenAlert v.0.09 + This file is part of KitchenAlert - Copyright (C) 2010 Heli Hyvättinen + Copyright (C) 2010-2011 Heli Hyvättinen Kitchen Alert is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ AlertSound::AlertSound(QObject *parent) : QObject(parent) { - defaultsound_ = "/home/opt/KitchenAlert/Doorbell-old-tring-modified-multiplied-low-quality.mp3"; + defaultsound_ = "/home/opt/KitchenAlert/DoorbellModifiedFinal.mp3"; QString filename; QSettings settings("KitchenAlert","KitchenAlert"); @@ -57,20 +57,6 @@ AlertSound::AlertSound(QObject *parent) : pSound_ = new QMediaPlayer; pSound_->setMedia(QUrl::fromLocalFile(filename)); - // player->setVolume(50); - - -/* NOTE: - sound priorities are set in /usr/share/policy/etc/current/pulse/xpolicy.conf - -This block needs to be appended to this file in the postinstall script -[stream] -exe = kitchenalert -group = alarm - -*/ - - } AlertSound::~AlertSound()