Enum rfmod::SoundType
[−]
[src]
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
Unknown3rd party / unknown plugin format.
AIFFAIFF.
ASFMicrosoft Advanced Systems Format (ie WMA/ASF/WMV).
AT3Sony ATRAC 3 format
CDDADigital CD audio.
DLSSound font / downloadable sound bank.
FLACFLAC lossless codec.
FSBFMOD Sample Bank.
GCADPCMNintendo GameCube/Wii ADPCM
ITImpulse Tracker.
MIDIMIDI. extracodecdata is a pointer to an FMOD_MIDI_EXTRACODECDATA structure.
MODProtracker / Fasttracker MOD.
MPEGMP2/MP3 MPEG.
OGGVORBISOgg vorbis.
PlaylistInformation only from ASX/PLS/M3U/WAX playlists
RawRaw PCM data.
S3MScreamTracker 3.
SF2Sound font 2 format.
UserUser created sound.
WAVMicrosoft WAV.
XMFastTracker 2 XM.
XMAXbox360 XMA
VAGPlayStation Portable ADPCM VAG format.
AudioQueueiPhone hardware decoder, supports AAC, ALAC and MP3. extracodecdata is a pointer to an FMOD_AUDIOQUEUE_EXTRACODECDATA structure.
XWMAXbox360 XWMA
BCWAV3DS BCWAV container format for DSP ADPCM and PCM
AT9NGP ATRAC 9 format
VORBISRaw vorbis
MediaFoundationMicrosoft Media Foundation wrappers, supports ASF/WMA
MaxMaximum number of sound types supported.
ForceIntMakes sure this enum is signed 32bit.
Trait Implementations
impl Copy for SoundType[src]
impl Debug for SoundType[src]
impl PartialOrd for SoundType[src]
fn partial_cmp(&self, __arg_0: &SoundType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0
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
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
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
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl PartialEq for SoundType[src]
fn eq(&self, __arg_0: &SoundType) -> bool
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
This method tests for !=.
impl Clone for SoundType[src]
fn clone(&self) -> SoundType
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