]> git.saurik.com Git - wxWidgets.git/commit - src/osx/sound_osx.cpp
To support playing async sounds on the stack on Mac, do not delete the wxSoundData...
authorKevin Ollivier <kevino@theolliviers.com>
Wed, 30 Dec 2009 17:41:29 +0000 (17:41 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Wed, 30 Dec 2009 17:41:29 +0000 (17:41 +0000)
commit509da835c597ef3359d569866819395f64c2b0a4
tree1add011e65fc620c56c672895640aecbb1149872
parentc896c76129b31fa5687cd25a4095d2aa46858b19
To support playing async sounds on the stack on Mac, do not delete the wxSoundData when its wxSound object is destroyed if it's in the queue of sounds to be played. Instead, mark it to be deleted and delete it after it has played.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/sound.h
src/osx/carbon/sound.cpp
src/osx/core/sound.cpp
src/osx/sound_osx.cpp