output/Thread: clear Filter pointers in CloseFilter()
This allows calling CloseFilter() multiple times.
This commit is contained in:
parent
08166cf330
commit
9007dd9ab7
@ -132,8 +132,13 @@ AudioOutput::CloseFilter()
|
||||
software_mixer_set_filter(*mixer, nullptr);
|
||||
|
||||
delete replay_gain_filter_instance;
|
||||
replay_gain_filter_instance = nullptr;
|
||||
|
||||
delete other_replay_gain_filter_instance;
|
||||
other_replay_gain_filter_instance = nullptr;
|
||||
|
||||
delete filter_instance;
|
||||
filter_instance = nullptr;
|
||||
}
|
||||
|
||||
inline void
|
||||
|
Loading…
Reference in New Issue
Block a user