mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 19:35:46 -04:00
AudioStream: Don't call FramesAvailable() while locked
This commit is contained in:
@ -16,7 +16,7 @@ void NullAudioStream::CloseDevice() {}
|
||||
void NullAudioStream::FramesAvailable()
|
||||
{
|
||||
// drop any buffer as soon as they're available
|
||||
DropFrames(GetSamplesAvailableLocked());
|
||||
DropFrames(GetSamplesAvailable());
|
||||
}
|
||||
|
||||
std::unique_ptr<AudioStream> AudioStream::CreateNullAudioStream()
|
||||
|
Reference in New Issue
Block a user