History

Merge pull request #14797 from kencooke/audio-injector-stereo-distattn-bugfix2

case 20805: RC78.1 to master: Fix the distance attenuation of stereo local injectors

Shannon Romano committed 7 years ago

Commit 72d3eb92 parents 08a3e65 b0f8afa8 files · +60 −26Browse files

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

Unified · Split

interface/src/Application.cpp+2−0
@@ -4194,7 +4194,9 @@ void Application::keyPressEvent(QKeyEvent* event) { · 4193 unmodified lines
4194 if (!isShifted && !isMeta && !isOption && !event->isAutoRepeat()) {4194 if (!isShifted && !isMeta && !isOption && !event->isAutoRepeat()) {
4195 AudioInjectorOptions options;4195 AudioInjectorOptions options;
4196 options.localOnly = true;4196 options.localOnly = true;
4197 options.positionSet = false; // system sound
4197 options.stereo = true;4198 options.stereo = true;
4199
4198 Setting::Handle<bool> notificationSounds{ MenuOption::NotificationSounds, true };4200 Setting::Handle<bool> notificationSounds{ MenuOption::NotificationSounds, true };
4199 Setting::Handle<bool> notificationSoundSnapshot{ MenuOption::NotificationSoundsSnapshot, true };4201 Setting::Handle<bool> notificationSoundSnapshot{ MenuOption::NotificationSoundsSnapshot, true };
4200 if (notificationSounds.get() && notificationSoundSnapshot.get()) {4202 if (notificationSounds.get() && notificationSoundSnapshot.get()) {