31/// Main Sound Engine interface, specific to Linux.
32
33#pragma once
34
35#include <AK/SoundEngine/Common/AkTypes.h>
36#include <AK/Tools/Common/AkPlatformFuncs.h>
37
38///< API used for audio output
39///< Use with AkPlatformInitSettings to select the API used for audio output.
40///< Use AkAPI_Default, it will select the more appropriate API depending on the computer's capabilities. Other values should be used for testing purposes.
41///< \sa AK::SoundEngine::Init
42typedefenum AkAudioAPILinux
43 {
44 AkAPI_PulseAudio = 1 << 0, ///< Use PulseAudio (this is the preferred API on Linux)
45 AkAPI_ALSA = 1 << 1, ///< Use ALSA
46 AkAPI_Default = AkAPI_PulseAudio | AkAPI_ALSA, ///< Default value, will select the more appropriate API
59AkThreadPropertiesthreadMonitor; ///< Monitor threading properties (its default priority is AK_THREAD_PRIORITY_ABOVENORMAL). This parameter is not used in Release build.
60
61// Memory.
62 AkReal32 fLEngineDefaultPoolRatioThreshold; ///< 0.0f to 1.0f value: The percentage of occupied memory where the sound engine should enter in Low memory mode. \ref soundengine_initialization_advanced_soundengine_using_memory_threshold