Enum rfmod::SoundType[][src]

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

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

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.