Add const

This commit is contained in:
xenakios
2018-10-15 19:21:11 +03:00
parent 0e0f28687e
commit 9ba940d55f
3 changed files with 3 additions and 3 deletions

View File

@ -306,7 +306,7 @@ int MyBufferingAudioSource::useTimeSlice()
return readNextBufferChunk() ? 1 : 100;
}
double MyBufferingAudioSource::getPercentReady()
double MyBufferingAudioSource::getPercentReady() const
{
if (bufferValidEnd == bufferValidStart)
return 0.0;