output/Thread: update in_audio_format before ReopenFilter()
This commit is contained in:
parent
d020172181
commit
a8d343e07b
@ -288,10 +288,12 @@ AudioOutput::Reopen()
|
|||||||
!config_audio_format.IsFullyDefined()) {
|
!config_audio_format.IsFullyDefined()) {
|
||||||
Close(true);
|
Close(true);
|
||||||
Open();
|
Open();
|
||||||
} else
|
} else {
|
||||||
/* the audio format has changed, and all filters have
|
/* the audio format has changed, and all filters have
|
||||||
to be reconfigured */
|
to be reconfigured */
|
||||||
|
in_audio_format = request.audio_format;
|
||||||
ReopenFilter();
|
ReopenFilter();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user