10#define EE_CHECK_SOUNDENGINE(...) if(EE_NO_SOUNDENGINE == 1 || !Impl) { return __VA_ARGS__; }
14 EE_CORE_CWARN(!Impl,
"Error : No valid SoundEngine impl. found. Using a null SoundEngine.");
17 EE_CERROR(!result,
"Error (SoundEngine::Init) : Could not initialize the sound engine.");
25 Impl->RenderAudioImpl();
31 Impl->TerminateImpl();
37 Impl->SetDefaultListenerImpl(obj);
43 Impl->SetDistanceProbeImpl(obj);
49 Impl->UnsetDistanceProbeImpl();
55 Impl->RegisterGameObjectImpl(obj);
61 Impl->UnregisterGameObjectImpl(obj);
67 Impl->UpdateObjectPositionImpl(obj);
73 Impl->PostEventImpl(eventName,
object);
79 Impl->PostEventImpl(eventId,
object);
85 Impl->PostEventImpl(eventName);
91 Impl->PostEventImpl(eventId);
103 Impl->SuspendImpl(renderAnyway, fadeOut);
#define EE_CERROR(condition,...)
#define EE_CHECK_SOUNDENGINE(...)
static void UpdatePosition(GameObject *obj)
static SoundEngine * GetImpl()
static void PostEvent(const char *eventName, GameObject *object)
static void SetDistanceProbe(GameObject *obj)
static void UnregisterGameObject(GameObject *obj)
static void SetDefaultListener(GameObject *obj)
static void Suspend(bool renderAnyway=false, bool fadeOut=true)
static void RegisterGameObject(GameObject *obj)
virtual bool InitImpl()=0
static void RenderAudio()
static void UnsetDistanceProbe()