Skip to content

Commit

Permalink
Merge pull request #60 from jusa/pause-on-silence
Browse files Browse the repository at this point in the history
[ngf] Pause when silence is requested.
  • Loading branch information
jusa committed Oct 22, 2014
2 parents 3b37699 + 64c8be8 commit 680b69a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugins/ngf/src/ngfringtoneplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,8 @@ void NgfRingtonePlugin::onSilenceRingtoneRequested()
Q_D(NgfRingtonePlugin);
if (d->ringtoneEventId)
{
DEBUG_T("Stopping ringtone due to silence");
d->ngf->stop("ringtone");
d->ringtoneEventId = 0;
DEBUG_T("Pausing ringtone due to silence");
d->ngf->pause("ringtone");
}
}

Expand Down

0 comments on commit 680b69a

Please sign in to comment.