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
AutoDetectPicks the best output mode for the platform. This is the default.
UnknownAll - 3rd party plugin, unknown. This is for use with
Sys::get_output only.
NoSoundAll - All calls in this mode succeed but make no sound.
WAVWriterAll - 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.
NoSoundNRTAll - Non-realtime version of FMOD_OUTPUTYPE_NOSOUND. User can drive mixer with
Sys::update at whatever rate they want.
WAVWriterNRTAll - Non-realtime version of FMOD_OUTPUTYPE_WAVWRITER. User can drive mixer
with Sys::update at whatever rate they want.
DSoundWin32/Win64 - DirectSound output. (Default on Windows XP and below)
WinMMWin32/Win64 - Windows Multimedia output.
WASAPIWin32 - Windows Audio Session API. (Default on Windows Vista and above)
ASIOWin32 - Low latency ASIO 2.0 driver.
OSSLinux/Linux64 - Open Sound System output. (Default on Linux, third preference)
ALSALinux/Linux64 - Advanced Linux Sound Architecture output. (Default on Linux, second preference if available)
ESDLinux/Linux64 - Enlightment Sound Daemon output.
PulseAudioLinux/Linux64 - PulseAudio output. (Default on Linux, first preference if available)
CoreAudioMac - Macintosh CoreAudio output. (Default on Mac)
Xbox360Xbox 360 - Native Xbox360 output. (Default on Xbox 360)
PSPPSP - Native PSP output. (Default on PSP)
PS3PS3 - Native PS3 output. (Default on PS3)
NGPNGP - Native NGP output. (Default on NGP)
WiiWii - Native Wii output. (Default on Wii)
_3DS3DS - Native 3DS output (Default on 3DS)
AudioTrackAndroid - Java Audio Track output. (Default on Android 2.2 and below)
OpenSLAndroid - OpenSL ES output. (Default on Android 2.3 and above)
NACLNative Client - Native Client output. (Default on Native Client)
WiiUWii U - Native Wii U output. (Default on Wii U)
ASoundBlackBerry - Native BlackBerry asound output. (Default on BlackBerry)
AudioOutOrbis - Audio Out output. (Default on Orbis)
XAudioDurango - XAudio2 output.
MaxMaximum number of output types supported.
ForceIntMakes sure this enum is signed 32bit.
Trait Implementations
impl Clone for OutputType[src]
fn clone(&self) -> OutputType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for OutputType[src]
fn eq(&self, __arg_0: &OutputType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl PartialOrd for OutputType[src]
fn partial_cmp(&self, __arg_0: &OutputType) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
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) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for OutputType[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more