Require restart for audio changes (for now)
Resetting audio while libobs is active is a real pain. I think I'm just going to do audio resetting later, or maybe just require restart regardless just because having to shut down audio streams/lines while there's sources currently active requires recreating all the audio lines for each audio source. Very painful. Video fortunately is no big deal, so at least there's that.
This commit is contained in:
parent
60e6316a5e
commit
75b66872e4
@ -491,24 +491,30 @@ void OBSBasicSettings::on_language_currentIndexChanged(int index)
|
||||
|
||||
void OBSBasicSettings::on_sampleRate_currentIndexChanged(int index)
|
||||
{
|
||||
if (!loading)
|
||||
if (!loading) {
|
||||
audioChanged = true;
|
||||
ui->videoMsg->setText(QTStr("Settings.ProgramRestart"));
|
||||
}
|
||||
|
||||
UNUSED_PARAMETER(index);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_channelSetup_currentIndexChanged(int index)
|
||||
{
|
||||
if (!loading)
|
||||
if (!loading) {
|
||||
audioChanged = true;
|
||||
ui->videoMsg->setText(QTStr("Settings.ProgramRestart"));
|
||||
}
|
||||
|
||||
UNUSED_PARAMETER(index);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_audioBufferingTime_valueChanged(int value)
|
||||
{
|
||||
if (!loading)
|
||||
if (!loading) {
|
||||
audioChanged = true;
|
||||
ui->videoMsg->setText(QTStr("Settings.ProgramRestart"));
|
||||
}
|
||||
|
||||
UNUSED_PARAMETER(value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user