mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Do not play QSoundEffect while it is still playing
* added m_playEffect as flag * hooked up signals to reset the flags
This commit is contained in:
committed by
Mat Sutcliffe
parent
55f70a794e
commit
d944d0f6ee
@@ -100,12 +100,12 @@ namespace BlackCore
|
||||
this->m_dBusInterface->callDBus(QLatin1String("setComVoiceRooms"), voiceRooms);
|
||||
}
|
||||
|
||||
void CContextAudioProxy::playSelcalTone(const CSelcal &selcal) const
|
||||
void CContextAudioProxy::playSelcalTone(const CSelcal &selcal)
|
||||
{
|
||||
this->m_dBusInterface->callDBus(QLatin1String("playSelcalTone"), selcal);
|
||||
}
|
||||
|
||||
void CContextAudioProxy::playNotification(CNotificationSounds::NotificationFlag notification, bool considerSettings, int volume) const
|
||||
void CContextAudioProxy::playNotification(CNotificationSounds::NotificationFlag notification, bool considerSettings, int volume)
|
||||
{
|
||||
this->m_dBusInterface->callDBus(QLatin1String("playNotification"), notification, considerSettings, volume);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user