obs: Fix signal in advanced volume controls
Suppress signals of the volume input when setting a value. This stops the volume control from setting the source volume when it receives the volume changed event from the source.
This commit is contained in:
@@ -180,7 +180,9 @@ void OBSAdvAudioCtrl::SourceFlagsChanged(uint32_t flags)
|
||||
|
||||
void OBSAdvAudioCtrl::SourceVolumeChanged(float value)
|
||||
{
|
||||
volume->blockSignals(true);
|
||||
volume->setValue(int(value * 100));
|
||||
volume->blockSignals(false);
|
||||
}
|
||||
|
||||
void OBSAdvAudioCtrl::SourceSyncChanged(int64_t offset)
|
||||
|
Reference in New Issue
Block a user