output/Source: un-inline Cancel()
This commit is contained in:
@@ -70,6 +70,13 @@ AudioOutputSource::Close()
|
|||||||
CloseFilter();
|
CloseFilter();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
AudioOutputSource::Cancel()
|
||||||
|
{
|
||||||
|
current_chunk = nullptr;
|
||||||
|
pipe.Cancel();
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
AudioOutputSource::OpenFilter(AudioFormat audio_format,
|
AudioOutputSource::OpenFilter(AudioFormat audio_format,
|
||||||
PreparedFilter *prepared_replay_gain_filter,
|
PreparedFilter *prepared_replay_gain_filter,
|
||||||
|
@@ -139,11 +139,7 @@ public:
|
|||||||
PreparedFilter *prepared_filter);
|
PreparedFilter *prepared_filter);
|
||||||
|
|
||||||
void Close();
|
void Close();
|
||||||
|
void Cancel();
|
||||||
void Cancel() {
|
|
||||||
current_chunk = nullptr;
|
|
||||||
pipe.Cancel();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ensure that ReadTag() or PeekData() return any input.
|
* Ensure that ReadTag() or PeekData() return any input.
|
||||||
|
Reference in New Issue
Block a user