Fixed QSound method call due to client sound parameter change.

git-svn-id: http://voip.null.ro/svn/yate@2465 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2009-01-30 17:13:32 +00:00
parent 92df5b561d
commit ac68969b19
1 changed files with 1 additions and 1 deletions

View File

@ -2585,7 +2585,7 @@ bool QtSound::doStart()
else
Debug(ClientDriver::self(),DebugNote,"Sound(%s) failed to start file=%s",
c_str(),m_file.c_str());
m_sound->setLoops(m_repeat);
m_sound->setLoops(m_repeat ? m_repeat : -1);
m_sound->play();
return true;
}