projects
/
platform
/
upstream
/
qtmultimedia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bfb01
)
Fix a crash problem in AudioEngine due to class name change.
author
Ling Hu
<ling.hu@nokia.com>
Fri, 13 Jul 2012 03:25:57 +0000
(13:25 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Fri, 13 Jul 2012 04:46:39 +0000
(06:46 +0200)
Change-Id: I18a831ffc692b5aa6de6e2626f0dc916eb57c8b7
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
src/imports/audioengine/qaudioengine_openal_p.cpp
patch
|
blob
|
history
diff --git
a/src/imports/audioengine/qaudioengine_openal_p.cpp
b/src/imports/audioengine/qaudioengine_openal_p.cpp
index
901e925
..
d58c785
100644
(file)
--- 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("StaticSoundBuffer
Open
AL")) {
+ if (buffer->inherits("StaticSoundBufferAL")) {
StaticSoundBufferAL *staticBuffer = static_cast<StaticSoundBufferAL*>(buffer);
//decrement the reference count, still kept in memory for reuse
staticBuffer->release();