case 20805: RC78.1 to master: Fix the distance attenuation of stereo local injectors
Showing the changes to interface/src/Application.cpp (1 of 8 files). Show all
Unified · Split
| @@ -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()) { |