CoreAudio for osx : replace all deprecated functions, now it not block dolphin, but it not work, i'm not a sound specialist

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4457 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-10-23 17:10:27 +00:00
parent 78c7c08daf
commit f432250893
2 changed files with 115 additions and 30 deletions

View File

@ -22,6 +22,8 @@
#include "SoundStream.h"
#if defined(__APPLE__)
#include <CoreAudio/AudioHardware.h>
#include <AudioUnit/AudioUnit.h>
#include <CoreServices/CoreServices.h>
#endif
#include "Thread.h"
@ -29,6 +31,11 @@
class CoreAudioSound : public SoundStream
{
#if defined(__APPLE__)
Common::Thread *thread;
Common::CriticalSection soundCriticalSection;
Common::Event soundSyncEvent;
public:
CoreAudioSound(CMixer *mixer);
virtual ~CoreAudioSound();