mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 10:25:45 -04:00
NullAudioStream: Provide factory function
This commit is contained in:
@ -18,3 +18,8 @@ void NullAudioStream::BufferAvailable()
|
||||
// drop any buffer as soon as they're available
|
||||
DropBuffer();
|
||||
}
|
||||
|
||||
std::unique_ptr<AudioStream> NullAudioStream::Create()
|
||||
{
|
||||
return std::unique_ptr<AudioStream>(new NullAudioStream());
|
||||
}
|
||||
|
Reference in New Issue
Block a user