diff --git a/src/imports/audioengine/qaudioengine_openal_p.cpp b/src/imports/audioengine/qaudioengine_openal_p.cpp index 901e925d..d58c785f 100644 --- a/src/imports/audioengine/qaudioengine_openal_p.cpp +++ b/src/imports/audioengine/qaudioengine_openal_p.cpp @@ -327,7 +327,7 @@ void QAudioEnginePrivate::releaseSoundBuffer(QSoundBuffer *buffer) #ifdef DEBUG_AUDIOENGINE qDebug() << "QAudioEnginePrivate: recycle sound buffer"; #endif - if (buffer->inherits("StaticSoundBufferOpenAL")) { + if (buffer->inherits("StaticSoundBufferAL")) { StaticSoundBufferAL *staticBuffer = static_cast(buffer); //decrement the reference count, still kept in memory for reuse staticBuffer->release();