mirror of
https://github.com/edubart/otclient.git
synced 2025-12-26 17:57:11 +01:00
Fix audio stopping on buffer underruns
This commit is contained in:
@@ -63,7 +63,7 @@ void SoundSource::stop()
|
||||
}
|
||||
}
|
||||
|
||||
bool SoundSource::isPlaying()
|
||||
bool SoundSource::isBuffering()
|
||||
{
|
||||
int state = AL_PLAYING;
|
||||
alGetSourcei(m_sourceId, AL_SOURCE_STATE, &state);
|
||||
|
||||
Reference in New Issue
Block a user