diff options
author | Ling Hu <ling.hu@nokia.com> | 2012-07-13 13:25:57 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-13 06:46:39 +0200 |
commit | 0e846f36cbaaffaa7e59cb9c484691878ec2f859 (patch) | |
tree | db1aac703bccc63f56aca428dedbb32dd8c63314 /src/imports | |
parent | 59bfb014c8c0f0f328a26eb27c2a6250bb421c57 (diff) | |
download | qtmultimedia-0e846f36cbaaffaa7e59cb9c484691878ec2f859.tar.gz |
Fix a crash problem in AudioEngine due to class name change.
Change-Id: I18a831ffc692b5aa6de6e2626f0dc916eb57c8b7
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/audioengine/qaudioengine_openal_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/audioengine/qaudioengine_openal_p.cpp b/src/imports/audioengine/qaudioengine_openal_p.cpp index 901e925dc..d58c785f3 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<StaticSoundBufferAL*>(buffer); //decrement the reference count, still kept in memory for reuse staticBuffer->release(); |