Enum rfmod::OutputType
[−]
[src]
#[repr(C)]pub enum OutputType { AutoDetect, Unknown, NoSound, WAVWriter, NoSoundNRT, WAVWriterNRT, DSound, WinMM, WASAPI, ASIO, OSS, ALSA, ESD, PulseAudio, CoreAudio, Xbox360, PSP, PS3, NGP, Wii, _3DS, AudioTrack, OpenSL, NACL, WiiU, ASound, AudioOut, XAudio, Max, ForceInt, }
These output types are used with Sys::set_output
/ Sys::get_output
, to choose which output method to use.
Variants
AutoDetect
Picks the best output mode for the platform. This is the default.
Unknown
All - 3rd party plugin, unknown. This is for use with Sys::get_output
only.
NoSound
All - All calls in this mode succeed but make no sound.
WAVWriter
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
All - Non-realtime version of FMOD_OUTPUTYPE_NOSOUND. User can drive mixer with Sys::update
at whatever rate they want.
WAVWriterNRT
All - Non-realtime version of FMOD_OUTPUTYPE_WAVWRITER. User can drive mixer with Sys::update
at whatever rate they want.
DSound
Win32/Win64 - DirectSound output. (Default on Windows XP and below)
WinMM
Win32/Win64 - Windows Multimedia output.
WASAPI
Win32 - Windows Audio Session API. (Default on Windows Vista and above)
ASIO
Win32 - Low latency ASIO 2.0 driver.
OSS
Linux/Linux64 - Open Sound System output. (Default on Linux, third preference)
ALSA
Linux/Linux64 - Advanced Linux Sound Architecture output. (Default on Linux, second preference if available)
ESD
Linux/Linux64 - Enlightment Sound Daemon output.
PulseAudio
Linux/Linux64 - PulseAudio output. (Default on Linux, first preference if available)
CoreAudio
Mac - Macintosh CoreAudio output. (Default on Mac)
Xbox360
Xbox 360 - Native Xbox360 output. (Default on Xbox 360)
PSP
PSP - Native PSP output. (Default on PSP)
PS3
PS3 - Native PS3 output. (Default on PS3)
NGP
NGP - Native NGP output. (Default on NGP)
Wii
Wii - Native Wii output. (Default on Wii)
_3DS
3DS - Native 3DS output (Default on 3DS)
AudioTrack
Android - Java Audio Track output. (Default on Android 2.2 and below)
OpenSL
Android - OpenSL ES output. (Default on Android 2.3 and above)
NACL
Native Client - Native Client output. (Default on Native Client)
WiiU
Wii U - Native Wii U output. (Default on Wii U)
ASound
BlackBerry - Native BlackBerry asound output. (Default on BlackBerry)
AudioOut
Orbis - Audio Out output. (Default on Orbis)
XAudio
Durango - XAudio2 output.
Max
Maximum number of output types supported.
ForceInt
Makes sure this enum is signed 32bit.
Trait Implementations
impl Clone for OutputType
[src]
fn clone(&self) -> OutputType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for OutputType
[src]
fn eq(&self, __arg_0: &OutputType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialOrd for OutputType
[src]
fn partial_cmp(&self, __arg_0: &OutputType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more