0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/UI
jp9000 27a3b97f48 UI: Prevent thread stalls with fader/volume widgets
When the OBS signal is triggered for these widgets, the invokeMethod
could cause the thread to stall, which could make it wait much longer
than necessary to output audio data.  When that happens, it causes audio
monitoring to get backed up and get unnecessarily delayed, as well as
cause general audio buffering in libobs to increase unnecessarily.

A simple fix both in terms of preventing that stall and improving UI
performance is to not call invokeMethod to update the widget each time,
and then instead have those widgets update themselves via a timer at a
specific interval.
2017-02-06 11:44:05 -08:00
..
data UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
dist UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
forms UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
frontend-plugins Update translations from Crowdin 2017-01-07 00:23:16 +01:00
installer UI: Use 64bit desktop link by default in installer 2016-12-21 18:43:52 -08:00
obs-frontend-api UI: Separate replay buffer from recording 2016-12-09 14:47:03 -08:00
adv-audio-control.cpp UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
adv-audio-control.hpp UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
api-interface.cpp UI: Separate replay buffer from recording 2016-12-09 14:47:03 -08:00
audio-encoders.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
audio-encoders.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
CMakeLists.txt UI: Use Qt lib for screen info instead of x11 libs 2016-10-03 23:50:13 -07:00
crash-report.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
crash-report.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
display-helpers.hpp UI: Add preview scaling options 2016-11-09 14:21:47 -08:00
double-slider.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
double-slider.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
focus-list.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
focus-list.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
hotkey-edit.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
hotkey-edit.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
item-widget-helpers.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
item-widget-helpers.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
menu-button.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
menu-button.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
mute-checkbox.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
obs-app.cpp UI: Remove unused variables 2017-01-30 16:55:29 -08:00
obs-app.hpp UI: Add more command line options 2017-01-11 15:48:59 -06:00
obs.rc UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
platform-osx.mm UI: Use Qt lib for screen info instead of x11 libs 2016-10-03 23:50:13 -07:00
platform-windows.cpp UI: Use Qt lib for screen info instead of x11 libs 2016-10-03 23:50:13 -07:00
platform-x11.cpp UI: Use Qt lib for screen info instead of x11 libs 2016-10-03 23:50:13 -07:00
platform.hpp UI: Use Qt lib for screen info instead of x11 libs 2016-10-03 23:50:13 -07:00
properties-view.cpp UI: Limit font size for font property label 2016-09-14 16:59:27 -07:00
properties-view.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
properties-view.moc.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
qt-display.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
qt-display.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
qt-wrappers.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
qt-wrappers.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
remote-text.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
remote-text.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
slider-absoluteset-style.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
slider-absoluteset-style.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
source-label.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
source-label.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
source-list-widget.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
source-list-widget.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
sparkle-updater.mm UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
vertical-scroll-area.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
vertical-scroll-area.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
visibility-checkbox.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
visibility-checkbox.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
visibility-item-widget.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
visibility-item-widget.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
volume-control.cpp UI: Prevent thread stalls with fader/volume widgets 2017-02-06 11:44:05 -08:00
volume-control.hpp UI: Prevent thread stalls with fader/volume widgets 2017-02-06 11:44:05 -08:00
window-basic-adv-audio.cpp UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
window-basic-adv-audio.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-basic-filters.cpp UI: Remove deleteLater view from filter window layout 2016-12-17 15:32:19 -08:00
window-basic-filters.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-basic-interaction.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-basic-interaction.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-basic-main-dropfiles.cpp UI: Add raw text and text file to drag&drop support 2016-10-09 18:39:53 -07:00
window-basic-main-outputs.cpp UI: Increase maximum audio tracks to 6 2016-12-21 17:14:24 -08:00
window-basic-main-outputs.hpp UI: Separate replay buffer from recording 2016-12-09 14:47:03 -08:00
window-basic-main-profiles.cpp UI: Fix bug with uncopied profile import/export files 2017-01-16 03:55:20 -08:00
window-basic-main-scene-collections.cpp UI: Add option to save projectors 2017-01-29 06:02:15 -08:00
window-basic-main-transitions.cpp UI: Add front-end API library 2016-09-06 22:01:48 -07:00
window-basic-main.cpp UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
window-basic-main.hpp UI: Add option to save projectors 2017-01-29 06:02:15 -08:00
window-basic-preview.cpp UI: Fix scaling in viewport when source flipped 2017-01-29 19:21:11 -08:00
window-basic-preview.hpp UI: Add preview scaling options 2016-11-09 14:21:47 -08:00
window-basic-properties.cpp UI: Split Properties window with a QSplitter 2016-10-09 18:47:32 -07:00
window-basic-properties.hpp UI: Split Properties window with a QSplitter 2016-10-09 18:47:32 -07:00
window-basic-settings.cpp UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
window-basic-settings.hpp UI: Add audio monitoring to settings/adv audio props. 2017-02-06 11:44:04 -08:00
window-basic-source-select.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-basic-source-select.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-basic-status-bar.cpp UI: Add separate timers to status bar 2017-01-25 00:15:59 -06:00
window-basic-status-bar.hpp UI: Add separate timers to status bar 2017-01-25 00:15:59 -06:00
window-basic-transform.cpp UI: Make close button default in transform dialog 2016-12-18 06:28:08 -08:00
window-basic-transform.hpp UI: Add reset/close buttons to transform dialog 2016-09-16 20:30:52 -07:00
window-license-agreement.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-license-agreement.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-log-reply.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-log-reply.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-main.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-namedialog.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-namedialog.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-projector.cpp UI: Add option to save projectors 2017-01-29 06:02:15 -08:00
window-projector.hpp UI: Add option to save projectors 2017-01-29 06:02:15 -08:00
window-remux.cpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00
window-remux.hpp UI: Rename 'obs' dir to 'UI' 2016-08-27 20:19:45 -07:00