mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
Changed SoundManger to allow the plugins to play sounds.
Added example to VOIP (commented out). git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5709 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
56635e4ce4
commit
232af8e71e
11 changed files with 109 additions and 41 deletions
|
@ -162,7 +162,7 @@ void ChatDialog::init(const std::string &peerId, const QString &title)
|
|||
{
|
||||
if (list == NOTIFY_LIST_PRIVATE_INCOMING_CHAT && type == NOTIFY_TYPE_ADD) {
|
||||
// play sound when recv a message
|
||||
soundManager->play(SoundManager::NEW_CHAT_MESSAGE);
|
||||
soundManager->play(SOUND_NEW_CHAT_MESSAGE);
|
||||
|
||||
std::list<std::string> ids;
|
||||
if (rsMsgs->getPrivateChatQueueIds(true, ids)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue