Commit 79726940 authored by Max Kellermann's avatar Max Kellermann

output/Source: un-inline Cancel()

parent 27c78911
......@@ -71,6 +71,13 @@ AudioOutputSource::Close()
}
void
AudioOutputSource::Cancel()
{
current_chunk = nullptr;
pipe.Cancel();
}
void
AudioOutputSource::OpenFilter(AudioFormat audio_format,
PreparedFilter *prepared_replay_gain_filter,
PreparedFilter *prepared_other_replay_gain_filter,
......
......@@ -139,11 +139,7 @@ public:
PreparedFilter *prepared_filter);
void Close();
void Cancel() {
current_chunk = nullptr;
pipe.Cancel();
}
void Cancel();
/**
* Ensure that ReadTag() or PeekData() return any input.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment