History

Merge pull request #3732 from thoys/20166

CR for Job #20166 - Extend AudioDeviceScriptingInterface to have muted property and mute event

Brad Hefta-Gaub committed 12 years ago

Commit 583b7b12 parents 803686c af74fc04 files · +67 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+3−0
@@ -1980,6 +1980,9 @@ void Application::init() { · 1979 unmodified lines
19801980 connect(getAudio(), &Audio::preProcessOriginalInboundAudio, &_audioReflector,
19811981 &AudioReflector::preProcessOriginalInboundAudio,Qt::DirectConnection);
19821982
1983+ connect(getAudio(), &Audio::muteToggled, AudioDeviceScriptingInterface::getInstance(),
1984+ &AudioDeviceScriptingInterface::muteToggled, Qt::DirectConnection);
1985+
19831986 // save settings when avatar changes
19841987 connect(_myAvatar, &MyAvatar::transformChanged, this, &Application::bumpSettings);
19851988 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t