Skip to content
Snippets Groups Projects
Commit 034fd642 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

audio: play tone when calling

Fixes regression introduced by b1539bd1. Since Tone was now in a
shared_ptr, reset was called on the shared_ptr instead of the Tone.

Change-Id: If2041feb8cffbb62f1748867a5099c2a0718de1d
parent 67bb967f
Branches
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ void
TelephoneTone::setCurrentTone(Tone::TONEID toneId)
{
if (toneId != Tone::TONE_NULL && currentTone_ != toneId)
tones_[toneId].reset();
tones_[toneId]->reset();
currentTone_ = toneId;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment