History

remove the audio scope

Stephen Birarda committed 12 years ago

Commit cf474181 parent 89c28128 files · +3 −311Browse files

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

Unified · Split

interface/src/Application.cpp+1−14
@@ -150,7 +150,6 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 149 unmodified lines
150150 _viewFrustum(),
151151 _lastQueriedViewFrustum(),
152152 _lastQueriedTime(usecTimestampNow()),
153− _audioScope(256, 200, true),
154153 _mirrorViewRect(QRect(MIRROR_VIEW_LEFT_PADDING, MIRROR_VIEW_TOP_PADDING, MIRROR_VIEW_WIDTH, MIRROR_VIEW_HEIGHT)),
155154 _mouseX(0),
156155 _mouseY(0),
@@ -161,7 +160,7 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 4 unmodified lines
161160 _touchAvgY(0.0f),
162161 _isTouchPressed(false),
163162 _mousePressed(false),
164− _audio(&_audioScope, STARTUP_JITTER_SAMPLES),
163+ _audio(STARTUP_JITTER_SAMPLES),
165164 _enableProcessVoxelsThread(true),
166165 _voxelProcessor(),
167166 _voxelHideShowThread(&_voxels),
@@ -744,9 +743,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 576 unmodified lines
744743 case Qt::Key_Period:
745744 Menu::getInstance()->handleViewFrustumOffsetKeyModifier(event->key());
746745 break;
747− case Qt::Key_Apostrophe:
748− _audioScope.inputPaused = !_audioScope.inputPaused;
749− break;
750746 case Qt::Key_L:
751747 if (isShifted) {
752748 Menu::getInstance()->triggerOption(MenuOption::LodTools);
@@ -2509,15 +2505,6 @@ void Application::displayOverlay() { · 1756 unmodified lines
25092505 }
25102506 }
25112507
2512− // Audio Scope
2513− const int AUDIO_SCOPE_Y_OFFSET = 135;
2514− if (Menu::getInstance()->isOptionChecked(MenuOption::Stats)) {
2515− if (Menu::getInstance()->isOptionChecked(MenuOption::Oscilloscope)) {
2516− int oscilloscopeTop = _glWidget->height() - AUDIO_SCOPE_Y_OFFSET;
2517− _audioScope.render(MIRROR_VIEW_LEFT_PADDING, oscilloscopeTop);
2518− }
2519− }
2520−
25212508 // Audio VU Meter and Mute Icon
25222509 const int MUTE_ICON_SIZE = 24;
25232510 const int AUDIO_METER_INSET = 2;

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