Fix a crash problem in AudioEngine due to class name change.
Change-Id: I18a831ffc692b5aa6de6e2626f0dc916eb57c8b7 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
@@ -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<StaticSoundBufferAL*>(buffer);
|
||||
//decrement the reference count, still kept in memory for reuse
|
||||
staticBuffer->release();
|
||||
|
||||
Reference in New Issue
Block a user