Include global.h.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
#include "global.h"
|
||||||
#include "RageSoundDriver_AU.h"
|
#include "RageSoundDriver_AU.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
@@ -46,9 +47,11 @@ RageSoundDriver_AU::RageSoundDriver_AU() : m_OutputUnit(NULL), m_iSampleRate(0),
|
|||||||
void RageSoundDriver_AU::NameHALThread( CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *inRefCon )
|
void RageSoundDriver_AU::NameHALThread( CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *inRefCon )
|
||||||
{
|
{
|
||||||
RageSoundDriver_AU *This = (RageSoundDriver_AU *)inRefCon;
|
RageSoundDriver_AU *This = (RageSoundDriver_AU *)inRefCon;
|
||||||
|
if( This->m_pNotificationThread == NULL )
|
||||||
|
{
|
||||||
This->m_pNotificationThread = new RageThreadRegister( "HAL notification thread" );
|
This->m_pNotificationThread = new RageThreadRegister( "HAL notification thread" );
|
||||||
This->m_Semaphore.Post();
|
This->m_Semaphore.Post();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RString RageSoundDriver_AU::Init()
|
RString RageSoundDriver_AU::Init()
|
||||||
|
|||||||
Reference in New Issue
Block a user