![]() |
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <ThreadedAE.h>
Public Member Functions | |
virtual void | Run ()=0 |
virtual void | Stop ()=0 |
![]() | |
virtual void | Shutdown () |
Called when the application needs to terminate the engine. More... | |
virtual bool | Suspend ()=0 |
Suspends output and de-initializes sink. More... | |
virtual bool | Resume ()=0 |
Resumes output and re-initializes sink. More... | |
virtual bool | IsSuspended () |
Get the current Suspend() state. More... | |
virtual float | GetVolume ()=0 |
Returns the current master volume level of the AudioEngine. More... | |
virtual void | SetVolume (const float volume)=0 |
Sets the master volume level of the AudioEngine. More... | |
virtual void | SetMute (const bool enabled)=0 |
Set the mute state (does not affect volume level value) More... | |
virtual bool | IsMuted ()=0 |
Get the current mute state. More... | |
virtual StreamPtr | MakeStream (AEAudioFormat &audioFormat, unsigned int options=0, IAEClockCallback *clock=NULL)=0 |
Creates and returns a new IAEStream in the format specified, this function should never fail. More... | |
virtual SoundPtr | MakeSound (const std::string &file)=0 |
Creates a new IAESound that is ready to play the specified file. More... | |
virtual void | EnumerateOutputDevices (AEDeviceList &devices, bool passthrough)=0 |
Enumerate the supported audio output devices. More... | |
virtual bool | SupportsRaw (AEAudioFormat &format) |
Returns true if the AudioEngine supports AE_FMT_RAW streams for use with formats such as IEC61937. More... | |
virtual bool | SupportsSilenceTimeout () |
Returns true if the AudioEngine supports drain mode which is not streaming silence when idle. More... | |
virtual bool | UsesDtsCoreFallback () |
Returns true if the AudioEngine is currently configured to extract the DTS Core from DTS-HD streams. More... | |
virtual bool | HasStereoAudioChannelCount () |
Returns true if the AudioEngine is currently configured for stereo audio. More... | |
virtual bool | HasHDAudioChannelCount () |
Returns true if the AudioEngine is currently configured for HD audio (more than 5.1) More... | |
virtual void | RegisterAudioCallback (IAudioCallback *pCallback) |
virtual void | UnregisterAudioCallback (IAudioCallback *pCallback) |
virtual bool | SupportsQualityLevel (enum AEQuality level) |
Returns true if AudioEngine supports specified quality level. More... | |
virtual bool | IsSettingVisible (const std::string &settingId) |
AE decides whether this settings should be displayed. More... | |
virtual void | KeepConfiguration (unsigned int millis) |
Instruct AE to keep configuration for a specified time. More... | |
virtual void | DeviceChange () |
Instruct AE to re-initialize, e.g. after ELD change event. More... | |
virtual void | DeviceCountChange (const std::string &driver) |
Instruct AE to re-initialize, e.g. after ELD change event. More... | |
virtual bool | GetCurrentSinkFormat (AEAudioFormat &SinkFormat) |
Get the current sink data format. More... | |
![]() | |
virtual void | Cancel () |
virtual | ~IRunnable ()=default |
Additional Inherited Members | |
![]() | |
using | StreamPtr = std::unique_ptr< IAEStream, IAEStreamDeleter > |
using | SoundPtr = std::unique_ptr< IAESound, IAESoundDeleter > |
![]() | |
IAE ()=default | |
virtual | ~IAE ()=default |
virtual void | Start ()=0 |
Initializes the AudioEngine, called by CFactory when it is time to initialize the audio engine. More... | |
|
pure virtual |