#[repr(C)]pub enum OutputType {
Show 30 variants
AutoDetect = 0,
Unknown = 1,
NoSound = 2,
WAVWriter = 3,
NoSoundNRT = 4,
WAVWriterNRT = 5,
DSound = 6,
WinMM = 7,
WASAPI = 8,
ASIO = 9,
OSS = 10,
ALSA = 11,
ESD = 12,
PulseAudio = 13,
CoreAudio = 14,
Xbox360 = 15,
PSP = 16,
PS3 = 17,
NGP = 18,
Wii = 19,
_3DS = 20,
AudioTrack = 21,
OpenSL = 22,
NACL = 23,
WiiU = 24,
ASound = 25,
AudioOut = 26,
XAudio = 27,
Max = 28,
ForceInt = 65_536,
}
Expand description
These output types are used with Sys::set_output
/
Sys::get_output
, to choose which output method to use.
Variants§
AutoDetect = 0
Picks the best output mode for the platform. This is the default.
Unknown = 1
All - 3rd party plugin, unknown. This is for use with
Sys::get_output
only.
NoSound = 2
All - All calls in this mode succeed but make no sound.
WAVWriter = 3
All - Writes output to fmodoutput.wav by default. Use the ‘extradriverdata’
parameter in Sys::init
, by simply passing the
filename as a string, to set the wav filename.
NoSoundNRT = 4
All - Non-realtime version of FMOD_OUTPUTYPE_NOSOUND. User can drive mixer with
Sys::update
at whatever rate they want.
WAVWriterNRT = 5
All - Non-realtime version of FMOD_OUTPUTYPE_WAVWRITER. User can drive mixer
with Sys::update
at whatever rate they want.
DSound = 6
Win32/Win64 - DirectSound output. (Default on Windows XP and below)
WinMM = 7
Win32/Win64 - Windows Multimedia output.
WASAPI = 8
Win32 - Windows Audio Session API. (Default on Windows Vista and above)
ASIO = 9
Win32 - Low latency ASIO 2.0 driver.
OSS = 10
Linux/Linux64 - Open Sound System output. (Default on Linux, third preference)
ALSA = 11
Linux/Linux64 - Advanced Linux Sound Architecture output. (Default on Linux, second preference if available)
ESD = 12
Linux/Linux64 - Enlightment Sound Daemon output.
PulseAudio = 13
Linux/Linux64 - PulseAudio output. (Default on Linux, first preference if available)
CoreAudio = 14
Mac - Macintosh CoreAudio output. (Default on Mac)
Xbox360 = 15
Xbox 360 - Native Xbox360 output. (Default on Xbox 360)
PSP = 16
PSP - Native PSP output. (Default on PSP)
PS3 = 17
PS3 - Native PS3 output. (Default on PS3)
NGP = 18
NGP - Native NGP output. (Default on NGP)
Wii = 19
Wii - Native Wii output. (Default on Wii)
_3DS = 20
3DS - Native 3DS output (Default on 3DS)
AudioTrack = 21
Android - Java Audio Track output. (Default on Android 2.2 and below)
OpenSL = 22
Android - OpenSL ES output. (Default on Android 2.3 and above)
NACL = 23
Native Client - Native Client output. (Default on Native Client)
WiiU = 24
Wii U - Native Wii U output. (Default on Wii U)
ASound = 25
BlackBerry - Native BlackBerry asound output. (Default on BlackBerry)
AudioOut = 26
Orbis - Audio Out output. (Default on Orbis)
XAudio = 27
Durango - XAudio2 output.
Max = 28
Maximum number of output types supported.
ForceInt = 65_536
Makes sure this enum is signed 32bit.
Trait Implementations§
Source§impl Clone for OutputType
impl Clone for OutputType
Source§fn clone(&self) -> OutputType
fn clone(&self) -> OutputType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more