mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 15:24:07 +00:00
UI: Set minimum negative sync offset to -950
Prevents audio from cutting out below the -1000 offset (approximate) threshold.
This commit is contained in:
parent
8f106dc3c1
commit
8dc7e4a558
|
@ -101,7 +101,7 @@ OBSAdvAudioCtrl::OBSAdvAudioCtrl(QGridLayout *, obs_source_t *source_)
|
|||
balance->setValue((int)bal);
|
||||
|
||||
int64_t cur_sync = obs_source_get_sync_offset(source);
|
||||
syncOffset->setMinimum(-20000);
|
||||
syncOffset->setMinimum(-950);
|
||||
syncOffset->setMaximum(20000);
|
||||
syncOffset->setValue(int(cur_sync / NSEC_PER_MSEC));
|
||||
|
||||
|
|
Loading…
Reference in a new issue