Murl::IAudioInterface Interface Referenceabstract

The audio interface. More...

#include "murl_i_audio_interface.h"

Inherited by Murl::Linux::AudioInterface, Murl::Platform::Android::AudioInterface, Murl::Platform::Emscripten::AudioInterface, Murl::Platform::Ios::AudioInterface, Murl::Platform::Osx::AudioInterface, Murl::Platform::Tvos::AudioInterface, Murl::Platform::Win32::AudioInterface, and Murl::WinRT::AudioInterface.

Public Member Functions

virtual Bool CanShareContexts () const =0
 Check if the interface supports shared contexts. More...
 
virtual void * GetRenderContext ()=0
 Get the audio render context. More...
 
virtual Bool ActivateRenderContext ()=0
 Activate the audio render context. More...
 
virtual Bool DeactivateRenderContext ()=0
 Deactivate the audio render context. More...
 
virtual Bool IsRenderContextActive () const =0
 Check if the audio render context is active. More...
 
virtual void * GetLoaderContext ()=0
 Get the audio loader context. More...
 
virtual Bool ActivateLoaderContext ()=0
 Activate the audio loader context. More...
 
virtual Bool DeactivateLoaderContext ()=0
 Deactivate the audio loader context. More...
 
virtual Bool IsLoaderContextActive () const =0
 Check if the audio loader context is active. More...
 

Detailed Description

The audio interface.

Member Function Documentation

◆ CanShareContexts()

virtual Bool Murl::IAudioInterface::CanShareContexts ( ) const
pure virtual

Check if the interface supports shared contexts.

Returns
true if the interface supports shared contexts.

◆ GetRenderContext()

virtual void* Murl::IAudioInterface::GetRenderContext ( )
pure virtual

Get the audio render context.

Returns
The audio render context.

◆ ActivateRenderContext()

virtual Bool Murl::IAudioInterface::ActivateRenderContext ( )
pure virtual

Activate the audio render context.

Returns
true if successful.

◆ DeactivateRenderContext()

virtual Bool Murl::IAudioInterface::DeactivateRenderContext ( )
pure virtual

Deactivate the audio render context.

Returns
true if successful.

◆ IsRenderContextActive()

virtual Bool Murl::IAudioInterface::IsRenderContextActive ( ) const
pure virtual

Check if the audio render context is active.

Returns
true if active.

◆ GetLoaderContext()

virtual void* Murl::IAudioInterface::GetLoaderContext ( )
pure virtual

Get the audio loader context.

Returns
The audio loader context.

◆ ActivateLoaderContext()

virtual Bool Murl::IAudioInterface::ActivateLoaderContext ( )
pure virtual

Activate the audio loader context.

Returns
true if successful.

◆ DeactivateLoaderContext()

virtual Bool Murl::IAudioInterface::DeactivateLoaderContext ( )
pure virtual

Deactivate the audio loader context.

Returns
true if successful.

◆ IsLoaderContextActive()

virtual Bool Murl::IAudioInterface::IsLoaderContextActive ( ) const
pure virtual

Check if the audio loader context is active.

Returns
true if active.

The documentation for this interface was generated from the following file:
  • murl_i_audio_interface.h


Copyright © 2011-2022 Spraylight GmbH.