Enum rfmod::OutputType[][src]

#[repr(C)]
pub enum OutputType {
Show variants 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,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.