summaryrefslogtreecommitdiffstats
path: root/src/imports/audioengine/qaudioengine_openal_p.cpp
diff options
context:
space:
mode:
authorLing Hu <ling.hu@nokia.com>2012-07-13 13:25:57 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-13 06:46:39 +0200
commit0e846f36cbaaffaa7e59cb9c484691878ec2f859 (patch)
treedb1aac703bccc63f56aca428dedbb32dd8c63314 /src/imports/audioengine/qaudioengine_openal_p.cpp
parent59bfb014c8c0f0f328a26eb27c2a6250bb421c57 (diff)
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/audioengine/qaudioengine_openal_p.cpp')
-rw-r--r--src/imports/audioengine/qaudioengine_openal_p.cpp2
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();