History

JS API for recording

Atlante45 committed 12 years ago

Commit b13604f1 parent db8869a6 files · +50 −29Browse files

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

Unified · Split

interface/src/Application.cpp+0−14
@@ -1051,20 +1051,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 1050 unmodified lines
10511051 case Qt::Key_R:
10521052 if (isShifted) {
10531053 Menu::getInstance()->triggerOption(MenuOption::FrustumRenderMode);
1054− } else if (isMeta) {
1055− if (_myAvatar->isRecording()) {
1056− _myAvatar->stopRecording();
1057− } else {
1058− _myAvatar->startRecording();
1059− _audio.setRecorder(_myAvatar->getRecorder());
1060− }
1061− } else {
1062− if (_myAvatar->isPlaying()) {
1063− _myAvatar->stopPlaying();
1064− } else {
1065− _myAvatar->startPlaying();
1066− _audio.setPlayer(_myAvatar->getPlayer());
1067− }
10681054 }
10691055 break;
10701056 case Qt::Key_Percent:

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