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
1980 connect(getAudio(), &Audio::preProcessOriginalInboundAudio, &_audioReflector,1980 connect(getAudio(), &Audio::preProcessOriginalInboundAudio, &_audioReflector,
1981 &AudioReflector::preProcessOriginalInboundAudio,Qt::DirectConnection);1981 &AudioReflector::preProcessOriginalInboundAudio,Qt::DirectConnection);
1982 1982
1983 connect(getAudio(), &Audio::muteToggled, AudioDeviceScriptingInterface::getInstance(),
1984 &AudioDeviceScriptingInterface::muteToggled, Qt::DirectConnection);
1985
1983 // save settings when avatar changes1986 // save settings when avatar changes
1984 connect(_myAvatar, &MyAvatar::transformChanged, this, &Application::bumpSettings);1987 connect(_myAvatar, &MyAvatar::transformChanged, this, &Application::bumpSettings);
1985}1988}

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