#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum Result {
Ok,
AlreadyLocked,
BadCommand,
CDDADrivers,
CDDAInit,
CDDAInvalidDevice,
CDDANoAudio,
CDDANoDevices,
CDDANoDisc,
CDDARead,
ChannelAlloc,
ChannelStolen,
COM,
DMA,
DSPConnection,
DSPFormat,
DSPNotFound,
DSPRunning,
DSPTooManyConnections,
FileBad,
FileCouldNotSeek,
FileDiskEjected,
FileEOF,
FileNotFound,
FileUnwanted,
Format,
HTTP,
HTTPAccess,
HTTPProxyAuth,
HTTPServerError,
HTTPTimeout,
Initialization,
Initialized,
Internal,
InvalidAddress,
InvalidFloat,
InvalidHandle,
InvalidParam,
InvalidPosition,
InvalidSpeaker,
InvalidSyncPoint,
InvalidVector,
MaxAudible,
Memory,
MemoryCantPoint,
MemorySRAM,
Needs2D,
Needs3D,
NeedsHardware,
NeedsSoftware,
NetConnect,
NetSocketError,
NetURL,
NetWouldBlock,
NotReady,
OutputAllocated,
OutputCreateBuffer,
OutputDriverCall,
OutputEnumeration,
OutputFormat,
OutputInit,
OutputNoHardware,
OutputNoSoftware,
Pan,
Plugin,
PluginInstances,
PluginMissing,
PluginResource,
Preloaded,
ProgrammerSound,
Record,
ReverbInstance,
SubsoundAllocated,
SubsoundCantMove,
SubsoundMode,
Subsounds,
TagNotFound,
TooManyChannels,
Unimplemented,
Uninitialized,
Unsupported,
Update,
Version,
EventFailed,
EventInfoOnly,
EventInternal,
EventMaxStreams,
EventMismatch,
EventNameConflict,
EventNotFound,
EventNeedsSimple,
EventGuidConflict,
EventAlreadyLoaded,
MusicUninitialized,
MusicNotFound,
MusicNoCallback,
ResultForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum SpeakerMapType {
Default,
AllMono,
AllStereo,
_51ProTools
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum SoundFormat {
None,
PCM8,
PCM16,
PCM24,
PCM32,
PCMFloat,
GCADPCM,
IMAADPCM,
VAG,
HEVAG,
XMA,
MPEG,
CELT,
AT9,
XWMA,
VORBIS,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[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 = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum TagType {
Unknown = 0,
ID3V1,
ID3V2,
VORBISComment,
ShoutCast,
IceCast,
ASF,
MIDI,
Playlist,
Fmod,
User,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum TagDataType {
Binary = 0,
Int,
Float,
String,
StringUTF16,
StringUTF16BE,
StringUTF8,
CDTOC,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum ChannelIndex {
Free = -1,
ReUse = -2,
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspFftWindow {
Rect,
Triangle,
Hamming,
Hanning,
BlackMan,
BlackManHarris,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DelayType {
EndMS,
DSPClockStart,
DSPClockEnd,
DSPClockPause,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[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 = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum Speaker {
FrontLeft,
FrontRight,
FrontCenter,
LowFrequency,
BackLeft,
BackRight,
SideLeft,
SideRight,
Max,
Null = 65535,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum SpeakerMode {
Raw,
Mono,
Stereo,
Quad,
Surround,
_5Point1,
_7Point1,
SRS5_1_Matrix,
DOLBY5_1_Matrix,
MYears,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspResampler {
NoInterp,
Linear,
Cubic,
Spline,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum PluginType {
Output,
Codec,
DSP,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum OpenState {
Ready = 0,
Loading,
Error,
Connecting,
Buffering,
Seeking,
Playing,
SetPosition,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum SystemCallbackType {
DeviceListChanged,
DeviceLost,
MemoryAllocationFailed,
ThreadCreated,
BadDSPConnection,
BadDSPLevel,
ThreadDestroyed,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum SoundGroupBehavior {
Fail,
Mute,
StealLowest,
Max,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspType {
Unknown,
Mixer,
Oscillator,
LowPass,
ITLowPass,
HighPass,
Echo,
Flange,
Distortion,
Normalize,
Parameq,
PitchShift,
Chorus,
VSTPlugin,
WinampPlugin,
ITEcho,
Compressor,
SFXReverb,
LowPassSimple,
Delay,
Tremolo,
LADSPAPlugin,
HighPassSimple,
Hardware = 1000,
ForceInt = 65536
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspOscillator {
Type,
Rate
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspLowPass {
Cutoff,
Resonance
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspITLowPass {
Cutoff,
Resonance
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspHighPass {
Cutoff,
Resonance
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspTypeEcho {
Delay,
DecayRatio,
MaxChannels,
DryMix,
WetMix
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspDelay {
CH0,
CH1,
CH2,
CH3,
CH4,
CH5,
CH6,
CH7,
CH8,
CH9,
CH10,
CH11,
CH12,
CH13,
CH14,
CH15,
MaxDelay
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspFlange {
DryMix,
WetMix,
Depth,
Rate
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspTremolo {
Frequency,
Depth,
Shape,
Skew,
Duty,
Square,
Phase,
Spread
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspDistortion {
Level,
Unused
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspNormalize {
FadeTime,
Threshold,
MaxAmp
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspTypeParameq {
Center,
Bandwidth,
Gain
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspPitchShift {
Pitch,
FFTSize,
OverLap,
MaxChannels
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspChorus {
DryMix,
WetMix1,
WetMix2,
WetMix3,
Delay,
Rate,
Depth
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspITEcho {
WetDryMix,
FeedBack,
LeftDelay,
RightDelay,
PanDelay
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspCompressor {
Threshold,
Attack,
Release,
GainMakeup
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspSfxReverb {
DryLevel,
Room,
RoomHF,
DecayTime,
DecayHFRatio,
ReflectionsLevel,
ReflectionsDelay,
ReverbLevel,
ReverbDelay,
Diffusion,
Density,
HFReference,
RoomLF,
LFReference
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspLowPassSimple {
Cutoff,
Unused
}
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
#[repr(C)]
pub enum DspHighPassSimple {
Cutoff,
Unused
}