Enum rfmod::SoundType
[−]
[src]
#[repr(C)]pub enum SoundType { Unknown, AIFF, ASF, AT3, CDDA, DLS, FLAC, FSB, GCADPCM, IT, MIDI, MOD, MPEG, OGGVORBIS, Playlist, Raw, S3M, SF2, User, WAV, XM, XMA, VAG, AudioQueue, XWMA, BCWAV, AT9, VORBIS, MediaFoundation, Max, ForceInt, }
These definitions describe the type of song being played.
Variants
Unknown
3rd party / unknown plugin format.
AIFF
AIFF.
ASF
Microsoft Advanced Systems Format (ie WMA/ASF/WMV).
AT3
Sony ATRAC 3 format
CDDA
Digital CD audio.
DLS
Sound font / downloadable sound bank.
FLAC
FLAC lossless codec.
FSB
FMOD Sample Bank.
GCADPCM
Nintendo GameCube/Wii ADPCM
IT
Impulse Tracker.
MIDI
MIDI. extracodecdata is a pointer to an FMOD_MIDI_EXTRACODECDATA structure.
MOD
Protracker / Fasttracker MOD.
MPEG
MP2/MP3 MPEG.
OGGVORBIS
Ogg vorbis.
Playlist
Information only from ASX/PLS/M3U/WAX playlists
Raw
Raw PCM data.
S3M
ScreamTracker 3.
SF2
Sound font 2 format.
User
User created sound.
WAV
Microsoft WAV.
XM
FastTracker 2 XM.
XMA
Xbox360 XMA
VAG
PlayStation Portable ADPCM VAG format.
AudioQueue
iPhone hardware decoder, supports AAC, ALAC and MP3. extracodecdata is a pointer to an FMOD_AUDIOQUEUE_EXTRACODECDATA structure.
XWMA
Xbox360 XWMA
BCWAV
3DS BCWAV container format for DSP ADPCM and PCM
AT9
NGP ATRAC 9 format
VORBIS
Raw vorbis
MediaFoundation
Microsoft Media Foundation wrappers, supports ASF/WMA
Max
Maximum number of sound types supported.
ForceInt
Makes sure this enum is signed 32bit.
Trait Implementations
impl Clone for SoundType
[src]
fn clone(&self) -> SoundType
[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 SoundType
[src]
fn eq(&self, __arg_0: &SoundType) -> bool
[src]
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[src]
This method tests for !=
.
impl PartialOrd for SoundType
[src]
fn partial_cmp(&self, __arg_0: &SoundType) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.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) -> bool
1.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) -> bool
1.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) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more