output/Source: fix Close()

Close the filter before cancelling when closing a source.
Fixes #2148
This commit is contained in:
borine 2024-11-19 10:59:35 +00:00
parent eb1463fd7c
commit 78e643150f
1 changed files with 2 additions and 2 deletions

View File

@ -53,9 +53,9 @@ AudioOutputSource::Close() noexcept
assert(in_audio_format.IsValid()); assert(in_audio_format.IsValid());
in_audio_format.Clear(); in_audio_format.Clear();
Cancel();
CloseFilter(); CloseFilter();
Cancel();
} }
void void