output/Source: un-inline Cancel()
This commit is contained in:
parent
27c7891169
commit
79726940dc
|
@ -70,6 +70,13 @@ AudioOutputSource::Close()
|
|||
CloseFilter();
|
||||
}
|
||||
|
||||
void
|
||||
AudioOutputSource::Cancel()
|
||||
{
|
||||
current_chunk = nullptr;
|
||||
pipe.Cancel();
|
||||
}
|
||||
|
||||
void
|
||||
AudioOutputSource::OpenFilter(AudioFormat audio_format,
|
||||
PreparedFilter *prepared_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.
|
||||
|
|
Loading…
Reference in New Issue