00001 using Microsoft.VisualBasic; 00002 using Microsoft.VisualBasic.Compatibility; 00003 using System; 00004 using System.Collections; 00005 using System.Collections.Generic; 00006 using System.Data; 00007 using System.Drawing; 00008 using System.Diagnostics; 00009 using System.Windows.Forms; 00010 using System.Linq; 00011 using System.Xml.Linq; 00012 00013 using SoundsSharpNameSpace.SoundsSharp.Music; 00014 using System.Runtime.InteropServices; 00015 namespace SoundsSharpNameSpace.fmodex 00016 { 00017 public static class fmodexvb 00018 { 00019 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00020 public static extern FMOD_RESULT FMOD_Memory_Initialize(int poolmem, int poollen, int useralloc, int userrealloc, int userfree); 00021 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00022 public static extern FMOD_RESULT FMOD_Memory_GetStats(ref int currentalloced, ref int maxalloced); 00023 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00024 public static extern FMOD_RESULT FMOD_Debug_SetLevel(FMOD_DEBUGLEVEL level); 00025 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00026 public static extern FMOD_RESULT FMOD_Debug_GetLevel(ref FMOD_DEBUGLEVEL level); 00027 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00028 public static extern FMOD_RESULT FMOD_File_SetDiskBusy(int busy); 00029 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00030 public static extern FMOD_RESULT FMOD_File_GetDiskBusy(ref int busy); 00031 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00032 public static extern FMOD_RESULT FMOD_System_Create(ref int system_Renamed); 00033 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00034 public static extern FMOD_RESULT FMOD_System_Release(int system_Renamed); 00035 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00036 public static extern FMOD_RESULT FMOD_System_SetOutput(int system_Renamed, FMOD_OUTPUTTYPE output); 00037 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00038 public static extern FMOD_RESULT FMOD_System_GetOutput(int system_Renamed, ref FMOD_OUTPUTTYPE output); 00039 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00040 public static extern FMOD_RESULT FMOD_System_GetNumDrivers(int system_Renamed, ref int Numdrivers); 00041 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00042 public static extern FMOD_RESULT FMOD_System_GetDriverInfo(int system_Renamed, int Id, ref byte name, int namelen, ref FMOD_GUID GUID); 00043 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00044 public static extern FMOD_RESULT FMOD_System_GetDriverCaps(int system_Renamed, int Id, ref FMOD_CAPS caps, ref int minfrequency, ref int maxfrequency, ref FMOD_SPEAKERMODE controlpanelspeakermode); 00045 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00046 public static extern FMOD_RESULT FMOD_System_SetDriver(int system_Renamed, int Driver); 00047 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00048 public static extern FMOD_RESULT FMOD_System_GetDriver(int system_Renamed, ref int Driver); 00049 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00050 public static extern FMOD_RESULT FMOD_System_SetHardwareChannels(int system_Renamed, int Min2d, int Max2d, int Min3d, int Max3d); 00051 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00052 public static extern FMOD_RESULT FMOD_System_SetSoftwareChannels(int system_Renamed, int Numsoftwarechannels); 00053 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00054 public static extern FMOD_RESULT FMOD_System_GetSoftwareChannels(int system_Renamed, ref int Numsoftwarechannels); 00055 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00056 public static extern FMOD_RESULT FMOD_System_SetSoftwareFormat(int system_Renamed, int Samplerate, FMOD_SOUND_FORMAT Format_Renamed, int Numoutputchannels, int Maxinputchannels, FMOD_DSP_RESAMPLER Resamplemethod); 00057 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00058 public static extern FMOD_RESULT FMOD_System_GetSoftwareFormat(int system_Renamed, ref int Samplerate, ref FMOD_SOUND_FORMAT Format_Renamed, ref int Numoutputchannels, ref int Maxinputchannels, ref FMOD_DSP_RESAMPLER Resamplemethod, ref int Bits); 00059 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00060 public static extern FMOD_RESULT FMOD_System_SetDSPBufferSize(int system_Renamed, int Bufferlength, int Numbuffers); 00061 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00062 public static extern FMOD_RESULT FMOD_System_GetDSPBufferSize(int system_Renamed, ref int Bufferlength, ref int Numbuffers); 00063 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00064 public static extern FMOD_RESULT FMOD_System_SetFileSystem(int system_Renamed, int useropen, int userclose, int userread, int userseek, int Buffersize); 00065 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00066 public static extern FMOD_RESULT FMOD_System_AttachFileSystem(int system_Renamed, int useropen, int userclose, int userread, int userseek); 00067 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00068 public static extern FMOD_RESULT FMOD_System_SetAdvancedSettings(int system_Renamed, ref FMOD_ADVANCEDSETTINGS settings); 00069 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00070 public static extern FMOD_RESULT FMOD_System_GetAdvancedSettings(int system_Renamed, ref FMOD_ADVANCEDSETTINGS settings); 00071 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00072 public static extern FMOD_RESULT FMOD_System_SetSpeakerMode(int system_Renamed, FMOD_SPEAKERMODE Speakermode); 00073 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00074 public static extern FMOD_RESULT FMOD_System_GetSpeakerMode(int system_Renamed, ref FMOD_SPEAKERMODE Speakermode); 00075 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00076 public static extern FMOD_RESULT FMOD_System_SetPluginPath(int system_Renamed, string Path); 00077 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00078 public static extern FMOD_RESULT FMOD_System_LoadPlugin(int system_Renamed, string Filename, ref int Handle, int Priority); 00079 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00080 public static extern FMOD_RESULT FMOD_System_UnloadPlugin(int system_Renamed, int Handle); 00081 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00082 public static extern FMOD_RESULT FMOD_System_GetNumPlugins(int system_Renamed, FMOD_PLUGINTYPE Plugintype, ref int Numplugins); 00083 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00084 public static extern FMOD_RESULT FMOD_System_GetPluginHandle(int system_Renamed, FMOD_PLUGINTYPE Plugintype, int Index, ref int Handle); 00085 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00086 public static extern FMOD_RESULT FMOD_System_GetPluginInfo(int system_Renamed, int Handle, ref FMOD_PLUGINTYPE Plugintype, ref byte name, int namelen, ref int version); 00087 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00088 public static extern FMOD_RESULT FMOD_System_SetOutputByPlugin(int system_Renamed, int Handle); 00089 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00090 public static extern FMOD_RESULT FMOD_System_GetOutputByPlugin(int system_Renamed, ref int Handle); 00091 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00092 public static extern FMOD_RESULT FMOD_System_CreateDSPByPlugin(int system_Renamed, int Handle, ref int Dsp); 00093 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00094 public static extern FMOD_RESULT FMOD_System_CreateCodec(int system_Renamed, int CodecDescription); 00095 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00096 public static extern FMOD_RESULT FMOD_System_Init(int system_Renamed, int Maxchannels, FMOD_INITFLAGS Flags, int Extradriverdata); 00097 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00098 public static extern FMOD_RESULT FMOD_System_Close(int system_Renamed); 00099 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00100 public static extern FMOD_RESULT FMOD_System_Update(int system_Renamed); 00101 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00102 public static extern FMOD_RESULT FMOD_System_Set3DSettings(int system_Renamed, float Dopplerscale, float Distancefactor, float Rolloffscale); 00103 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00104 public static extern FMOD_RESULT FMOD_System_Get3DSettings(int system_Renamed, ref float Dopplerscale, ref float Distancefactor, ref float Rolloffscale); 00105 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00106 public static extern FMOD_RESULT FMOD_System_Set3DNumListeners(int system_Renamed, int Numlisteners); 00107 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00108 public static extern FMOD_RESULT FMOD_System_Get3DNumListeners(int system_Renamed, ref int Numlisteners); 00109 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00110 public static extern FMOD_RESULT FMOD_System_Set3DListenerAttributes(int system_Renamed, int Listener, ref Vector Pos, ref Vector Vel, ref Vector Forward, ref Vector Up); 00111 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00112 public static extern FMOD_RESULT FMOD_System_Get3DListenerAttributes(int system_Renamed, int Listener, ref Vector Pos, ref Vector Vel, ref Vector Forward, ref Vector Up); 00113 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00114 public static extern FMOD_RESULT FMOD_System_Set3DRolloffCallback(int system_Renamed, int Callback); 00115 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00116 public static extern FMOD_RESULT FMOD_System_Set3DSpeakerPosition(int system_Renamed, FMOD_SPEAKER speaker, float X, float Y, int active); 00117 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00118 public static extern FMOD_RESULT FMOD_System_Get3DSpeakerPosition(int system_Renamed, ref FMOD_SPEAKER speaker, ref float X, ref float Y, ref int active); 00119 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00120 public static extern FMOD_RESULT FMOD_System_SetStreamBufferSize(int system_Renamed, int Filebuffersize, FMOD_TIMEUNIT Filebuffersizetype); 00121 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00122 public static extern FMOD_RESULT FMOD_System_GetStreamBufferSize(int system_Renamed, ref int Filebuffersize, ref FMOD_TIMEUNIT Filebuffersizetype); 00123 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00124 public static extern FMOD_RESULT FMOD_System_GetVersion(int system_Renamed, ref int version); 00125 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00126 public static extern FMOD_RESULT FMOD_System_GetOutputHandle(int system_Renamed, ref int Handle); 00127 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00128 public static extern FMOD_RESULT FMOD_System_GetChannelsPlaying(int system_Renamed, ref int Channels); 00129 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00130 public static extern FMOD_RESULT FMOD_System_GetHardwareChannels(int system_Renamed, ref int Num2d, ref int Num3d, ref int total); 00131 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00132 public static extern FMOD_RESULT FMOD_System_GetCPUUsage(int system_Renamed, ref float Dsp, ref float Stream, ref float Geometry, ref float Update, ref float total); 00133 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00134 public static extern FMOD_RESULT FMOD_System_GetSoundRAM(int system_Renamed, ref int currentalloced, ref int maxalloced, ref int total); 00135 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00136 public static extern FMOD_RESULT FMOD_System_GetNumCDROMDrives(int system_Renamed, ref int Numdrives); 00137 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00138 public static extern FMOD_RESULT FMOD_System_GetCDROMDriveName(int system_Renamed, int Drive, ref byte Drivename, int Drivenamelen, ref byte Scsiname, int Scsinamelen, ref byte Devicename, int Devicenamelen); 00139 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00140 public static extern FMOD_RESULT FMOD_System_GetSpectrum(int system_Renamed, ref float Spectrumarray, int Numvalues, int Channeloffset, ref FMOD_DSP_FFT_WINDOW Windowtype); 00141 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00142 public static extern FMOD_RESULT FMOD_System_GetWaveData(int system_Renamed, ref float Wavearray, int Numvalues, int Channeloffset); 00143 [DllImport("fmodex.dll", EntryPoint = "FMOD_System_CreateSound", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00144 public static extern FMOD_RESULT FMOD_System_CreateSoundEx(int system_Renamed, string Name_or_data, FMOD_MODE Mode, ref FMOD_CREATESOUNDEXINFO exinfo, ref int Sound); 00145 [DllImport("fmodex.dll", EntryPoint = "FMOD_System_CreateStream", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00146 public static extern FMOD_RESULT FMOD_System_CreateStreamEx(int system_Renamed, string Name_or_data, FMOD_MODE Mode, ref FMOD_CREATESOUNDEXINFO exinfo, ref int Sound); 00147 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00148 public static extern FMOD_RESULT FMOD_System_CreateDSP(int system_Renamed, ref FMOD_DSP_DESCRIPTION description, ref int Dsp); 00149 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00150 public static extern FMOD_RESULT FMOD_System_CreateDSPByType(int system_Renamed, FMOD_DSP_TYPE dsptype, ref int Dsp); 00151 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00152 public static extern FMOD_RESULT FMOD_System_CreateDSPByIndex(int system_Renamed, int Index, ref int Dsp); 00153 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00154 public static extern FMOD_RESULT FMOD_System_CreateChannelGroup(int system_Renamed, string name, ref int Channelgroup); 00155 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00156 public static extern FMOD_RESULT FMOD_System_CreateSoundGroup(int system_Renamed, ref byte name, ref int soundgroup); 00157 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00158 public static extern FMOD_RESULT FMOD_System_CreateReverb(int system_Renamed, ref int reverb); 00159 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00160 public static extern FMOD_RESULT FMOD_System_PlaySound(int system_Renamed, FMOD_CHANNELINDEX channelid, int Sound, int paused, ref int channel); 00161 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00162 public static extern FMOD_RESULT FMOD_System_PlayDSP(int system_Renamed, FMOD_CHANNELINDEX channelid, int Dsp, int paused, ref int channel); 00163 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00164 public static extern FMOD_RESULT FMOD_System_GetChannel(int system_Renamed, int channelid, ref int channel); 00165 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00166 public static extern FMOD_RESULT FMOD_System_GetMasterChannelGroup(int system_Renamed, ref int Channelgroup); 00167 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00168 public static extern FMOD_RESULT FMOD_System_GetMasterSoundGroup(int system_Renamed, ref int soundgroup); 00169 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00170 public static extern FMOD_RESULT FMOD_System_SetReverbProperties(int system_Renamed, ref FMOD_REVERB_PROPERTIES Prop); 00171 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00172 public static extern FMOD_RESULT FMOD_System_GetReverbProperties(int system_Renamed, ref FMOD_REVERB_PROPERTIES Prop); 00173 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00174 public static extern FMOD_RESULT FMOD_System_SetReverbAmbientProperties(int system_Renamed, ref FMOD_REVERB_PROPERTIES Prop); 00175 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00176 public static extern FMOD_RESULT FMOD_System_GetReverbAmbientProperties(int system_Renamed, ref FMOD_REVERB_PROPERTIES Prop); 00177 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00178 public static extern FMOD_RESULT FMOD_System_GetDSPHead(int system_Renamed, ref int Dsp); 00179 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00180 public static extern FMOD_RESULT FMOD_System_AddDSP(int system_Renamed, int Dsp, ref int dspconnection); 00181 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00182 public static extern FMOD_RESULT FMOD_System_LockDSP(int system_Renamed); 00183 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00184 public static extern FMOD_RESULT FMOD_System_UnlockDSP(int system_Renamed); 00185 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00186 public static extern FMOD_RESULT FMOD_System_GetRecordNumDrivers(int system_Renamed, ref int Numdrivers); 00187 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00188 public static extern FMOD_RESULT FMOD_System_GetRecordDriverInfo(int system_Renamed, int Id, ref byte name, int namelen, ref FMOD_GUID GUID); 00189 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00190 public static extern FMOD_RESULT FMOD_System_GetRecordPosition(int system_Renamed, int Id, ref int position); 00191 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00192 public static extern FMOD_RESULT FMOD_System_RecordStart(int system_Renamed, int Id, int Sound, int Loop_); 00193 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00194 public static extern FMOD_RESULT FMOD_System_RecordStop(int system_Renamed, int Id); 00195 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00196 public static extern FMOD_RESULT FMOD_System_IsRecording(int system_Renamed, int Id, ref int Recording); 00197 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00198 public static extern FMOD_RESULT FMOD_System_CreateGeometry(int system_Renamed, int MaxPolygons, int MaxVertices, ref int Geometryf); 00199 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00200 public static extern FMOD_RESULT FMOD_System_SetGeometrySettings(int system_Renamed, float Maxworldsize); 00201 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00202 public static extern FMOD_RESULT FMOD_System_GetGeometrySettings(int system_Renamed, ref float Maxworldsize); 00203 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00204 public static extern FMOD_RESULT FMOD_System_LoadGeometry(int system_Renamed, int Data, int DataSize, ref int Geometry); 00205 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00206 public static extern FMOD_RESULT FMOD_System_SetNetworkProxy(int system_Renamed, string Proxy); 00207 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00208 public static extern FMOD_RESULT FMOD_System_GetNetworkProxy(int system_Renamed, ref byte Proxy, int Proxylen); 00209 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00210 public static extern FMOD_RESULT FMOD_System_SetNetworkTimeout(int system_Renamed, int timeout); 00211 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00212 public static extern FMOD_RESULT FMOD_System_GetNetworkTimeout(int system_Renamed, ref int timeout); 00213 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00214 public static extern FMOD_RESULT FMOD_System_SetUserData(int system_Renamed, int userdata); 00215 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00216 public static extern FMOD_RESULT FMOD_System_GetUserData(int system_Renamed, ref int userdata); 00217 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00218 public static extern FMOD_RESULT FMOD_Sound_Release(int Sound); 00219 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00220 public static extern FMOD_RESULT FMOD_Sound_GetSystemObject(int Sound, ref int system_Renamed); 00221 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00222 public static extern FMOD_RESULT FMOD_Sound_Lock(int Sound, int Offset, int Length, ref int Ptr1, ref int Ptr2, ref int Len1, ref int Len2); 00223 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00224 public static extern FMOD_RESULT FMOD_Sound_Unlock(int Sound, int Ptr1, int Ptr2, int Len1, int Len2); 00225 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00226 public static extern FMOD_RESULT FMOD_Sound_SetDefaults(int Sound, float Frequency, float volume, float Pan, int Priority); 00227 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00228 public static extern FMOD_RESULT FMOD_Sound_GetDefaults(int Sound, ref float Frequency, ref float volume, ref float Pan, ref int Priority); 00229 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00230 public static extern FMOD_RESULT FMOD_Sound_SetVariations(int Sound, float Frequencyvar, float Volumevar, float Panvar); 00231 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00232 public static extern FMOD_RESULT FMOD_Sound_GetVariations(int Sound, ref float Frequencyvar, ref float Volumevar, ref float Panvar); 00233 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00234 public static extern FMOD_RESULT FMOD_Sound_Set3DMinMaxDistance(int Sound, float min, float max); 00235 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00236 public static extern FMOD_RESULT FMOD_Sound_Get3DMinMaxDistance(int Sound, ref float min, ref float max); 00237 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00238 public static extern FMOD_RESULT FMOD_Sound_Set3DConeSettings(int Sound, float Insideconeangle, float Outsideconeangle, float Outsidevolume); 00239 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00240 public static extern FMOD_RESULT FMOD_Sound_Get3DConeSettings(int Sound, ref float Insideconeangle, ref float Outsideconeangle, ref float Outsidevolume); 00241 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00242 public static extern FMOD_RESULT FMOD_Sound_Set3DCustomRolloff(int Sound, ref Vector Points, int numpoints); 00243 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00244 public static extern FMOD_RESULT FMOD_Sound_Get3DCustomRolloff(int Sound, ref int Points, ref int numpoints); 00245 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00246 public static extern FMOD_RESULT FMOD_Sound_SetSubSound(int Sound, int Index, int Subsound); 00247 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00248 public static extern FMOD_RESULT FMOD_Sound_GetSubSound(int Sound, int Index, ref int Subsound); 00249 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00250 public static extern FMOD_RESULT FMOD_Sound_SetSubSoundSentence(int Sound, ref int Subsoundlist, int Numsubsounds); 00251 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00252 public static extern FMOD_RESULT FMOD_Sound_GetName(int Sound, ref byte name, int namelen); 00253 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00254 public static extern FMOD_RESULT FMOD_Sound_GetLength(int Sound, ref int Length, FMOD_TIMEUNIT Lengthtype); 00255 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00256 public static extern FMOD_RESULT FMOD_Sound_GetFormat(int Sound, ref FMOD_SOUND_TYPE Soundtype, ref FMOD_SOUND_FORMAT Format_Renamed, ref int Channels, ref int Bits); 00257 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00258 public static extern FMOD_RESULT FMOD_Sound_GetNumSubSounds(int Sound, ref int Numsubsounds); 00259 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00260 public static extern FMOD_RESULT FMOD_Sound_GetNumTags(int Sound, ref int Numtags, ref int Numtagsupdated); 00261 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00262 public static extern FMOD_RESULT FMOD_Sound_GetTag(int Sound, string name, int Index, ref FMOD_TAG Tag); 00263 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00264 public static extern FMOD_RESULT FMOD_Sound_GetOpenState(int Sound, ref FMOD_OPENSTATE Openstate, ref int Percentbuffered, ref int Starving); 00265 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00266 public static extern FMOD_RESULT FMOD_Sound_ReadData(int Sound, int Buffer, int Lenbytes, ref int Read); 00267 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00268 public static extern FMOD_RESULT FMOD_Sound_SeekData(int Sound, int Pcm); 00269 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00270 public static extern FMOD_RESULT FMOD_Sound_SetSoundGroup(int Sound, int soundgroup); 00271 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00272 public static extern FMOD_RESULT FMOD_Sound_GetSoundGroup(int Sound, ref int soundgroup); 00273 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00274 public static extern FMOD_RESULT FMOD_Sound_GetNumSyncPoints(int Sound, ref int Numsyncpoints); 00275 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00276 public static extern FMOD_RESULT FMOD_Sound_GetSyncPoint(int Sound, int Index, ref int Point); 00277 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00278 public static extern FMOD_RESULT FMOD_Sound_GetSyncPointInfo(int Sound, int Point, ref byte name, int namelen, ref int Offset, FMOD_TIMEUNIT Offsettype); 00279 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00280 public static extern FMOD_RESULT FMOD_Sound_AddSyncPoint(int Sound, int Offset, FMOD_TIMEUNIT Offsettype, string name, ref int Point); 00281 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00282 public static extern FMOD_RESULT FMOD_Sound_DeleteSyncPoint(int Sound, int Point); 00283 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00284 public static extern FMOD_RESULT FMOD_Sound_SetMode(int Sound, FMOD_MODE Mode); 00285 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00286 public static extern FMOD_RESULT FMOD_Sound_GetMode(int Sound, ref FMOD_MODE Mode); 00287 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00288 public static extern FMOD_RESULT FMOD_Sound_SetLoopCount(int Sound, int Loopcount); 00289 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00290 public static extern FMOD_RESULT FMOD_Sound_GetLoopCount(int Sound, ref int Loopcount); 00291 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00292 public static extern FMOD_RESULT FMOD_Sound_SetLoopPoints(int Sound, int Loopstart, FMOD_TIMEUNIT Loopstarttype, int Loopend, FMOD_TIMEUNIT Loopendtype); 00293 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00294 public static extern FMOD_RESULT FMOD_Sound_GetLoopPoints(int Sound, ref int Loopstart, FMOD_TIMEUNIT Loopstarttype, ref int Loopend, FMOD_TIMEUNIT Loopendtype); 00295 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00296 public static extern object FMOD_Sound_GetMusicNumChannels(int Sound, ref int Numchannels); 00297 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00298 public static extern object FMOD_Sound_SetMusicChannelVolume(int Sound, int channel, float volume); 00299 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00300 public static extern object FMOD_Sound_GetMusicChannelVolume(int Sound, int channel, ref float volume); 00301 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00302 public static extern FMOD_RESULT FMOD_Sound_SetUserData(int Sound, int userdata); 00303 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00304 public static extern FMOD_RESULT FMOD_Sound_GetUserData(int Sound, ref int userdata); 00305 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00306 public static extern FMOD_RESULT FMOD_Channel_GetSystemObject(int channel, ref int system_Renamed); 00307 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00308 public static extern FMOD_RESULT FMOD_Channel_Stop(int channel); 00309 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00310 public static extern FMOD_RESULT FMOD_Channel_SetPaused(int channel, int paused); 00311 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00312 public static extern FMOD_RESULT FMOD_Channel_GetPaused(int channel, ref int paused); 00313 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00314 public static extern FMOD_RESULT FMOD_Channel_SetVolume(int channel, float volume); 00315 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00316 public static extern FMOD_RESULT FMOD_Channel_GetVolume(int channel, ref float volume); 00317 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00318 public static extern FMOD_RESULT FMOD_Channel_SetFrequency(int channel, float Frequency); 00319 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00320 public static extern FMOD_RESULT FMOD_Channel_GetFrequency(int channel, ref float Frequency); 00321 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00322 public static extern FMOD_RESULT FMOD_Channel_SetPan(int channel, float Pan); 00323 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00324 public static extern FMOD_RESULT FMOD_Channel_GetPan(int channel, ref float Pan); 00325 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00326 public static extern FMOD_RESULT FMOD_Channel_SetDelay(int channel, int Startdelay, int Enddelay); 00327 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00328 public static extern FMOD_RESULT FMOD_Channel_GetDelay(int channel, ref int Startdelay, ref int Enddelay); 00329 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00330 public static extern FMOD_RESULT FMOD_Channel_SetSpeakerMix(int channel, float Frontleft, float Frontright, float Center, float Lfe, float Backleft, float Backright, float Sideleft, float Sideright); 00331 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00332 public static extern FMOD_RESULT FMOD_Channel_GetSpeakerMix(int channel, ref float Frontleft, ref float Frontright, ref float Center, ref float Lfe, ref float Backleft, ref float Backright, ref float Sideleft, ref float Sideright); 00333 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00334 public static extern FMOD_RESULT FMOD_Channel_SetSpeakerLevels(int channel, FMOD_SPEAKER speaker, ref float levels, int numlevels); 00335 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00336 public static extern FMOD_RESULT FMOD_Channel_GetSpeakerLevels(int channel, FMOD_SPEAKER speaker, ref float levels, int numlevels); 00337 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00338 public static extern FMOD_RESULT FMOD_Channel_SetInputChannelMix(int channel, ref float levels, int numlevels); 00339 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00340 public static extern FMOD_RESULT FMOD_Channel_GetInputChannelMix(int channel, ref float levels, int numlevels); 00341 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00342 public static extern FMOD_RESULT FMOD_Channel_SetMute(int channel, int mute); 00343 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00344 public static extern FMOD_RESULT FMOD_Channel_GetMute(int channel, ref int mute); 00345 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00346 public static extern FMOD_RESULT FMOD_Channel_SetPriority(int channel, int Priority); 00347 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00348 public static extern FMOD_RESULT FMOD_Channel_GetPriority(int channel, ref int Priority); 00349 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00350 public static extern FMOD_RESULT FMOD_Channel_SetPosition(int channel, int position, FMOD_TIMEUNIT Postype); 00351 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00352 public static extern FMOD_RESULT FMOD_Channel_GetPosition(int channel, ref int position, FMOD_TIMEUNIT Postype); 00353 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00354 public static extern FMOD_RESULT FMOD_Channel_SetReverbProperties(int channel, ref FMOD_REVERB_CHANNELPROPERTIES Prop); 00355 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00356 public static extern FMOD_RESULT FMOD_Channel_GetReverbProperties(int channel, ref FMOD_REVERB_CHANNELPROPERTIES Prop); 00357 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00358 public static extern FMOD_RESULT FMOD_Channel_SetChannelGroup(int channel, int Channelgroup); 00359 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00360 public static extern FMOD_RESULT FMOD_Channel_GetChannelGroup(int channel, ref int Channelgroup); 00361 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00362 public static extern FMOD_RESULT FMOD_Channel_SetCallback(int channel, int Callback); 00363 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00364 public static extern FMOD_RESULT FMOD_Channel_Set3DAttributes(int channel, ref Vector Pos, ref Vector Vel); 00365 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00366 public static extern FMOD_RESULT FMOD_Channel_Get3DAttributes(int channel, ref Vector Pos, ref Vector Vel); 00367 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00368 public static extern FMOD_RESULT FMOD_Channel_Set3DMinMaxDistance(int channel, float mindistance, float maxdistance); 00369 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00370 public static extern FMOD_RESULT FMOD_Channel_Get3DMinMaxDistance(int channel, ref float mindistance, ref float maxdistance); 00371 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00372 public static extern FMOD_RESULT FMOD_Channel_Set3DConeSettings(int channel, float Insideconeangle, float Outsideconeangle, float Outsidevolume); 00373 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00374 public static extern FMOD_RESULT FMOD_Channel_Get3DConeSettings(int channel, ref float Insideconeangle, ref float Outsideconeangle, ref float Outsidevolume); 00375 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00376 public static extern FMOD_RESULT FMOD_Channel_Set3DConeOrientation(int channel, ref Vector Orientation); 00377 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00378 public static extern FMOD_RESULT FMOD_Channel_Get3DConeOrientation(int channel, ref Vector Orientation); 00379 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00380 public static extern FMOD_RESULT FMOD_Channel_Set3DCustomRolloff(int channel, ref Vector Points, int numpoints); 00381 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00382 public static extern FMOD_RESULT FMOD_Channel_Get3DCustomRolloff(int channel, ref int Points, ref int numpoints); 00383 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00384 public static extern FMOD_RESULT FMOD_Channel_Set3DOcclusion(int channel, float DirectOcclusion, float ReverbOcclusion); 00385 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00386 public static extern FMOD_RESULT FMOD_Channel_Get3DOcclusion(int channel, ref float DirectOcclusion, ref float ReverbOcclusion); 00387 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00388 public static extern FMOD_RESULT FMOD_Channel_Set3DSpread(int channel, float angle); 00389 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00390 public static extern FMOD_RESULT FMOD_Channel_Get3DSpread(int channel, ref float angle); 00391 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00392 public static extern FMOD_RESULT FMOD_Channel_Set3DPanLevel(int channel, float @float); 00393 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00394 public static extern FMOD_RESULT FMOD_Channel_Get3DPanLevel(int channel, ref float @float); 00395 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00396 public static extern FMOD_RESULT FMOD_Channel_Set3DDopplerLevel(int channel, float level); 00397 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00398 public static extern FMOD_RESULT FMOD_Channel_Get3DDopplerLevel(int channel, ref float level); 00399 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00400 public static extern FMOD_RESULT FMOD_Channel_GetDSPHead(int channel, ref int Dsp); 00401 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00402 public static extern FMOD_RESULT FMOD_Channel_AddDSP(int channel, int Dsp, ref int dspconnection); 00403 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00404 public static extern FMOD_RESULT FMOD_Channel_IsPlaying(int channel, ref int Isplaying); 00405 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00406 public static extern FMOD_RESULT FMOD_Channel_IsVirtual(int channel, ref int Isvirtual); 00407 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00408 public static extern FMOD_RESULT FMOD_Channel_GetAudibility(int channel, ref float Audibility); 00409 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00410 public static extern FMOD_RESULT FMOD_Channel_GetCurrentSound(int channel, ref int Sound); 00411 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00412 public static extern FMOD_RESULT FMOD_Channel_GetSpectrum(int channel, ref float Spectrumarray, int Numvalues, int Channeloffset, FMOD_DSP_FFT_WINDOW Windowtype); 00413 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00414 public static extern FMOD_RESULT FMOD_Channel_GetWaveData(int channel, ref float Wavearray, int Numvalues, int Channeloffset); 00415 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00416 public static extern FMOD_RESULT FMOD_Channel_GetIndex(int channel, ref int Index); 00417 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00418 public static extern FMOD_RESULT FMOD_Channel_SetMode(int channel, FMOD_MODE Mode); 00419 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00420 public static extern FMOD_RESULT FMOD_Channel_GetMode(int channel, ref FMOD_MODE Mode); 00421 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00422 public static extern FMOD_RESULT FMOD_Channel_SetLoopCount(int channel, int Loopcount); 00423 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00424 public static extern FMOD_RESULT FMOD_Channel_GetLoopCount(int channel, ref int Loopcount); 00425 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00426 public static extern FMOD_RESULT FMOD_Channel_SetLoopPoints(int channel, int Loopstart, FMOD_TIMEUNIT Loopstarttype, int Loopend, FMOD_TIMEUNIT Loopendtype); 00427 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00428 public static extern FMOD_RESULT FMOD_Channel_GetLoopPoints(int channel, ref int Loopstart, FMOD_TIMEUNIT Loopstarttype, ref int Loopend, FMOD_TIMEUNIT Loopendtype); 00429 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00430 public static extern FMOD_RESULT FMOD_Channel_SetUserData(int channel, int userdata); 00431 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00432 public static extern FMOD_RESULT FMOD_Channel_GetUserData(int channel, ref int userdata); 00433 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00434 public static extern FMOD_RESULT FMOD_ChannelGroup_Release(int Channelgroup); 00435 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00436 public static extern FMOD_RESULT FMOD_ChannelGroup_GetSystemObject(int Channelgroup, ref int system_Renamed); 00437 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00438 public static extern FMOD_RESULT FMOD_ChannelGroup_SetVolume(int Channelgroup, float volume); 00439 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00440 public static extern FMOD_RESULT FMOD_ChannelGroup_GetVolume(int Channelgroup, ref float volume); 00441 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00442 public static extern FMOD_RESULT FMOD_ChannelGroup_SetPitch(int Channelgroup, float Pitch); 00443 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00444 public static extern FMOD_RESULT FMOD_ChannelGroup_GetPitch(int Channelgroup, ref float Pitch); 00445 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00446 public static extern FMOD_RESULT FMOD_ChannelGroup_SetPaused(int Channelgroup, int paused); 00447 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00448 public static extern FMOD_RESULT FMOD_ChannelGroup_GetPaused(int Channelgroup, ref int paused); 00449 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00450 public static extern FMOD_RESULT FMOD_ChannelGroup_SetMute(int Channelgroup, int mute); 00451 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00452 public static extern FMOD_RESULT FMOD_ChannelGroup_GetMute(int Channelgroup, ref int mute); 00453 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00454 public static extern FMOD_RESULT FMOD_ChannelGroup_Stop(int Channelgroup); 00455 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00456 public static extern FMOD_RESULT FMOD_ChannelGroup_OverrideVolume(int Channelgroup, float volume); 00457 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00458 public static extern FMOD_RESULT FMOD_ChannelGroup_OverrideFrequency(int Channelgroup, float Frequency); 00459 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00460 public static extern FMOD_RESULT FMOD_ChannelGroup_OverridePan(int Channelgroup, float Pan); 00461 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00462 public static extern FMOD_RESULT FMOD_ChannelGroup_OverrideReverbProperties(int Channelgroup, ref FMOD_REVERB_CHANNELPROPERTIES Prop); 00463 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00464 public static extern FMOD_RESULT FMOD_ChannelGroup_Override3DAttributes(int Channelgroup, ref Vector Pos, ref Vector Vel); 00465 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00466 public static extern FMOD_RESULT FMOD_ChannelGroup_OverrideSpeakerMix(int Channelgroup, float Frontleft, float Frontright, float Center, float Lfe, float Backleft, float Backright, float Sideleft, float Sideright); 00467 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00468 public static extern FMOD_RESULT FMOD_ChannelGroup_AddGroup(int Channelgroup, int Group); 00469 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00470 public static extern FMOD_RESULT FMOD_ChannelGroup_GetNumGroups(int Channelgroup, ref int Numgroups); 00471 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00472 public static extern FMOD_RESULT FMOD_ChannelGroup_GetGroup(int Channelgroup, int Index, ref int Group); 00473 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00474 public static extern FMOD_RESULT FMOD_ChannelGroup_GetParentGroup(int Channelgroup, ref int Group); 00475 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00476 public static extern FMOD_RESULT FMOD_ChannelGroup_GetDSPHead(int Channelgroup, ref int Dsp); 00477 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00478 public static extern FMOD_RESULT FMOD_ChannelGroup_AddDSP(int Channelgroup, int Dsp, ref int dspconnection); 00479 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00480 public static extern FMOD_RESULT FMOD_ChannelGroup_GetName(int Channelgroup, ref byte name, int namelen); 00481 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00482 public static extern FMOD_RESULT FMOD_ChannelGroup_GetNumChannels(int Channelgroup, ref int Numchannels); 00483 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00484 public static extern FMOD_RESULT FMOD_ChannelGroup_GetChannel(int Channelgroup, int Index, ref int channel); 00485 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00486 public static extern FMOD_RESULT FMOD_ChannelGroup_GetSpectrum(int Channelgroup, ref float Spectrumarray, int Numvalues, int Channeloffset, FMOD_DSP_FFT_WINDOW Windowtype); 00487 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00488 public static extern FMOD_RESULT FMOD_ChannelGroup_GetWaveData(int Channelgroup, ref float Wavearray, int Numvalues, int Channeloffset); 00489 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00490 public static extern FMOD_RESULT FMOD_ChannelGroup_SetUserData(int Channelgroup, int userdata); 00491 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00492 public static extern FMOD_RESULT FMOD_ChannelGroup_GetUserData(int Channelgroup, ref int userdata); 00493 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00494 public static extern FMOD_RESULT FMOD_SoundGroup_Release(int soundgroup); 00495 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00496 public static extern FMOD_RESULT FMOD_SoundGroup_GetSystemObject(int soundgroup, ref int system_Renamed); 00497 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00498 public static extern FMOD_RESULT FMOD_SoundGroup_SetMaxAudible(int soundgroup, int maxaudible); 00499 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00500 public static extern FMOD_RESULT FMOD_SoundGroup_GetMaxAudible(int soundgroup, ref int maxaudible); 00501 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00502 public static extern FMOD_RESULT FMOD_SoundGroup_SetMaxAudibleBehavior(int soundgroup, FMOD_SOUNDGROUP_BEHAVIOR behavior); 00503 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00504 public static extern FMOD_RESULT FMOD_SoundGroup_GetMaxAudibleBehavior(int soundgroup, ref FMOD_SOUNDGROUP_BEHAVIOR behavior); 00505 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00506 public static extern FMOD_RESULT FMOD_SoundGroup_SetMuteFadeSpeed(int soundgroup, float speed); 00507 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00508 public static extern FMOD_RESULT FMOD_SoundGroup_GetMuteFadeSpeed(int soundgroup, ref float speed); 00509 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00510 public static extern FMOD_RESULT FMOD_SoundGroup_GetName(int soundgroup, ref byte name, int namelen); 00511 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00512 public static extern FMOD_RESULT FMOD_SoundGroup_GetNumSounds(int soundgroup, ref int numsounds); 00513 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00514 public static extern FMOD_RESULT FMOD_SoundGroup_GetSound(int soundgroup, int Index, ref int Sound); 00515 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00516 public static extern FMOD_RESULT FMOD_SoundGroup_GetNumPlaying(int soundgroup, ref int numplaying); 00517 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00518 public static extern FMOD_RESULT FMOD_SoundGroup_SetUserData(int soundgroup, ref int userdata); 00519 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00520 public static extern FMOD_RESULT FMOD_SoundGroup_GetUserData(int soundgroup, ref int userdata); 00521 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00522 public static extern FMOD_RESULT FMOD_DSP_Release(int Dsp); 00523 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00524 public static extern FMOD_RESULT FMOD_DSP_GetSystemObject(int Dsp, ref int system_Renamed); 00525 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00526 public static extern FMOD_RESULT FMOD_DSP_AddInput(int Dsp, int Target, ref int dspconnection); 00527 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00528 public static extern FMOD_RESULT FMOD_DSP_DisconnectFrom(int Dsp, int Target); 00529 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00530 public static extern FMOD_RESULT FMOD_DSP_DisconnectAll(int Dsp, int inputs, int outputs); 00531 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00532 public static extern FMOD_RESULT FMOD_DSP_Remove(int Dsp); 00533 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00534 public static extern FMOD_RESULT FMOD_DSP_GetNumInputs(int Dsp, ref int Numinputs); 00535 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00536 public static extern FMOD_RESULT FMOD_DSP_GetNumOutputs(int Dsp, ref int Numoutputs); 00537 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00538 public static extern FMOD_RESULT FMOD_DSP_GetInput(int Dsp, int Index, ref int input_, ref int InputConnection); 00539 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00540 public static extern FMOD_RESULT FMOD_DSP_GetOutput(int Dsp, int Index, ref int output, ref int OutputConnection); 00541 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00542 public static extern FMOD_RESULT FMOD_DSP_SetActive(int Dsp, int active); 00543 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00544 public static extern FMOD_RESULT FMOD_DSP_GetActive(int Dsp, ref int active); 00545 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00546 public static extern FMOD_RESULT FMOD_DSP_SetBypass(int Dsp, int Bypass); 00547 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00548 public static extern FMOD_RESULT FMOD_DSP_GetBypass(int Dsp, ref int Bypass); 00549 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00550 public static extern FMOD_RESULT FMOD_DSP_Reset(int Dsp); 00551 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00552 public static extern FMOD_RESULT FMOD_DSP_SetParameter(int Dsp, int Index, float Value); 00553 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00554 public static extern FMOD_RESULT FMOD_DSP_GetParameter(int Dsp, int Index, ref float Value, ref byte Valuestr, int Valuestrlen); 00555 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00556 public static extern FMOD_RESULT FMOD_DSP_GetNumParameters(int Dsp, ref int Numparams); 00557 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00558 public static extern FMOD_RESULT FMOD_DSP_GetParameterInfo(int Dsp, int Index, ref byte name, ref byte label, ref byte description, int Descriptionlen, ref float min, ref float max); 00559 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00560 public static extern FMOD_RESULT FMOD_DSP_ShowConfigDialog(int Dsp, int Hwnd, int Show); 00561 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00562 public static extern FMOD_RESULT FMOD_DSP_GetInfo(int Dsp, ref byte name, ref int version, ref int Channels, ref int Configwidth, ref int Configheight); 00563 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00564 public static extern FMOD_RESULT FMOD_DSP_GetType(int Dsp, ref FMOD_DSP_TYPE type_); 00565 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00566 public static extern FMOD_RESULT FMOD_DSP_SetDefaults(int Dsp, float Frequency, float volume, float Pan, int Priority); 00567 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00568 public static extern FMOD_RESULT FMOD_DSP_GetDefaults(int Dsp, ref float Frequency, ref float volume, ref float Pan, ref int Priority); 00569 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00570 public static extern FMOD_RESULT FMOD_DSP_SetUserData(int Dsp, int userdata); 00571 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00572 public static extern FMOD_RESULT FMOD_DSP_GetUserData(int Dsp, ref int userdata); 00573 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00574 public static extern object FMOD_DSPConnection_GetInput(int dspconnection, ref int input_); 00575 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00576 public static extern object FMOD_DSPConnection_GetOutput(int dspconnection, ref int output); 00577 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00578 public static extern object FMOD_DSPConnection_SetMix(int dspconnection, float volume); 00579 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00580 public static extern object FMOD_DSPConnection_GetMix(int dspconnection, ref float volume); 00581 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00582 public static extern object FMOD_DSPConnection_SetLevels(int dspconnection, FMOD_SPEAKER speaker, ref float levels, int numlevels); 00583 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00584 public static extern object FMOD_DSPConnection_GetLevels(int dspconnection, FMOD_SPEAKER speaker, ref float levels, int numlevels); 00585 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00586 public static extern FMOD_RESULT FMOD_DSPConnection_SetUserData(int dspconnection, int userdata); 00587 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00588 public static extern FMOD_RESULT FMOD_DSPConnection_GetUserData(int dspconnection, ref int userdata); 00589 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00590 public static extern FMOD_RESULT FMOD_Geometry_Release(int Gemoetry); 00591 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00592 public static extern FMOD_RESULT FMOD_Geometry_AddPolygon(int Geometry, float DirectOcclusion, float ReverbOcclusion, int DoubleSided, int NumVertices, ref Vector Vertices, ref int PolygonIndex); 00593 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00594 public static extern FMOD_RESULT FMOD_Geometry_GetNumPolygons(int Geometry, ref int NumPolygons); 00595 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00596 public static extern FMOD_RESULT FMOD_Geometry_GetMaxPolygons(int Geometry, ref int MaxPolygons, ref int MaxVertices); 00597 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00598 public static extern FMOD_RESULT FMOD_Geometry_GetPolygonNumVertices(int Geometry, int PolygonIndex, ref int NumVertices); 00599 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00600 public static extern FMOD_RESULT FMOD_Geometry_SetPolygonVertex(int Geometry, int PolygonIndex, int VertexIndex, ref Vector Vertex); 00601 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00602 public static extern FMOD_RESULT FMOD_Geometry_GetPolygonVertex(int Geometry, int PolygonIndex, int VertexIndex, ref Vector Vertex); 00603 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00604 public static extern FMOD_RESULT FMOD_Geometry_SetPolygonAttributes(int Geometry, int PolygonIndex, float DirectOcclusion, float ReverbOcclusion, int DoubleSided); 00605 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00606 public static extern FMOD_RESULT FMOD_Geometry_GetPolygonAttributes(int Geometry, int PolygonIndex, ref float DirectOcclusion, ref float ReverbOcclusion, ref int DoubleSided); 00607 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00608 public static extern FMOD_RESULT FMOD_Geometry_SetActive(int Geometry, int active); 00609 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00610 public static extern FMOD_RESULT FMOD_Geometry_GetActive(int Geometry, ref int active); 00611 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00612 public static extern FMOD_RESULT FMOD_Geometry_SetRotation(int Geometry, ref Vector Forward, ref Vector Up); 00613 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00614 public static extern FMOD_RESULT FMOD_Geometry_GetRotation(int Geometry, ref Vector Forward, ref Vector Up); 00615 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00616 public static extern FMOD_RESULT FMOD_Geometry_SetPosition(int Geometry, ref Vector position); 00617 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00618 public static extern FMOD_RESULT FMOD_Geometry_GetPosition(int Geometry, ref Vector position); 00619 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00620 public static extern FMOD_RESULT FMOD_Geometry_SetScale(int Geometry, ref Vector Scale_); 00621 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00622 public static extern FMOD_RESULT FMOD_Geometry_GetScale(int Geometry, ref Vector Scale_); 00623 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00624 public static extern FMOD_RESULT FMOD_Geometry_Save(int Geometry, int Data, ref int DataSize); 00625 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00626 public static extern FMOD_RESULT FMOD_Geometry_SetUserData(int Geometry, int userdata); 00627 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00628 public static extern FMOD_RESULT FMOD_Geometry_GetUserData(int Geometry, ref int userdata); 00629 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00630 public static extern object FMOD_Reverb_Release(int reverb); 00631 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00632 public static extern FMOD_RESULT FMOD_Reverb_Set3DAttributes(int reverb, ref Vector position, float mindistance, float maxdistance); 00633 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00634 public static extern FMOD_RESULT FMOD_Reverb_Get3DAttributes(int reverb, ref Vector position, ref float mindistance, ref float maxdistance); 00635 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00636 public static extern FMOD_RESULT FMOD_Reverb_SetProperties(int reverb, ref FMOD_REVERB_PROPERTIES properties); 00637 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00638 public static extern FMOD_RESULT FMOD_Reverb_GetProperties(int reverb, ref FMOD_REVERB_PROPERTIES properties); 00639 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00640 public static extern FMOD_RESULT FMOD_Reverb_SetActive(int reverb, int active); 00641 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00642 public static extern FMOD_RESULT FMOD_Reverb_GetActive(int reverb, ref int active); 00643 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00644 public static extern FMOD_RESULT FMOD_Reverb_SetUserData(int reverb, ref int userdata); 00645 [DllImport("fmodex.dll", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00646 public static extern FMOD_RESULT FMOD_Reverb_GetUserData(int reverb, ref int userdata); 00647 [DllImport("kernel32", EntryPoint = "lstrcpyA", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00648 private static extern int ConvCStringToVBString(string lpsz, int pt); 00649 [DllImport("kernel32", EntryPoint = "RtlMoveMemory", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] 00650 private static extern void CopyMemory(ref object Destination, ref object Source, int Length); 00651 00652 //UPGRADE_WARNING: Structure FMOD_DEBUGLEVEL may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00653 //UPGRADE_WARNING: Structure FMOD_DEBUGLEVEL may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00654 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00655 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00656 //UPGRADE_WARNING: Structure FMOD_OUTPUTTYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00657 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00658 //UPGRADE_WARNING: Structure FMOD_OUTPUTTYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00659 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00660 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00661 //UPGRADE_WARNING: Structure FMOD_GUID may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00662 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00663 //UPGRADE_WARNING: Structure FMOD_SPEAKERMODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00664 //UPGRADE_WARNING: Structure FMOD_CAPS may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00665 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00666 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00667 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00668 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00669 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00670 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00671 //UPGRADE_WARNING: Structure FMOD_DSP_RESAMPLER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00672 //UPGRADE_NOTE: Format was upgraded to Format_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00673 //UPGRADE_WARNING: Structure FMOD_SOUND_FORMAT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00674 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00675 //UPGRADE_WARNING: Structure FMOD_DSP_RESAMPLER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00676 //UPGRADE_NOTE: Format was upgraded to Format_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00677 //UPGRADE_WARNING: Structure FMOD_SOUND_FORMAT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00678 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00679 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00680 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00681 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00682 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00683 //UPGRADE_WARNING: Structure FMOD_ADVANCEDSETTINGS may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00684 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00685 //UPGRADE_WARNING: Structure FMOD_ADVANCEDSETTINGS may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00686 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00687 //UPGRADE_WARNING: Structure FMOD_SPEAKERMODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00688 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00689 //UPGRADE_WARNING: Structure FMOD_SPEAKERMODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00690 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00691 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00692 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00693 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00694 //UPGRADE_WARNING: Structure FMOD_PLUGINTYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00695 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00696 //UPGRADE_WARNING: Structure FMOD_PLUGINTYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00697 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00698 //UPGRADE_WARNING: Structure FMOD_PLUGINTYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00699 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00700 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00701 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00702 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00703 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00704 //UPGRADE_WARNING: Structure FMOD_INITFLAGS may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00705 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00706 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00707 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00708 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00709 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00710 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00711 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00712 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00713 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00714 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00715 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00716 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00717 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00718 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00719 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00720 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00721 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00722 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00723 //UPGRADE_WARNING: Structure FMOD_SPEAKER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00724 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00725 //UPGRADE_WARNING: Structure FMOD_SPEAKER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00726 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00727 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00728 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00729 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00730 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00731 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00732 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00733 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00734 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00735 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00736 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00737 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00738 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00739 //UPGRADE_WARNING: Structure FMOD_DSP_FFT_WINDOW may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00740 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00741 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00742 //UPGRADE_WARNING: Structure FMOD_CREATESOUNDEXINFO may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00743 //UPGRADE_WARNING: Structure FMOD_MODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00744 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00745 //UPGRADE_WARNING: Structure FMOD_CREATESOUNDEXINFO may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00746 //UPGRADE_WARNING: Structure FMOD_MODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00747 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00748 //UPGRADE_WARNING: Structure FMOD_DSP_DESCRIPTION may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00749 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00750 //UPGRADE_WARNING: Structure FMOD_DSP_TYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00751 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00752 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00753 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00754 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00755 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00756 //UPGRADE_WARNING: Structure FMOD_CHANNELINDEX may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00757 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00758 //UPGRADE_WARNING: Structure FMOD_CHANNELINDEX may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00759 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00760 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00761 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00762 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00763 //UPGRADE_WARNING: Structure FMOD_REVERB_PROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00764 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00765 //UPGRADE_WARNING: Structure FMOD_REVERB_PROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00766 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00767 //UPGRADE_WARNING: Structure FMOD_REVERB_PROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00768 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00769 //UPGRADE_WARNING: Structure FMOD_REVERB_PROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00770 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00771 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00772 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00773 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00774 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00775 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00776 //UPGRADE_WARNING: Structure FMOD_GUID may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00777 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00778 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00779 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00780 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00781 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00782 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00783 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00784 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00785 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00786 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00787 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00788 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00789 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00790 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00791 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00792 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00793 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00794 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00795 //UPGRADE_NOTE: Format was upgraded to Format_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00796 //UPGRADE_WARNING: Structure FMOD_SOUND_FORMAT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00797 //UPGRADE_WARNING: Structure FMOD_SOUND_TYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00798 //UPGRADE_WARNING: Structure FMOD_TAG may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00799 //UPGRADE_WARNING: Structure FMOD_OPENSTATE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00800 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00801 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00802 //UPGRADE_WARNING: Structure FMOD_MODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00803 //UPGRADE_WARNING: Structure FMOD_MODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00804 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00805 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00806 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00807 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00808 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00809 //UPGRADE_WARNING: Structure FMOD_SPEAKER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00810 //UPGRADE_WARNING: Structure FMOD_SPEAKER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00811 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00812 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00813 //UPGRADE_WARNING: Structure FMOD_REVERB_CHANNELPROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00814 //UPGRADE_WARNING: Structure FMOD_REVERB_CHANNELPROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00815 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00816 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00817 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00818 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00819 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00820 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00821 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00822 //UPGRADE_WARNING: Structure FMOD_DSP_FFT_WINDOW may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00823 //UPGRADE_WARNING: Structure FMOD_MODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00824 //UPGRADE_WARNING: Structure FMOD_MODE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00825 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00826 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00827 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00828 //UPGRADE_WARNING: Structure FMOD_TIMEUNIT may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00829 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00830 //UPGRADE_WARNING: Structure FMOD_REVERB_CHANNELPROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00831 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00832 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00833 //UPGRADE_WARNING: Structure FMOD_DSP_FFT_WINDOW may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00834 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00835 //UPGRADE_WARNING: Structure FMOD_SOUNDGROUP_BEHAVIOR may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00836 //UPGRADE_WARNING: Structure FMOD_SOUNDGROUP_BEHAVIOR may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00837 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 00838 //UPGRADE_WARNING: Structure FMOD_DSP_TYPE may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00839 //UPGRADE_WARNING: Structure FMOD_SPEAKER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00840 //UPGRADE_WARNING: Structure FMOD_SPEAKER may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00841 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00842 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00843 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00844 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00845 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00846 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00847 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00848 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00849 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00850 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00851 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00852 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00853 //UPGRADE_WARNING: Structure vector may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00854 //UPGRADE_WARNING: Structure FMOD_REVERB_PROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00855 //UPGRADE_WARNING: Structure FMOD_REVERB_PROPERTIES may require marshalling attributes to be passed as an argument in this Declare statement. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="C429C3A5-5D47-4CD9-8F51-74A1616405DC"' 00856 // Notice the As Long return value replacing the As String given by the API Viewer. 00857 //UPGRADE_ISSUE: Declaring a parameter 'As Any' is not supported. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="FAE78A8D-8978-4FD4-8208-5B7324A8F795"' 00858 //UPGRADE_ISSUE: Declaring a parameter 'As Any' is not supported. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="FAE78A8D-8978-4FD4-8208-5B7324A8F795"' 00859 // ============================================================================================ ' 00860 // ' 00861 // FMOD Ex - Visual Basic Module. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2009. ' 00862 // ' 00863 // ============================================================================================ ' 00864 00865 // 00866 // FMOD version number. Check this against FMOD::System::getVersion. 00867 // 0xaaaabbcc -> aaaa = major version number. bb = minor version number. cc = development version number. 00868 // 00869 00870 00871 public const int FMOD_VERSION = 0x43004; 00872 // 00873 //[Structure] 00874 //[ 00875 //[description] 00876 //Structure describing a point in 3D space. 00877 00878 //[REMARKS] 00879 //FMOD uses a left handed co-ordinate system by default.<br> 00880 //To use a right handed co-ordinate system specify FMOD_INIT_3D_RIGHTHANDED from FMOD_INITFLAGS in System::init. 00881 00882 //[PLATFORMS] 00883 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 00884 00885 //[SEE_ALSO] 00886 //FMOD_System_Set3DListenerAttributes 00887 //FMOD_System_Get3DListenerAttributes 00888 //FMOD_Channel_Set3DAttributes 00889 //FMOD_Channel_Get3DAttributes 00890 //FMOD_Geometry_AddPolygon 00891 //FMOD_Geometry_SetPolygonVertex 00892 //FMOD_Geometry_GetPolygonVertex 00893 //FMOD_Geometry_SetRotation 00894 //FMOD_Geometry_GetRotation 00895 //FMOD_Geometry_SetPosition 00896 //FMOD_Geometry_GetPosition 00897 //FMOD_Geometry_SetScale 00898 //FMOD_Geometry_GetScale 00899 //FMOD_INITFLAGS 00900 //] 00901 // 00902 00903 00904 00905 // 00906 //[STRUCTURE] 00907 //[ 00908 //[DESCRIPTION] 00909 //Structure describing a globally unique identifier. 00910 00911 //[REMARKS] 00912 00913 //[PLATFORMS] 00914 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii, Solaris 00915 00916 //[SEE_ALSO] 00917 //System::getDriverInfo 00918 //] 00919 // 00920 public struct FMOD_GUID 00921 { 00922 // Specifies the first 8 hexadecimal digits of the GUID ' 00923 public int Data1; 00924 // Specifies the first group of 4 hexadecimal digits. ' 00925 public short Data2; 00926 // Specifies the second group of 4 hexadecimal digits. ' 00927 public short Data3; 00928 [VBFixedArray(8)] 00929 // Array of 8 bytes. The first 2 bytes contain the third group of 4 hexadecimal digits. The remaining 6 bytes contain the final 12 hexadecimal digits. ' 00930 public byte[] Data4; 00931 00932 //UPGRADE_TODO: "Initialize" must be called to initialize instances of this structure. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="B4BFF9E0-8631-45CF-910E-62AB3970F27B"' 00933 public void Initialize() 00934 { 00935 // ERROR: Not supported in C#: ReDimStatement 00936 00937 } 00938 } 00939 00940 00941 // 00942 //[ENUM] 00943 //[ 00944 //[Description] 00945 //error codes. Returned from every function. 00946 00947 //[REMARKS] 00948 00949 //[PLATFORMS] 00950 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 00951 00952 //[SEE_ALSO] 00953 //] 00954 // 00955 public enum FMOD_RESULT 00956 { 00957 FMOD_OK, 00958 // No errors. */ 00959 FMOD_ERR_ALREADYLOCKED, 00960 // Tried to call lock a second time before unlock was called. */ 00961 FMOD_ERR_BADCOMMAND, 00962 // Tried to call a function on a data type that does not allow this type of functionality (ie calling Sound::lock on a streaming sound). */ 00963 FMOD_ERR_CDDA_DRIVERS, 00964 // Neither NTSCSI nor ASPI could be initialised. */ 00965 FMOD_ERR_CDDA_INIT, 00966 // An error occurred while initialising the CDDA subsystem. */ 00967 FMOD_ERR_CDDA_INVALID_DEVICE, 00968 // Couldn't find the specified device. */ 00969 FMOD_ERR_CDDA_NOAUDIO, 00970 // No audio tracks on the specified disc. */ 00971 FMOD_ERR_CDDA_NODEVICES, 00972 // No CD/DVD devices were found. */ 00973 FMOD_ERR_CDDA_NODISC, 00974 // No disc present in the specified drive. */ 00975 FMOD_ERR_CDDA_READ, 00976 // A CDDA read error occurred. */ 00977 FMOD_ERR_CHANNEL_ALLOC, 00978 // Error trying to allocate a channel. */ 00979 FMOD_ERR_CHANNEL_STOLEN, 00980 // The specified channel has been reused to play another sound. */ 00981 FMOD_ERR_COM, 00982 // A Win32 COM related error occured. COM failed to initialize or a QueryInterface failed meaning a Windows codec or driver was not installed properly. */ 00983 FMOD_ERR_DMA, 00984 // DMA Failure. See debug output for more information. */ 00985 FMOD_ERR_DSP_CONNECTION, 00986 // DSP connection error. Connection possibly caused a cyclic dependancy. */ 00987 FMOD_ERR_DSP_FORMAT, 00988 // DSP Format error. A DSP unit may have attempted to connect to this network with the wrong format. */ 00989 FMOD_ERR_DSP_NOTFOUND, 00990 // DSP connection error. Couldn't find the DSP unit specified. */ 00991 FMOD_ERR_DSP_RUNNING, 00992 // DSP error. Cannot perform this operation while the network is in the middle of running. This will most likely happen if a connection or disconnection is attempted in a DSP callback. */ 00993 FMOD_ERR_DSP_TOOMANYCONNECTIONS, 00994 // DSP connection error. The unit being connected to or disconnected should only have 1 input or output. */ 00995 FMOD_ERR_FILE_BAD, 00996 // Error loading file. */ 00997 FMOD_ERR_FILE_COULDNOTSEEK, 00998 // Couldn't perform seek operation. This is a limitation of the medium (ie netstreams) or the file format. */ 00999 FMOD_ERR_FILE_DISKEJECTED, 01000 // Media was ejected while reading. */ 01001 FMOD_ERR_FILE_EOF, 01002 // End of file unexpectedly reached while trying to read essential data (truncated data?). */ 01003 FMOD_ERR_FILE_NOTFOUND, 01004 // File not found. */ 01005 FMOD_ERR_FILE_UNWANTED, 01006 // Unwanted file access occured. */ 01007 FMOD_ERR_FORMAT, 01008 // Unsupported file or audio format. */ 01009 FMOD_ERR_HTTP, 01010 // A HTTP error occurred. This is a catch-all for HTTP errors not listed elsewhere. */ 01011 FMOD_ERR_HTTP_ACCESS, 01012 // The specified resource requires authentication or is forbidden. */ 01013 FMOD_ERR_HTTP_PROXY_AUTH, 01014 // Proxy authentication is required to access the specified resource. */ 01015 FMOD_ERR_HTTP_SERVER_ERROR, 01016 // A HTTP server error occurred. */ 01017 FMOD_ERR_HTTP_TIMEOUT, 01018 // The HTTP request timed out. */ 01019 FMOD_ERR_INITIALIZATION, 01020 // FMOD was not initialized correctly to support this function. */ 01021 FMOD_ERR_INITIALIZED, 01022 // Cannot call this command after System::init. */ 01023 FMOD_ERR_INTERNAL, 01024 // An error occured that wasn't supposed to. Contact support. */ 01025 FMOD_ERR_INVALID_ADDRESS, 01026 // On Xbox 360 this memory address passed to FMOD must be physical (ie allocated with XPhysicalAlloc.) */ 01027 FMOD_ERR_INVALID_FLOAT, 01028 // Value passed in was a NaN, Inf or denormalized float. */ 01029 FMOD_ERR_INVALID_HANDLE, 01030 // An invalid object handle was used. */ 01031 FMOD_ERR_INVALID_PARAM, 01032 // An invalid parameter was passed to this function. */ 01033 FMOD_ERR_INVALID_SPEAKER, 01034 // An invalid speaker was passed to this function based on the current speaker mode. */ 01035 FMOD_ERR_INVALID_SYNCPOINT, 01036 // The syncpoint did not come from this sound handle. */ 01037 FMOD_ERR_INVALID_VECTOR, 01038 // The vectors passed in are not unit length, or perpendicular. */ 01039 FMOD_ERR_IRX, 01040 // PS2 only. fmodex.irx failed to initialize. This is most likely because you forgot to load it. */ 01041 FMOD_ERR_MAXAUDIBLE, 01042 // Reached maximum audible playback count for this sound's soundgroup. */ 01043 FMOD_ERR_MEMORY, 01044 // Not enough memory or resources. */ 01045 FMOD_ERR_MEMORY_CANTPOINT, 01046 // Can't use FMOD_OPENMEMORY_POINT on non PCM source data or non mp3/xma/adpcm data if FMOD_CREATECOMPRESSEDSAMPLE was used. */ 01047 FMOD_ERR_MEMORY_IOP, 01048 // PS2 only. Not enough memory or resources on PlayStation 2 IOP ram. */ 01049 FMOD_ERR_MEMORY_SRAM, 01050 // Not enough memory or resources on console sound ram. */ 01051 FMOD_ERR_NEEDS2D, 01052 // Tried to call a command on a 3d sound when the command was meant for 2d sound. */ 01053 FMOD_ERR_NEEDS3D, 01054 // Tried to call a command on a 2d sound when the command was meant for 3d sound. */ 01055 FMOD_ERR_NEEDSHARDWARE, 01056 // Tried to use a feature that requires hardware support. (ie trying to play a VAG compressed sound in software on PS2). */ 01057 FMOD_ERR_NEEDSSOFTWARE, 01058 // Tried to use a feature that requires the software engine. Software engine has either been turned off, or command was executed on a hardware channel which does not support this feature. */ 01059 FMOD_ERR_NET_CONNECT, 01060 // Couldn't connect to the specified host. */ 01061 FMOD_ERR_NET_SOCKET_ERROR, 01062 // A socket error occurred. This is a catch-all for socket-related errors not listed elsewhere. */ 01063 FMOD_ERR_NET_URL, 01064 // The specified URL couldn't be resolved. */ 01065 FMOD_ERR_NET_WOULD_BLOCK, 01066 // Operation on a non-blocking socket could not complete immediately. */ 01067 FMOD_ERR_NOTREADY, 01068 // Operation could not be performed because specified sound is not ready. */ 01069 FMOD_ERR_OUTPUT_ALLOCATED, 01070 // Error initializing output device, but more specifically, the output device is already in use and cannot be reused. */ 01071 FMOD_ERR_OUTPUT_CREATEBUFFER, 01072 // Error creating hardware sound buffer. */ 01073 FMOD_ERR_OUTPUT_DRIVERCALL, 01074 // A call to a standard soundcard driver failed, which could possibly mean a bug in the driver or resources were missing or exhausted. */ 01075 FMOD_ERR_OUTPUT_ENUMERATION, 01076 // Error enumerating the available driver list. List may be inconsistent due to a recent device addition or removal. */ 01077 FMOD_ERR_OUTPUT_FORMAT, 01078 // Soundcard does not support the minimum features needed for this soundsystem (16bit stereo output). */ 01079 FMOD_ERR_OUTPUT_INIT, 01080 // Error initializing output device. */ 01081 FMOD_ERR_OUTPUT_NOHARDWARE, 01082 // FMOD_HARDWARE was specified but the sound card does not have the resources nescessary to play it. */ 01083 FMOD_ERR_OUTPUT_NOSOFTWARE, 01084 // Attempted to create a software sound but no software channels were specified in System::init. */ 01085 FMOD_ERR_PAN, 01086 // Panning only works with mono or stereo sound sources. */ 01087 FMOD_ERR_PLUGIN, 01088 // An unspecified error has been returned from a 3rd party plugin. */ 01089 FMOD_ERR_PLUGIN_INSTANCES, 01090 // The number of allowed instances of a plugin has been exceeded */ 01091 FMOD_ERR_PLUGIN_MISSING, 01092 // A requested output dsp unit type or codec was not available. */ 01093 FMOD_ERR_PLUGIN_RESOURCE, 01094 // A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback) */ 01095 FMOD_ERR_RECORD, 01096 // An error occured trying to initialize the recording device. */ 01097 FMOD_ERR_REVERB_INSTANCE, 01098 // Specified Instance in FMOD_REVERB_PROPERTIES couldn't be set. Most likely because another application has locked the EAX4 FX slot. */ 01099 FMOD_ERR_SUBSOUND_ALLOCATED, 01100 // This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null out the other parent's entry first. */ 01101 FMOD_ERR_SUBSOUND_CANTMOVE, 01102 // Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file. */ 01103 FMOD_ERR_SUBSOUND_MODE, 01104 // The subsound's mode bits do not match with the parent sound's mode bits. See documentation for function that it was called with. */ 01105 FMOD_ERR_SUBSOUNDS, 01106 // The error occured because the sound referenced contains subsounds. (ie you cannot play the parent sound as a static sample, only its subsounds.) */ 01107 FMOD_ERR_TAGNOTFOUND, 01108 // The specified tag could not be found or there are no tags. */ 01109 FMOD_ERR_TOOMANYCHANNELS, 01110 // The sound created exceeds the allowable input channel count. This can be increased using the maxinputchannels parameter in System::setSoftwareFormat. */ 01111 FMOD_ERR_UNIMPLEMENTED, 01112 // Something in FMOD hasn't been implemented when it should be! contact support! */ 01113 FMOD_ERR_UNINITIALIZED, 01114 // This command failed because System::init or System::setDriver was not called. */ 01115 FMOD_ERR_UNSUPPORTED, 01116 // A command issued was not supported by this object. Possibly a plugin without certain callbacks specified. */ 01117 FMOD_ERR_UPDATE, 01118 // An error caused by System::update occured. */ 01119 FMOD_ERR_VERSION, 01120 // The version number of this file format is not supported. */ 01121 FMOD_ERR_EVENT_FAILED, 01122 // An Event failed to be retrieved, most likely due to 'just fail' being specified as the max playbacks behavior. */ 01123 FMOD_ERR_EVENT_INFOONLY, 01124 // Can't execute this command on an EVENT_INFOONLY event. */ 01125 FMOD_ERR_EVENT_INTERNAL, 01126 // An error occured that wasn't supposed to. See debug log for reason. */ 01127 FMOD_ERR_EVENT_MAXSTREAMS, 01128 // Event failed because 'Max streams' was hit when FMOD_INIT_FAIL_ON_MAXSTREAMS was specified. */ 01129 FMOD_ERR_EVENT_MISMATCH, 01130 // FSB mis-matches the FEV it was compiled with. */ 01131 FMOD_ERR_EVENT_NAMECONFLICT, 01132 // A category with the same name already exists. */ 01133 FMOD_ERR_EVENT_NOTFOUND, 01134 // The requested event, event group, event category or event property could not be found. */ 01135 FMOD_ERR_EVENT_NEEDSSIMPLE, 01136 // Tried to call a function on a complex event that's only supported by simple events. */ 01137 FMOD_ERR_EVENT_GUIDCONFLICT, 01138 // An event with the same GUID already exists. */ 01139 FMOD_ERR_MUSIC_UNINITIALIZED 01140 // Music system is not initialized probably because no music data is loaded. */ 01141 } 01142 01143 01144 // 01145 //[ENUM] 01146 //[ 01147 //[Description] 01148 //These output types are used with FMOD_System_SetOutput/FMOD_System_GetOutput, to choose which output method to use. 01149 01150 //[REMARKS] 01151 //To drive the output synchronously, and to disable FMOD's timing thread, use the FMOD_INIT_NONREALTIME flag.<br> 01152 //<br> 01153 //To pass information to the driver when initializing fmod use the extradriverdata parameter for the following reasons.<br> 01154 //<li>FMOD_OUTPUTTYPE_WAVWRITER - extradriverdata is a pointer to a char * filename that the wav writer will output to. 01155 //<li>FMOD_OUTPUTTYPE_WAVWRITER_NRT - extradriverdata is a pointer to a char * filename that the wav writer will output to. 01156 //<li>FMOD_OUTPUTTYPE_DSOUND - extradriverdata is a pointer to a HWND so that FMOD can set the focus on the audio for a particular window. 01157 //<li>FMOD_OUTPUTTYPE_GC - extradriverdata is a pointer to a FMOD_ARAMBLOCK_INFO struct. This can be found in fmodgc.h. 01158 //Currently these are the only FMOD drivers that take extra information. Other unknown plugins may have different requirements. 01159 01160 //[PLATFORMS] 01161 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01162 01163 //[SEE_ALSO] 01164 //System:: setOutput 01165 //System:: getOutput 01166 //System:: setSoftwareFormat 01167 //System:: getSoftwareFormat 01168 //System:: init 01169 //] 01170 // 01171 public enum FMOD_OUTPUTTYPE 01172 { 01173 FMOD_OUTPUTTYPE_AUTODETECT, 01174 // Picks the best output mode for the platform. This is the default. 01175 FMOD_OUTPUTTYPE_UNKNOWN, 01176 // All - 3rd party plugin, unknown. This is for use with System::getOutput only. 01177 FMOD_OUTPUTTYPE_NOSOUND, 01178 // All - All calls in this mode succeed but make no sound. 01179 FMOD_OUTPUTTYPE_WAVWRITER, 01180 // All - Writes output to fmodout.wav by default. Use System::setSoftwareFormat to set the filename. 01181 FMOD_OUTPUTTYPE_NOSOUND_NRT, 01182 // All - Non-realtime version of FMOD_OUTPUTTYPE_NOSOUND. User can drive mixer with System::update at whatever rate they want. ' 01183 FMOD_OUTPUTTYPE_WAVWRITER_NRT, 01184 // All - Non-realtime version of FMOD_OUTPUTTYPE_WAVWRITER. User can drive mixer with System::update at whatever rate they want. ' 01185 FMOD_OUTPUTTYPE_DSOUND, 01186 // Win32/Win64 - DirectSound output. Use this to get hardware accelerated 3d audio and EAX Reverb support. (Default on Windows) 01187 FMOD_OUTPUTTYPE_WINMM, 01188 // Win32/Win64 - Windows Multimedia output. 01189 FMOD_OUTPUTTYPE_OPENAL, 01190 // Win32/Win64 - OpenAL 1.1 output. Use this for lower CPU overhead than FMOD_OUTPUTTYPE_DSOUND, and also Vista H/W support with Creative Labs cards. */ 01191 FMOD_OUTPUTTYPE_WASAPI, 01192 // Win32 - Windows Audio Session API. (Default on Windows Vista) */ 01193 FMOD_OUTPUTTYPE_ASIO, 01194 // Win32 - Low latency ASIO driver. 01195 FMOD_OUTPUTTYPE_OSS, 01196 // Linux - Open Sound System output. 01197 FMOD_OUTPUTTYPE_ALSA, 01198 // Linux - Advanced Linux Sound Architecture output. 01199 FMOD_OUTPUTTYPE_ESD, 01200 // Linux - Enlightment Sound Daemon output. 01201 FMOD_OUTPUTTYPE_SOUNDMANAGER, 01202 // Mac - Macintosh SoundManager output. 01203 FMOD_OUTPUTTYPE_COREAUDIO, 01204 // Mac - Macintosh CoreAudio output. 01205 FMOD_OUTPUTTYPE_XBOX, 01206 // Xbox - Native hardware output. 01207 FMOD_OUTPUTTYPE_PS2, 01208 // PS2 - Native hardware output. 01209 FMOD_OUTPUTTYPE_GC, 01210 // GameCube - Native hardware output. 01211 FMOD_OUTPUTTYPE_XBOX360, 01212 // Xbox 360 - Native hardware output. 01213 FMOD_OUTPUTTYPE_PSP, 01214 // PSP - Native hardware output. 01215 FMOD_OUTPUTTYPE_WII, 01216 // Wii - Native hardware output. (Default on Wii) */ 01217 FMOD_OUTPUTTYPE_MAX 01218 // Maximum number of output types supported. ' 01219 } 01220 01221 01222 // 01223 //[ENUM] 01224 //[ 01225 //[Description] 01226 //Bit fields to use with System::getDriverCaps to determine the capabilities of a card / output device. 01227 01228 //[REMARKS] 01229 01230 //[PLATFORMS] 01231 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01232 01233 //[SEE_ALSO] 01234 //System::getDriverCaps 01235 //] 01236 // 01237 public enum FMOD_CAPS 01238 { 01239 FMOD_CAPS_NONE = 0x0, 01240 // Device has no special capabilities. 01241 FMOD_CAPS_HARDWARE = 0x1, 01242 // Device supports hardware mixing. 01243 FMOD_CAPS_HARDWARE_EMULATED = 0x2, 01244 // User has device set to 'Hardware acceleration = off' in control panel, and now extra 200ms latency is incurred. 01245 FMOD_CAPS_OUTPUT_MULTICHANNEL = 0x4, 01246 // Device can do multichannel output, ie greater than 2 channels. 01247 FMOD_CAPS_OUTPUT_FORMAT_PCM8 = 0x8, 01248 // Device can output to 8bit integer PCM. 01249 FMOD_CAPS_OUTPUT_FORMAT_PCM16 = 0x10, 01250 // Device can output to 16bit integer PCM. 01251 FMOD_CAPS_OUTPUT_FORMAT_PCM24 = 0x20, 01252 // Device can output to 24bit integer PCM. 01253 FMOD_CAPS_OUTPUT_FORMAT_PCM32 = 0x40, 01254 // Device can output to 32bit integer PCM. 01255 FMOD_CAPS_OUTPUT_FORMAT_PCMFLOAT = 0x80, 01256 // Device can output to 32bit floating point PCM. 01257 FMOD_CAPS_REVERB_EAX2 = 0x100, 01258 // Device supports EAX2 reverb. 01259 FMOD_CAPS_REVERB_EAX3 = 0x200, 01260 // Device supports EAX3 reverb. 01261 FMOD_CAPS_REVERB_EAX4 = 0x400, 01262 // Device supports EAX4 reverb. 01263 FMOD_CAPS_REVERB_EAX5 = 0x800, 01264 // Device supports EAX5 reverb. 01265 FMOD_CAPS_REVERB_I3DL2 = 0x800, 01266 // Device supports I3DL2 reverb. 01267 FMOD_CAPS_REVERB_LIMITED = 0x1000 01268 // Device supports some form of limited hardware reverb, maybe parameterless and only selectable by environment. 01269 } 01270 01271 01272 //[DEFINE] 01273 //[ 01274 // [NAME] 01275 // FMOD_DEBUGLEVEL 01276 // 01277 // [DESCRIPTION] 01278 // Bit fields to use with FMOD::Debug_SetLevel / FMOD::Debug_GetLevel to control the level of tty debug output with logging versions of FMOD (fmodL). 01279 // 01280 // [REMARKS] 01281 // 01282 // [PLATFORMS] 01283 // Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01284 // 01285 // [SEE_ALSO] 01286 // Debug_SetLevel 01287 // Debug_GetLevel 01288 //] 01289 public enum FMOD_DEBUGLEVEL 01290 { 01291 FMOD_DEBUG_LEVEL_NONE = 0x0, 01292 FMOD_DEBUG_LEVEL_LOG = 0x1, 01293 FMOD_DEBUG_LEVEL_ERROR = 0x2, 01294 FMOD_DEBUG_LEVEL_WARNING = 0x4, 01295 FMOD_DEBUG_LEVEL_HINT = 0x8, 01296 FMOD_DEBUG_LEVEL_ALL = 0xff, 01297 FMOD_DEBUG_TYPE_MEMORY = 0x100, 01298 FMOD_DEBUG_TYPE_THREAD = 0x200, 01299 FMOD_DEBUG_TYPE_FILE = 0x400, 01300 FMOD_DEBUG_TYPE_NET = 0x800, 01301 FMOD_DEBUG_TYPE_EVENT = 0x1000, 01302 FMOD_DEBUG_TYPE_ALL = 0xffff, 01303 FMOD_DEBUG_DISPLAY_TIMESTAMPS = 0x1000000, 01304 FMOD_DEBUG_DISPLAY_LINENUMBERS = 0x2000000, 01305 FMOD_DEBUG_DISPLAY_COMPRESS = 0x4000000, 01306 FMOD_DEBUG_DISPLAY_THREAD = 0x8000000, 01307 FMOD_DEBUG_DISPLAY_ALL = 0xf000000, 01308 FMOD_DEBUG_ALL = 0xffffffff 01309 } 01310 01311 01312 //[DEFINE] 01313 //[ 01314 // [NAME] 01315 // FMOD_MEMORY_TYPE 01316 // 01317 // [DESCRIPTION] 01318 // Bit fields for memory allocation type being passed into FMOD memory callbacks. 01319 // 01320 // [REMARKS] 01321 // 01322 // [PLATFORMS] 01323 // Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01324 // 01325 // [SEE_ALSO] 01326 // FMOD_MEMORY_ALLOCCALLBACK 01327 // FMOD_MEMORY_REALLOCCALLBACK 01328 // FMOD_MEMORY_FREECALLBACK 01329 // Memory_Initialize 01330 //] 01331 public enum FMOD_MEMORY_TYPE 01332 { 01333 FMOD_MEMORY_NORMAL = 0x0, 01334 // Standard memory. 01335 FMOD_MEMORY_XBOX360_PHYSICAL = 0x100000, 01336 // Requires XPhysicalAlloc / XPhysicalFree. 01337 FMOD_MEMORY_PERSISTENT = 0x200000, 01338 // Persistent memory. Memory will be freed when System::release is called. 01339 FMOD_MEMORY_SECONDARY = 0x400000 01340 // Secondary memory. Allocation should be in secondary memory. For example RSX on the PS3. */ 01341 } 01342 01343 01344 // 01345 //[ENUM] 01346 //[ 01347 //[DESCRIPTION] 01348 //These are speaker types defined for use with the System::setSpeakerMode or System::getSpeakerMode command. 01349 01350 //[REMARKS] 01351 //These are important notes on speaker modes in regards to sounds created with FMOD_SOFTWARE.<br> 01352 //Note below the phrase 'sound channels' is used. These are the subchannels inside a sound, they are not related and 01353 //have nothing to do with the FMOD class "Channel".<br> 01354 //For example a mono sound has 1 sound channel, a stereo sound has 2 sound channels, and an AC3 or 6 channel wav file have 6 "sound channels".<br> 01355 //<br> 01356 //FMOD_SPEAKERMODE_RAW<br> 01357 //---------------------<br> 01358 //This mode is for output devices that are not specifically mono/stereo/quad/surround/5.1 or 7.1, but are multichannel.<br> 01359 //Sound channels map to speakers sequentially, so a mono sound maps to output speaker 0, stereo sound maps to output speaker 0 & 1.<br> 01360 //The user assumes knowledge of the speaker order. FMOD_SPEAKER enumerations may not apply, so raw channel indicies should be used.<br> 01361 //Multichannel sounds map input channels to output channels 1:1. <br> 01362 //Channel::setPan and Channel::setSpeakerMix do not work.<br> 01363 //Speaker levels must be manually set with Channel::setSpeakerLevels.<br> 01364 //<br> 01365 //FMOD_SPEAKERMODE_MONO<br> 01366 //---------------------<br> 01367 //This mode is for a 1 speaker arrangement.<br> 01368 //Panning does not work in this speaker mode.<br> 01369 //Mono, stereo and multichannel sounds have each sound channel played on the one speaker unity.<br> 01370 //Mix behaviour for multichannel sounds can be set with Channel::setSpeakerLevels.<br> 01371 //Channel::setSpeakerMix does not work.<br> 01372 //<br> 01373 //FMOD_SPEAKERMODE_STEREO<br> 01374 //-----------------------<br> 01375 //This mode is for 2 speaker arrangements that have a left and right speaker.<br> 01376 //<li>Mono sounds default to an even distribution between left and right. They can be panned with Channel::setPan.<br> 01377 //<li>Stereo sounds default to the middle, or full left in the left speaker and full right in the right speaker. 01378 //<li>They can be cross faded with Channel::setPan.<br> 01379 //<li>Multichannel sounds have each sound channel played on each speaker at unity.<br> 01380 //<li>Mix behaviour for multichannel sounds can be set with Channel::setSpeakerLevels.<br> 01381 //<li>Channel::setSpeakerMix works but only front left and right parameters are used, the rest are ignored.<br> 01382 //<br> 01383 //FMOD_SPEAKERMODE_QUAD<br> 01384 //------------------------<br> 01385 //This mode is for 4 speaker arrangements that have a front left, front right, rear left and a rear right speaker.<br> 01386 //<li>Mono sounds default to an even distribution between front left and front right. They can be panned with Channel::setPan.<br> 01387 //<li>Stereo sounds default to the left sound channel played on the front left, and the right sound channel played on the front right.<br> 01388 //<li>They can be cross faded with Channel::setPan.<br> 01389 //<li>Multichannel sounds default to all of their sound channels being played on each speaker in order of input.<br> 01390 //<li>Mix behaviour for multichannel sounds can be set with Channel::setSpeakerLevels.<br> 01391 //<li>Channel::setSpeakerMix works but side left, side right, center and lfe are ignored.<br> 01392 //<br> 01393 //FMOD_SPEAKERMODE_SURROUND<br> 01394 //------------------------<br> 01395 //This mode is for 4 speaker arrangements that have a front left, front right, front center and a rear center.<br> 01396 //<li>Mono sounds default to the center speaker. They can be panned with Channel::setPan.<br> 01397 //<li>Stereo sounds default to the left sound channel played on the front left, and the right sound channel played on the front right. 01398 //<li>They can be cross faded with Channel::setPan.<br> 01399 //<li>Multichannel sounds default to all of their sound channels being played on each speaker in order of input.<br> 01400 //<li>Mix behaviour for multichannel sounds can be set with Channel::setSpeakerLevels.<br> 01401 //<li>Channel::setSpeakerMix works but side left, side right and lfe are ignored, and rear left / rear right are averaged into the rear speaker.<br> 01402 //<br> 01403 //FMOD_SPEAKERMODE_5POINT1<br> 01404 //------------------------<br> 01405 //This mode is for 5.1 speaker arrangements that have a left/right/center/rear left/rear right and a subwoofer speaker.<br> 01406 //<li>Mono sounds default to the center speaker. They can be panned with Channel::setPan.<br> 01407 //<li>Stereo sounds default to the left sound channel played on the front left, and the right sound channel played on the front right. 01408 //<li>They can be cross faded with Channel::setPan.<br> 01409 //<li>Multichannel sounds default to all of their sound channels being played on each speaker in order of input. 01410 //<li>Mix behaviour for multichannel sounds can be set with Channel::setSpeakerLevels.<br> 01411 //<li>Channel::setSpeakerMix works but side left / side right are ignored.<br> 01412 //<br> 01413 //FMOD_SPEAKERMODE_7POINT1<br> 01414 //------------------------<br> 01415 //This mode is for 7.1 speaker arrangements that have a left/right/center/rear left/rear right/side left/side right 01416 //and a subwoofer speaker.<br> 01417 //<li>Mono sounds default to the center speaker. They can be panned with Channel::setPan.<br> 01418 //<li>Stereo sounds default to the left sound channel played on the front left, and the right sound channel played on the front right. 01419 //<li>They can be cross faded with Channel::setPan.<br> 01420 //<li>Multichannel sounds default to all of their sound channels being played on each speaker in order of input. 01421 //<li>Mix behaviour for multichannel sounds can be set with Channel::setSpeakerLevels.<br> 01422 //<li>Channel::setSpeakerMix works and every parameter is used to set the balance of a sound in any speaker.<br> 01423 //<br> 01424 //FMOD_SPEAKERMODE_PROLOGIC<br> 01425 //------------------------------------------------------<br> 01426 //This mode is for mono, stereo, 5.1 and 7.1 speaker arrangements, as it is backwards and forwards compatible with stereo, 01427 //but to get a surround effect a Dolby Prologic or Prologic 2 hardware decoder / amplifier is needed.<br> 01428 //Pan behaviour is the same as FMOD_SPEAKERMODE_5POINT1.<br> 01429 //<br> 01430 //If this function is called the numoutputchannels setting in System::setSoftwareFormat is overwritten.<br> 01431 //<br> 01432 //For 3D sounds, panning is determined at runtime by the 3D subsystem based on the speaker mode to determine which speaker the 01433 //sound should be placed in.<br> 01434 01435 //[PLATFORMS] 01436 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01437 01438 //[SEE_ALSO] 01439 //System::setSpeakerMode 01440 //System::getSpeakerMode 01441 //System::getDriverCaps 01442 //Channel::setSpeakerLevels 01443 //] 01444 // 01445 public enum FMOD_SPEAKERMODE 01446 { 01447 FMOD_SPEAKERMODE_RAW, 01448 // There is no specific speakermode. Sound channels are mapped in order of input to output. See remarks for more information. 01449 FMOD_SPEAKERMODE_MONO, 01450 // The speakers are monaural. 01451 FMOD_SPEAKERMODE_STEREO, 01452 // The speakers are stereo (DEFAULT). 01453 FMOD_SPEAKERMODE_QUAD, 01454 // 4 speaker setup. This includes front left, front right, rear left, rear right. 01455 FMOD_SPEAKERMODE_SURROUND, 01456 // 4 speaker setup. This includes front left, front right, center, rear center (rear left/rear right are averaged). 01457 FMOD_SPEAKERMODE_5POINT1, 01458 // 5.1 speaker setup. This includes front left, front right, center, rear left, rear right and a subwoofer. 01459 FMOD_SPEAKERMODE_7POINT1, 01460 // 7.1 speaker setup. This includes front left, front right, center, rear left, rear right, side left, side right and a subwoofer. 01461 FMOD_SPEAKERMODE_PROLOGIC, 01462 // Stereo output, but data is encoded in a way that is picked up by a Prologic/Prologic2 decoder and split into a 5.1 speaker setup. 01463 FMOD_SPEAKERMODE_MAX 01464 // Maximum number of speaker modes supported. 01465 } 01466 01467 01468 // 01469 //[ENUM] 01470 //[ 01471 //[DESCRIPTION] 01472 //These are speaker types defined for use with the Channel::setSpeakerLevels command. 01473 //It can also be used for speaker placement in the System::setSpeakerPosition command. 01474 01475 //[REMARKS] 01476 //If you are using FMOD_SPEAKERMODE_RAW and speaker assignments are meaningless, just cast a raw integer value to this type.<br> 01477 //For example (FMOD_SPEAKER)7 would use the 7th speaker (also the same as FMOD_SPEAKER_SIDE_RIGHT).<br> 01478 //Values higher than this can be used if an output system has more than 8 speaker types / output channels. 15 is the current maximum. 01479 01480 //[PLATFORMS] 01481 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01482 01483 //[SEE_ALSO] 01484 //FMOD_SPEAKERMODE 01485 //Channel::setSpeakerLevels 01486 //Channel::getSpeakerLevels 01487 //System::setSpeakerPosition 01488 //System::getSpeakerPosition 01489 //] 01490 // 01491 public enum FMOD_SPEAKER 01492 { 01493 FMOD_SPEAKER_FRONT_LEFT, 01494 FMOD_SPEAKER_FRONT_RIGHT, 01495 FMOD_SPEAKER_FRONT_CENTER, 01496 FMOD_SPEAKER_LOW_FREQUENCY, 01497 FMOD_SPEAKER_BACK_LEFT, 01498 FMOD_SPEAKER_BACK_RIGHT, 01499 FMOD_SPEAKER_SIDE_LEFT, 01500 FMOD_SPEAKER_SIDE_RIGHT, 01501 FMOD_SPEAKER_MAX, 01502 // Maximum number of speaker types supported. 01503 FMOD_SPEAKER_MONO = FMOD_SPEAKER.FMOD_SPEAKER_FRONT_LEFT, 01504 // For use with FMOD_SPEAKERMODE_MONO and Channel::SetSpeakerLevels. Mapped to same value as FMOD_SPEAKER_FRONT_LEFT. 01505 FMOD_SPEAKER_BACK_CENTER = FMOD_SPEAKER.FMOD_SPEAKER_LOW_FREQUENCY 01506 // For use with FMOD_SPEAKERMODE_SURROUND and Channel::SetSpeakerLevels only. Mapped to same value as FMOD_SPEAKER_LOW_FREQUENCY. 01507 } 01508 01509 01510 // 01511 //[ENUM] 01512 //[ 01513 //[Description] 01514 //These are plugin types defined for use with the System::getNumPlugins, 01515 //System::getPluginInfo and System::unloadPlugin functions. 01516 01517 //[REMARKS] 01518 01519 //[PLATFORMS] 01520 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01521 01522 //[SEE_ALSO] 01523 //FMOD_System_GetNumPlugins 01524 //FMOD_System_GetPluginInfo 01525 //FMOD_System_UnloadPlugin 01526 //] 01527 // 01528 public enum FMOD_PLUGINTYPE 01529 { 01530 FMOD_PLUGINTYPE_OUTPUT, 01531 // The plugin type is an output module. FMOD mixed audio will play through one of these devices. 01532 FMOD_PLUGINTYPE_CODEC, 01533 // The plugin type is a file format codec. FMOD will use these codecs to load file formats for playback. 01534 FMOD_PLUGINTYPE_DSP 01535 // The plugin type is a DSP unit. FMOD will use these plugins as part of its DSP network to apply effects to output or generate sound in realtime. 01536 } 01537 01538 01539 // 01540 //[ENUM] 01541 //[ 01542 //[Description] 01543 //Initialization flags. Use them with System::init in the flags parameter to change various behaviour. 01544 01545 //[REMARKS] 01546 01547 //[PLATFORMS] 01548 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01549 01550 //[SEE_ALSO] 01551 //FMOD_System_Init 01552 //] 01553 // 01554 public enum FMOD_INITFLAGS 01555 { 01556 FMOD_INIT_NORMAL = 0x0, 01557 // All platforms - Initialize normally. 01558 FMOD_INIT_STREAM_FROM_UPDATE = 0x1, 01559 // All platforms - No stream thread is created internally. Streams are driven from System::update. Mainly used with non-realtime outputs. 01560 FMOD_INIT_3D_RIGHTHANDED = 0x2, 01561 // All platforms - FMOD will treat +X as left, +Y as up and +Z as forwards. 01562 FMOD_INIT_SOFTWARE_DISABLE = 0x4, 01563 // All platforms - Disable software mixer to save memory. Anything created with FMOD_SOFTWARE will fail and DSP will not work. 01564 FMOD_INIT_SOFTWARE_OCCLUSION = 0x8, 01565 // All platforms - All FMOD_SOFTWARE with FMOD_3D based voices will add a software lowpass filter effect into the DSP chain which is automatically used when Channel::set3DOcclusion is used or the geometry API. 01566 FMOD_INIT_SOFTWARE_HRTF = 0x10, 01567 // All platforms - All FMOD_SOFTWARE with FMOD_3D based voices will add a software lowpass filter effect into the DSP chain which causes sounds to sound duller when the sound goes behind the listener. 01568 FMOD_INIT_SOFTWARE_REVERB_LOWMEM = 0x40, 01569 // All platforms - SFX reverb is run using 22/24khz delay buffers, halving the memory required. */ 01570 FMOD_INIT_ENABLE_PROFILE = 0x20, 01571 // All platforms - Enable TCP/IP based host which allows "DSPNet Listener.exe" to connect to it, and view the DSP dataflow network graph in real-time. */ 01572 FMOD_INIT_VOL0_BECOMES_VIRTUAL = 0x80, 01573 // All platforms - Any sounds that are 0 volume will go virtual and not be processed except for having their positions updated virtually. Use System::setAdvancedSettings to adjust what volume besides zero to switch to virtual at. */ 01574 FMOD_INIT_WASAPI_EXCLUSIVE = 0x100, 01575 // Win32 Vista only - for WASAPI output - Enable exclusive access to hardware, lower latency at the expense of excluding other applications from accessing the audio hardware. 01576 FMOD_INIT_DSOUND_HRTFNONE = 0x200, 01577 // Win32 only - for DirectSound output - FMOD_HARDWARE | FMOD_3D buffers use simple stereo panning/doppler/attenuation when 3D hardware acceleration is not present. 01578 FMOD_INIT_DSOUND_HRTFLIGHT = 0x400, 01579 // Win32 only - for DirectSound output - FMOD_HARDWARE | FMOD_3D buffers use a slightly higher quality algorithm when 3D hardware acceleration is not present. 01580 FMOD_INIT_DSOUND_HRTFFULL = 0x800, 01581 // Win32 only - for DirectSound output - FMOD_HARDWARE | FMOD_3D buffers use full quality 3D playback when 3d hardware acceleration is not present. 01582 FMOD_INIT_PS2_DISABLECORE0REVERB = 0x10000, 01583 // PS2 only - Disable reverb on CORE 0 to regain SRAM. 01584 FMOD_INIT_PS2_DISABLECORE1REVERB = 0x20000, 01585 // PS2 only - Disable reverb on CORE 1 to regain SRAM. 01586 FMOD_INIT_PS2_DONTUSESCRATCHPAD = 0x40000, 01587 // PS2 only - Disable FMOD's usage of the scratchpad. 01588 FMOD_INIT_PS2_SWAPDMACHANNELS = 0x80000, 01589 // PS2 only - Changes FMOD from using SPU DMA channel 0 for software mixing, and 1 for sound data upload/file streaming, to 1 and 0 respectively. 01590 FMOD_INIT_XBOX_REMOVEHEADROOM = 0x100000, 01591 // XBox only - By default DirectSound attenuates all sound by 6db to avoid clipping/distortion. CAUTION. If you use this flag you are responsible for the final mix to make sure clipping / distortion doesn't happen. 01592 FMOD_INIT_360_MUSICMUTENOTPAUSE = 0x200000, 01593 // Xbox 360 only - The "music" channelgroup which by default pauses when custom 360 dashboard music is played, can be changed to mute (therefore continues playing) instead of pausing, by using this flag. 01594 FMOD_INIT_SYNCMIXERWITHUPDATE = 0x400000, 01595 // Win32/Wii/PS3/Xbox/Xbox 360 - FMOD Mixer thread is woken up to do a mix when System::update is called rather than waking periodically on its own timer. */ 01596 FMOD_INIT_NEURALTHX = 0x2000000 01597 // Win32/Mac/Linux/Solaris - Use Neural THX downmixing from 7.1 if speakermode set to FMOD_SPEAKERMODE_STEREO or FMOD_SPEAKERMODE_5POINT1. */ 01598 } 01599 01600 01601 // 01602 //[ENUM] 01603 //[ 01604 //[Description] 01605 //These definitions describe the type of song being played. 01606 01607 //[REMARKS] 01608 01609 //[PLATFORMS] 01610 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01611 01612 //[SEE_ALSO] 01613 //Sound:: GetFormat 01614 //] 01615 // 01616 public enum FMOD_SOUND_TYPE 01617 { 01618 FMOD_SOUND_TYPE_UNKNOWN, 01619 // 3rd party / unknown plugin format. 01620 FMOD_SOUND_TYPE_AAC, 01621 // AAC. Currently unsupported. 01622 FMOD_SOUND_TYPE_AIFF, 01623 // AIFF. 01624 FMOD_SOUND_TYPE_ASF, 01625 // Microsoft Advanced Systems Format (ie WMA/ASF/WMV). 01626 FMOD_SOUND_TYPE_AT3, 01627 // Sony ATRAC 3 format 01628 FMOD_SOUND_TYPE_CDDA, 01629 // Digital CD audio. 01630 FMOD_SOUND_TYPE_DLS, 01631 // Sound font / downloadable sound bank. 01632 FMOD_SOUND_TYPE_FLAC, 01633 // FLAC lossless codec. 01634 FMOD_SOUND_TYPE_FSB, 01635 // FMOD Sample Bank. 01636 FMOD_SOUND_TYPE_GCADPCM, 01637 // GameCube ADPCM 01638 FMOD_SOUND_TYPE_IT, 01639 // Impulse Tracker. 01640 FMOD_SOUND_TYPE_MIDI, 01641 // MIDI. 01642 FMOD_SOUND_TYPE_MOD, 01643 // Protracker / Fasttracker MOD. 01644 FMOD_SOUND_TYPE_MPEG, 01645 // MP2/MP3 MPEG. 01646 FMOD_SOUND_TYPE_OGGVORBIS, 01647 // Ogg vorbis. 01648 FMOD_SOUND_TYPE_PLAYLIST, 01649 // Information only from ASX/PLS/M3U/WAX playlists 01650 FMOD_SOUND_TYPE_RAW, 01651 // Raw PCM data. 01652 FMOD_SOUND_TYPE_S3M, 01653 // ScreamTracker 3. 01654 FMOD_SOUND_TYPE_SF2, 01655 // Sound font 2 format. 01656 FMOD_SOUND_TYPE_USER, 01657 // User created sound. 01658 FMOD_SOUND_TYPE_WAV, 01659 // Microsoft WAV. 01660 FMOD_SOUND_TYPE_XM, 01661 // FastTracker 2 XM. 01662 FMOD_SOUND_TYPE_XMA, 01663 // Xbox360 XMA 01664 FMOD_SOUND_TYPE_VAG 01665 // PlayStation 2 / PlayStation Portable adpcm VAG format. 01666 } 01667 01668 01669 // 01670 //[ENUM] 01671 //[ 01672 //[Description] 01673 //These definitions describe the native format of the hardware or software buffer that will be used. 01674 01675 //[REMARKS] 01676 //This is the format the native hardware or software buffer will be or is created in. 01677 01678 //[PLATFORMS] 01679 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01680 01681 //[SEE_ALSO] 01682 //System::createSound 01683 //Sound::GetFormat 01684 //] 01685 // 01686 public enum FMOD_SOUND_FORMAT 01687 { 01688 FMOD_SOUND_FORMAT_NONE, 01689 // Unitialized / unknown. 01690 FMOD_SOUND_FORMAT_PCM8, 01691 // 8bit integer PCM data. 01692 FMOD_SOUND_FORMAT_PCM16, 01693 // 16bit integer PCM data. 01694 FMOD_SOUND_FORMAT_PCM24, 01695 // 24bit integer PCM data. 01696 FMOD_SOUND_FORMAT_PCM32, 01697 // 32bit integer PCM data. 01698 FMOD_SOUND_FORMAT_PCMFLOAT, 01699 // 32bit floating point PCM data. 01700 FMOD_SOUND_FORMAT_GCADPCM, 01701 // Compressed GameCube DSP data. 01702 FMOD_SOUND_FORMAT_IMAADPCM, 01703 // Compressed XBox ADPCM data. 01704 FMOD_SOUND_FORMAT_VAG, 01705 // Compressed PlayStation 2 ADPCM data. 01706 FMOD_SOUND_FORMAT_XMA, 01707 // Compressed Xbox360 data. 01708 FMOD_SOUND_FORMAT_MPEG, 01709 // Compressed MPEG layer 2 or 3 data. 01710 FMOD_SOUND_FORMAT_MAX 01711 // Maximum number of sound formats supported. 01712 } 01713 01714 01715 // 01716 //[DEFINE] 01717 //[ 01718 //[NAME] 01719 //FMOD_MODE 01720 01721 //[DESCRIPTION] 01722 //Sound description bitfields, bitwise OR them together for loading and describing sounds. 01723 01724 //[REMARKS] 01725 //By default a sound will open as a static sound that is decompressed fully into memory.<br> 01726 //To have a sound stream instead, use FMOD_CREATESTREAM.<br> 01727 //Some opening modes (ie FMOD_OPENUSER, FMOD_OPENMEMORY, FMOD_OPENRAW) will need extra information.<br> 01728 //This can be provided using the FMOD_CREATESOUNDEXINFO structure. 01729 01730 //[PLATFORMS] 01731 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01732 01733 //[SEE_ALSO] 01734 //System::createSound 01735 //System::createStream 01736 //Sound::setMode 01737 //Sound::getMode 01738 //Channel::setMode 01739 //Channel::getMode 01740 //] 01741 // 01742 public enum FMOD_MODE 01743 { 01744 FMOD_DEFAULT = 0x0, 01745 // FMOD_DEFAULT is a default sound type. Equivalent to all the defaults listed below. FMOD_LOOP_OFF, FMOD_2D, FMOD_HARDWARE. 01746 FMOD_LOOP_OFF = 0x1, 01747 // For non looping sounds. (default). Overrides FMOD_LOOP_NORMAL / FMOD_LOOP_BIDI. 01748 FMOD_LOOP_NORMAL = 0x2, 01749 // For forward looping sounds. 01750 FMOD_LOOP_BIDI = 0x4, 01751 // For bidirectional looping sounds. (only works on software mixed static sounds). 01752 FMOD_2D = 0x8, 01753 // Ignores any 3d processing. (default). 01754 FMOD_3D = 0x10, 01755 // Makes the sound positionable in 3D. Overrides FMOD_2D. 01756 FMOD_HARDWARE = 0x20, 01757 // Attempts to make sounds use hardware acceleration. (default). 01758 FMOD_SOFTWARE = 0x40, 01759 // Makes sound reside in software. Overrides FMOD_HARDWARE. Use this for FFT, DSP, 2D multi speaker support and other software related features. 01760 FMOD_CREATESTREAM = 0x80, 01761 // Decompress at runtime, streaming from the source provided (standard stream). Overrides FMOD_CREATESAMPLE. 01762 FMOD_CREATESAMPLE = 0x100, 01763 // Decompress at loadtime, decompressing or decoding whole file into memory as the target sample format. (standard sample). 01764 FMOD_CREATECOMPRESSEDSAMPLE = 0x200, 01765 // Load MP2, MP3, IMAADPCM or XMA into memory and leave it compressed. During playback the FMOD software mixer will decode it in realtime as a 'compressed sample'. Can only be used in combination with FMOD_SOFTWARE. 01766 FMOD_OPENUSER = 0x400, 01767 // Opens a user created static sample or stream. Use FMOD_CREATESOUNDEXINFO to specify format and/or read callbacks. If a user created 'sample' is created with no read callback, the sample will be empty. Use FMOD_Sound_Lock and FMOD_Sound_Unlock to place sound data into the sound if this is the case. 01768 FMOD_OPENMEMORY = 0x800, 01769 // "name_or_data" will be interpreted as a pointer to memory instead of filename for creating sounds. 01770 FMOD_OPENMEMORY_POINT = 0x10000000, 01771 // "name_or_data" will be interpreted as a pointer to memory instead of filename for creating sounds. Use FMOD_CREATESOUNDEXINFO to specify length. This differs to FMOD_OPENMEMORY in that it uses the memory as is, without duplicating the memory into its own buffers. FMOD_SOFTWARE only. Doesn't work with FMOD_HARDWARE, as sound hardware cannot access main ram on a lot of platforms. Cannot be freed after open, only after Sound::release. Will not work if the data is compressed and FMOD_CREATECOMPRESSEDSAMPLE is not used. */ 01772 FMOD_OPENRAW = 0x1000, 01773 // Will ignore file format and treat as raw pcm. User may need to declare if data is FMOD_SIGNED or FMOD_UNSIGNED ' 01774 FMOD_OPENONLY = 0x2000, 01775 // Just open the file, dont prebuffer or read. Good for fast opens for info, or when FMOD_Sound_ReadData is to be used. 01776 FMOD_ACCURATETIME = 0x4000, 01777 // For FMOD_System_CreateSound - for accurate FMOD_Sound_GetLength / FMOD_Channel_SetPosition on VBR MP3, AAC and MOD/S3M/XM/IT/MIDI files. Scans file first, so takes longer to open. FMOD_OPENONLY does not affect this. 01778 FMOD_MPEGSEARCH = 0x8000, 01779 // For corrupted / bad MP3 files. This will search all the way through the file until it hits a valid MPEG header. Normally only searches for 4k. 01780 FMOD_NONBLOCKING = 0x10000, 01781 // For opening sounds and getting streamed subsounds (seeking) asyncronously. Use Sound::getOpenState to poll the state of the sound as it opens or retrieves the subsound in the background. 01782 FMOD_UNIQUE = 0x20000, 01783 // Unique sound, can only be played one at a time ' 01784 FMOD_3D_HEADRELATIVE = 0x40000, 01785 // Make the sound's position, velocity and orientation relative to the listener. 01786 FMOD_3D_WORLDRELATIVE = 0x80000, 01787 // Make the sound's position, velocity and orientation absolute (relative to the world). (DEFAULT) 01788 FMOD_3D_LOGROLLOFF = 0x100000, 01789 // This sound will follow the standard logarithmic rolloff model where mindistance = full volume, maxdistance = where sound stops attenuating, and rolloff is fixed according to the global rolloff factor. (default) 01790 FMOD_3D_LINEARROLLOFF = 0x200000, 01791 // This sound will follow a linear rolloff model where mindistance = full volume, maxdistance = silence. 01792 FMOD_3D_CUSTOMROLLOFF = 0x4000000, 01793 // This sound will follow a rolloff model defined by FMOD_Sound_Set3DCustomRolloff / FMOD_Channel_Set3DCustomRolloff. 01794 FMOD_CDDA_FORCEASPI = 0x400000, 01795 // For CDDA sounds only - use ASPI instead of NTSCSI to access the specified CD/DVD device. 01796 FMOD_CDDA_JITTERCORRECT = 0x800000, 01797 // For CDDA sounds only - perform jitter correction. Jitter correction helps produce a more accurate CDDA stream at the cost of more CPU time. 01798 FMOD_UNICODE = 0x1000000, 01799 // Filename is double-byte unicode. 01800 FMOD_IGNORETAGS = 0x2000000, 01801 // Skips id3v2/asf/etc tag checks when opening a sound, to reduce seek/read overhead when opening files (helps with CD performance). 01802 FMOD_LOWMEM = 0x8000000, 01803 // Removes some features from samples to give a lower memory overhead, like FMOD_Sound_GetName. 01804 FMOD_LOADSECONDARYRAM = 0x20000000, 01805 // Load sound into the secondary RAM of supported platform. On PS3, sounds will be loaded into RSX/VRAM. */ 01806 FMOD_VIRTUAL_PLAYFROMSTART = 0x80000000 01807 // For sounds that start virtual (due to being quiet or low importance), instead of swapping back to audible, and playing at the correct offset according to time, this flag makes the sound play from the start. */ 01808 } 01809 01810 01811 // 01812 //[ENUM] 01813 //[ 01814 //[Description] 01815 //These values describe what state a sound is in after FMOD_NONBLOCKING has been used to open it. 01816 01817 //[REMARKS] 01818 01819 //[PLATFORMS] 01820 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01821 01822 //[SEE_ALSO] 01823 //Sound:: getOpenState 01824 //FMOD_MODE 01825 //] 01826 // 01827 public enum FMOD_OPENSTATE 01828 { 01829 FMOD_OPENSTATE_READY = 0, 01830 // Opened and ready to play 01831 FMOD_OPENSTATE_LOADING, 01832 // Initial load in progress 01833 FMOD_OPENSTATE_ERROR, 01834 // Failed to open - file not found, out of memory etc. See return value of Sound::getOpenState for what happened. 01835 FMOD_OPENSTATE_CONNECTING, 01836 // Connecting to remote host (internet sounds only) 01837 FMOD_OPENSTATE_BUFFERING, 01838 // Buffering data 01839 FMOD_OPENSTATE_SEEKING, 01840 // Seeking to subsound and re-flushing stream buffer. 01841 FMOD_OPENSTATE_STREAMING 01842 // Ready and playing, but not possible to release at this time without stalling the main thread. 01843 } 01844 01845 01846 // 01847 //[ENUM] 01848 //[ 01849 //[DESCRIPTION] 01850 //These flags are used with SoundGroup::setMaxAudibleBehavior to determine what happens when more sounds 01851 //are played than are specified with SoundGroup::setMaxAudible. 01852 01853 //[REMARKS] 01854 //When using FMOD_SOUNDGROUP_BEHAVIOR_MUTE, SoundGroup::setMuteFadeSpeed can be used to stop a sudden transition. 01855 //Instead, the time specified will be used to cross fade between the sounds that go silent and the ones that become audible. 01856 01857 //[PLATFORMS] 01858 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01859 01860 //[SEE_ALSO] 01861 //SoundGroup::setMaxAudibleBehavior 01862 //SoundGroup::getMaxAudibleBehavior 01863 //SoundGroup::setMaxAudible 01864 //SoundGroup::getMaxAudible 01865 //SoundGroup::setMuteFadeSpeed 01866 //SoundGroup::getMuteFadeSpeed 01867 //] 01868 //*/ 01869 public enum FMOD_SOUNDGROUP_BEHAVIOR 01870 { 01871 FMOD_SOUNDGROUP_BEHAVIOR_FAIL, 01872 // Any sound played that puts the sound count over the SoundGroup::setMaxAudible setting, will simply fail during System::playSound. */ 01873 FMOD_SOUNDGROUP_BEHAVIOR_MUTE, 01874 // Any sound played that puts the sound count over the SoundGroup::setMaxAudible setting, will be silent, then if another sound in the group stops the sound that was silent before becomes audible again. */ 01875 FMOD_SOUNDGROUP_BEHAVIOR_STEALLOWEST 01876 // Any sound played that puts the sound count over the SoundGroup::setMaxAudible setting, will steal the quietest / least important sound playing in the group. */ 01877 } 01878 01879 01880 // 01881 //[ENUM] 01882 //[ 01883 //[Description] 01884 //These callback types are used with Channel::setCallback. 01885 01886 //[REMARKS] 01887 01888 //[PLATFORMS] 01889 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01890 01891 //[SEE_ALSO] 01892 //FMOD_Channel_SetCallback 01893 //FMOD_CHANNEL_CALLBACK 01894 //] 01895 // 01896 public enum FMOD_CHANNEL_CALLBACKTYPE 01897 { 01898 FMOD_CHANNEL_CALLBACKTYPE_END, 01899 // Called when a sound ends. 01900 FMOD_CHANNEL_CALLBACKTYPE_VIRTUALVOICE, 01901 // Called when a voice is swapped out or swapped in. 01902 FMOD_CHANNEL_CALLBACKTYPE_SYNCPOINT, 01903 // Called when a syncpoint is encountered. Can be from wav file markers. 01904 FMOD_CHANNEL_CALLBACKTYPE_MAX 01905 } 01906 01907 01908 // 01909 //[ENUM] 01910 //[ 01911 //[Description] 01912 //List of windowing methods used in spectrum analysis to reduce leakage / transient signals intefering with the analysis.<br> 01913 //This is a problem with analysis of continuous signals that only have a small portion of the signal sample (the fft window size).<br> 01914 //Windowing the signal with a curve or triangle tapers the sides of the fft window to help alleviate this problem. 01915 01916 //[REMARKS] 01917 //Cyclic signals such as a sine wave that repeat their cycle in a multiple of the window size do not need windowing.<br> 01918 //I.e. If the sine wave repeats every 1024, 512, 256 etc samples and the FMOD fft window is 1024, then the signal would not need windowing.<br> 01919 //Not windowing is the same as FMOD_DSP_FFT_WINDOW_RECT, which is the default.<br> 01920 //If the cycle of the signal (ie the sine wave) is not a multiple of the window size, it will cause frequency abnormalities, so a different windowing method is needed.<br> 01921 //<exclude> 01922 //<br> 01923 //FMOD_DSP_FFT_WINDOW_RECT.<br> 01924 //<img src = "rectangle.gif"></img><br> 01925 //<br> 01926 //FMOD_DSP_FFT_WINDOW_TRIANGLE.<br> 01927 //<img src = "triangle.gif"></img><br> 01928 //<br> 01929 //FMOD_DSP_FFT_WINDOW_HAMMING.<br> 01930 //<img src = "hamming.gif"></img><br> 01931 //<br> 01932 //FMOD_DSP_FFT_WINDOW_HANNING.<br> 01933 //<img src = "hanning.gif"></img><br> 01934 //<br> 01935 //FMOD_DSP_FFT_WINDOW_BLACKMAN.<br> 01936 //<img src = "blackman.gif"></img><br> 01937 //<br> 01938 //FMOD_DSP_FFT_WINDOW_BLACKMANHARRIS.<br> 01939 //<img src = "blackmanharris.gif"></img> 01940 //</exclude> 01941 01942 //[PLATFORMS] 01943 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01944 01945 //[SEE_ALSO] 01946 //FMOD_System_GetSpectrum 01947 //FMOD_Channel_GetSpectrum 01948 //] 01949 // 01950 public enum FMOD_DSP_FFT_WINDOW 01951 { 01952 FMOD_DSP_FFT_WINDOW_RECT, 01953 // w[n] = 1.0 ' 01954 FMOD_DSP_FFT_WINDOW_TRIANGLE, 01955 // w[n] = TRI(2n/N) ' 01956 FMOD_DSP_FFT_WINDOW_HAMMING, 01957 // w[n] = 0.54 - (0.46 * COS(n/N) ) ' 01958 FMOD_DSP_FFT_WINDOW_HANNING, 01959 // w[n] = 0.5 * (1.0 - COS(n/N) ) ' 01960 FMOD_DSP_FFT_WINDOW_BLACKMAN, 01961 // w[n] = 0.42 - (0.5 * COS(n/N) ) + (0.08 * COS(2.0 * n/N) ) ' 01962 FMOD_DSP_FFT_WINDOW_BLACKMANHARRIS, 01963 // w[n] = 0.35875 - (0.48829 * COS(1.0 * n/N)) + (0.14128 * COS(2.0 * n/N)) - (0.01168 * COS(3.0 * n/N)) ' 01964 FMOD_DSP_FFT_WINDOW_MAX 01965 } 01966 01967 01968 // 01969 //[ENUM] 01970 //[ 01971 //[description] 01972 //List of interpolation types that the FMOD Ex software mixer supports. 01973 01974 //[REMARKS] 01975 //The default resampler type is FMOD_DSP_RESAMPLER_LINEAR.<br> 01976 //Use System::setSoftwareFormat to tell FMOD the resampling quality you require for FMOD_SOFTWARE based sounds. 01977 01978 //[PLATFORMS] 01979 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 01980 01981 //[SEE_ALSO] 01982 //System:: setSoftwareFormat 01983 //System:: getSoftwareFormat 01984 //] 01985 // 01986 public enum FMOD_DSP_RESAMPLER 01987 { 01988 FMOD_DSP_RESAMPLER_NOINTERP, 01989 // No interpolation. High frequency aliasing hiss will be audible depending on the sample rate of the sound. ' 01990 FMOD_DSP_RESAMPLER_LINEAR, 01991 // Linear interpolation (default method). Fast and good quality, causes very slight lowpass effect on low frequency sounds. ' 01992 FMOD_DSP_RESAMPLER_CUBIC, 01993 // Cubic interpolation. Slower than linear interpolation but better quality. ' 01994 FMOD_DSP_RESAMPLER_SPLINE, 01995 // 5 point spline interpolation. Slowest resampling method but best quality. ' 01996 FMOD_DSP_RESAMPLER_MAX 01997 // Maximum number of resample methods supported. ' 01998 } 01999 02000 02001 // 02002 //[ENUM] 02003 //[ 02004 //[Description] 02005 //List of tag types that could be stored within a sound. These include id3 tags, metadata from netstreams and vorbis/asf data. 02006 02007 //[REMARKS] 02008 02009 //[PLATFORMS] 02010 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02011 02012 //[SEE_ALSO] 02013 //Sound:: getTag 02014 //] 02015 // 02016 public enum FMOD_TAGTYPE 02017 { 02018 FMOD_TAGTYPE_UNKNOWN = 0, 02019 FMOD_TAGTYPE_ID3V1, 02020 FMOD_TAGTYPE_ID3V2, 02021 FMOD_TAGTYPE_VORBISCOMMENT, 02022 FMOD_TAGTYPE_SHOUTCAST, 02023 FMOD_TAGTYPE_ICECAST, 02024 FMOD_TAGTYPE_ASF, 02025 FMOD_TAGTYPE_MIDI, 02026 FMOD_TAGTYPE_PLAYLIST, 02027 FMOD_TAGTYPE_FMOD, 02028 FMOD_TAGTYPE_USER 02029 } 02030 02031 02032 // 02033 //[ENUM] 02034 //[ 02035 //[Description] 02036 //List of data types that can be returned by Sound::getTag 02037 02038 //[REMARKS] 02039 02040 //[PLATFORMS] 02041 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02042 02043 //[SEE_ALSO] 02044 //Sound:: getTag 02045 //] 02046 // 02047 public enum FMOD_TAGDATATYPE 02048 { 02049 FMOD_TAGDATATYPE_BINARY = 0, 02050 FMOD_TAGDATATYPE_INT, 02051 FMOD_TAGDATATYPE_FLOAT, 02052 FMOD_TAGDATATYPE_STRING, 02053 FMOD_TAGDATATYPE_STRING_UTF16, 02054 FMOD_TAGDATATYPE_STRING_UTF16BE, 02055 FMOD_TAGDATATYPE_STRING_UTF8, 02056 FMOD_TAGDATATYPE_CDTOC 02057 } 02058 02059 02060 // 02061 //[ENUM] 02062 //[ 02063 //[DESCRIPTION] 02064 //Types of delay that can be used with Channel::setDelay / Channel::getDelay. 02065 02066 //[REMARKS] 02067 //If you haven't called Channel::setDelay yet, if you call Channel::getDelay with FMOD_DELAYTYPE_DSPCLOCK_START it will return the 02068 //equivalent global DSP clock value to determine when a channel started, so that you can use it for other channels to sync against.<br> 02069 //<br> 02070 //Use System::getDSPClock to also get the current dspclock time, a base for future calls to Channel::setDelay.<br> 02071 //<br> 02072 //Use FMOD_64BIT_ADD or FMOD_64BIT_SUB to add a hi/lo combination together and cope with wraparound. 02073 //<br> 02074 //If FMOD_DELAYTYPE_END_MS is specified, the value is not treated as a 64 bit number, just the delayhi value is used and it is treated as milliseconds. 02075 02076 //[PLATFORMS] 02077 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii, Solaris 02078 02079 //[SEE_ALSO] 02080 //Channel::setDelay 02081 //Channel::getDelay 02082 //System::getDSPClock 02083 //] 02084 // 02085 public enum FMOD_DELAYTYPE 02086 { 02087 FMOD_DELAYTYPE_END_MS, 02088 // Delay at the end of the sound in milliseconds. Use delayhi only. Channel::isPlaying will remain true until this delay has passed even though the sound itself has stopped playing.*/ 02089 FMOD_DELAYTYPE_DSPCLOCK_START, 02090 // Time the sound started if Channel::getDelay is used, or if Channel::setDelay is used, the sound will delay playing until this exact tick. */ 02091 FMOD_DELAYTYPE_DSPCLOCK_END, 02092 // Time the sound should end. If this is non-zero, the channel will go silent at this exact tick. */ 02093 FMOD_DELAYTYPE_MAX 02094 // Maximum number of tag datatypes supported. */ 02095 } 02096 02097 02098 //#define FMOD_64BIT_ADD(_hi1, _lo1, _hi2, _lo2) _hi1 += ((_hi2) + ((((_lo1) + (_lo2)) < (_lo1)) ? 1 : 0)); (_lo1) += (_lo2); 02099 //#define FMOD_64BIT_SUB(_hi1, _lo1, _hi2, _lo2) _hi1 -= ((_hi2) + ((((_lo1) - (_lo2)) > (_lo1)) ? 1 : 0)); (_lo1) -= (_lo2); 02100 02101 02102 // 02103 //[Structure] 02104 //[ 02105 //[Description] 02106 //Structure describing a piece of tag data. 02107 02108 //[REMARKS] 02109 //Members marked with [in] mean the user sets the value before passing it to the function.<br> 02110 //Members marked with [out] mean FMOD sets the value to be used after the function exits.<br> 02111 02112 //[PLATFORMS] 02113 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02114 02115 //[SEE_ALSO] 02116 //Sound:: getTag 02117 //FMOD_TAGTYPE 02118 //FMOD_TAGDATATYPE 02119 //] 02120 // 02121 public struct FMOD_TAG 02122 { 02123 // [out] The type of this tag. 02124 public FMOD_TAGTYPE type; 02125 // [out] The type of data that this tag contains ' 02126 public FMOD_TAGDATATYPE datatype; 02127 // [out] The name of this tag i.e. "TITLE", "ARTIST" etc. 02128 public int name; 02129 // [out] Pointer to the tag data - its format is determined by the datatype member ' 02130 public int Data; 02131 // [out] Length of the data contained in this tag ' 02132 public int datalen; 02133 // [out] True if this tag has been updated since last being accessed with Sound::getTag ' 02134 public int udated; 02135 } 02136 02137 02138 // 02139 //[Structure] 02140 //[ 02141 //[Description] 02142 //Structure describing a CD/DVD table of contents 02143 02144 //[REMARKS] 02145 //Members marked with [in] mean the user sets the value before passing it to the function.<br> 02146 //Members marked with [out] mean FMOD sets the value to be used after the function exits.<br> 02147 02148 //[PLATFORMS] 02149 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02150 02151 //[SEE_ALSO] 02152 //Sound:: getTag 02153 //] 02154 // 02155 public struct FMOD_CDTOC 02156 { 02157 // [out] The number of tracks on the CD ' 02158 public int numtracks; 02159 [VBFixedArray(100)] 02160 // [out] The start offset of each track in minutes ' 02161 public int[] min; 02162 [VBFixedArray(100)] 02163 // [out] The start offset of each track in seconds ' 02164 public int[] sec; 02165 [VBFixedArray(100)] 02166 // [out] The start offset of each track in frames ' 02167 public int[] frame; 02168 02169 //UPGRADE_TODO: "Initialize" must be called to initialize instances of this structure. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="B4BFF9E0-8631-45CF-910E-62AB3970F27B"' 02170 public void Initialize() 02171 { 02172 // ERROR: Not supported in C#: ReDimStatement 02173 02174 // ERROR: Not supported in C#: ReDimStatement 02175 02176 // ERROR: Not supported in C#: ReDimStatement 02177 02178 } 02179 } 02180 02181 02182 // 02183 //[ENUM] 02184 //[ 02185 //[description] 02186 //List of time types that can be returned by Sound::getLength and used with Channel::setPosition or Channel::getPosition. 02187 02188 //[REMARKS] 02189 02190 //[PLATFORMS] 02191 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02192 02193 //[SEE_ALSO] 02194 //Sound:: getLength 02195 //FMOD_Channel_SetPosition 02196 //FMOD_Channel_GetPosition 02197 //] 02198 // 02199 public enum FMOD_TIMEUNIT 02200 { 02201 FMOD_TIMEUNIT_MS = 0x1, 02202 // Milliseconds. 02203 FMOD_TIMEUNIT_PCM = 0x2, 02204 // PCM Samples, related to milliseconds * samplerate / 1000. 02205 FMOD_TIMEUNIT_PCMBYTES = 0x4, 02206 // Bytes, related to PCM samples * channels * datawidth (ie 16bit = 2 bytes). 02207 FMOD_TIMEUNIT_RAWBYTES = 0x8, 02208 // Raw file bytes of (compressed) sound data (does not include headers). Only used by Sound::getLength and Channel::getPosition. 02209 FMOD_TIMEUNIT_MODORDER = 0x100, 02210 // MOD/S3M/XM/IT. Order in a sequenced module format. Use Sound::getFormat to determine the format. 02211 FMOD_TIMEUNIT_MODROW = 0x200, 02212 // MOD/S3M/XM/IT. Current row in a sequenced module format. Sound::getLength will return the number if rows in the currently playing or seeked to pattern. 02213 FMOD_TIMEUNIT_MODPATTERN = 0x400, 02214 // MOD/S3M/XM/IT. Current pattern in a sequenced module format. Sound::getLength will return the number of patterns in the song and Channel::getPosition will return the currently playing pattern. 02215 FMOD_TIMEUNIT_SENTENCE_MS = 0x10000, 02216 // Currently playing subsound in a sentence time in milliseconds. 02217 FMOD_TIMEUNIT_SENTENCE_PCM = 0x20000, 02218 // Currently playing subsound in a sentence time in PCM Samples, related to milliseconds * samplerate / 1000. 02219 FMOD_TIMEUNIT_SENTENCE_PCMBYTES = 0x40000, 02220 // Currently playing subsound in a sentence time in bytes, related to PCM samples * channels * datawidth (ie 16bit = 2 bytes). 02221 FMOD_TIMEUNIT_SENTENCE = 0x80000, 02222 // Currently playing sentence index according to the channel. 02223 FMOD_TIMEUNIT_SENTENCE_SUBSOUND = 0x100000, 02224 // Currently playing subsound index in a sentence. 02225 FMOD_TIMEUNIT_BUFFERED = 0x10000000 02226 // Time value as seen by buffered stream. This is always ahead of audible time, and is only used for processing. 02227 } 02228 02229 02230 // 02231 //[ENUM] 02232 //[ 02233 //[DESCRIPTION] 02234 //When creating a multichannel sound, FMOD will pan them to their default speaker locations, for example a 6 channel sound will default to one channel per 5.1 output speaker.<br> 02235 //Another example is a stereo sound. It will default to left = front left, right = front right.<br> 02236 //<br> 02237 //This is for sounds that are not 'default'. For example you might have a sound that is 6 channels but actually made up of 3 stereo pairs, that should all be located in front left, front right only. 02238 02239 //[REMARKS] 02240 //For full flexibility of speaker assignments, use Channel::setSpeakerLevels. This functionality is cheaper, uses less memory and easier to use. 02241 02242 //[PLATFORMS] 02243 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02244 02245 //[SEE_ALSO] 02246 //FMOD_CREATESOUNDEXINFO 02247 //Channel::setSpeakerLevels 02248 //] 02249 // 02250 public enum FMOD_SPEAKERMAPTYPE 02251 { 02252 FMOD_SPEAKERMAPTYPE_DEFAULT, 02253 // This is the default, and just means FMOD decides which speakers it puts the source channels. */ 02254 FMOD_SPEAKERMAPTYPE_ALLMONO, 02255 // This means the sound is made up of all mono sounds. All voices will be panned to the front center by default in this case. */ 02256 FMOD_SPEAKERMAPTYPE_ALLSTEREO 02257 // This means the sound is made up of all stereo sounds. All voices will be panned to front left and front right alternating every second channel. */ 02258 } 02259 02260 02261 //typedef FMOD_RESULT (F_CALLBACK *FMOD_SOUND_NONBLOCKCALLBACK)(FMOD_SOUND *sound, FMOD_RESULT result); 02262 //typedef FMOD_RESULT (F_CALLBACK *FMOD_SOUND_PCMREADCALLBACK)(FMOD_SOUND *sound, void *data, unsigned int datalen); 02263 //typedef FMOD_RESULT (F_CALLBACK *FMOD_SOUND_PCMSETPOSCALLBACK)(FMOD_SOUND *sound, int subsound, unsigned int position, FMOD_TIMEUNIT postype); 02264 02265 02266 // 02267 //[STRUCTURE] 02268 //[ 02269 //[DESCRIPTION] 02270 //Use this structure with System::createSound when more control is needed over loading.<br> 02271 //The possible reasons to use this with System::createSound are:<br> 02272 //<li>Loading a file from memory. 02273 //<li>Loading a file from within another larger (possibly wad/pak) file, by giving the loader an offset and length. 02274 //<li>To create a user created / non file based sound. 02275 //<li>To specify a starting subsound to seek to within a multi-sample sounds (ie FSB/DLS/SF2) when created as a stream. 02276 //<li>To specify which subsounds to load for multi-sample sounds (ie FSB/DLS/SF2) so that memory is saved and only a subset is actually loaded/read from disk. 02277 //<li>To specify 'piggyback' read and seek callbacks for capture of sound data as fmod reads and decodes it. Useful for ripping decoded PCM data from sounds as they are loaded / played. 02278 //<li>To specify a MIDI DLS/SF2 sample set file to load when opening a MIDI file. 02279 //See below on what members to fill for each of the above types of sound you want to create. 02280 02281 //[REMARKS] 02282 //This structure is optional! Specify 0 or NULL in System::createSound if you don't need it!<br> 02283 //<br> 02284 //Members marked with [in] mean the user sets the value before passing it to the function.<br> 02285 //Members marked with [out] mean FMOD sets the value to be used after the function exits.<br> 02286 //<br> 02287 //<u>Loading a file from memory.</u><br> 02288 //<li>Create the sound using the FMOD_OPENMEMORY flag.<br> 02289 //<li>Mandantory. Specify 'length' for the size of the memory block in bytes. 02290 //<li>Other flags are optional. 02291 //<br> 02292 //<br> 02293 //<u>Loading a file from within another larger (possibly wad/pak) file, by giving the loader an offset and length.</u><br> 02294 //<li>Mandantory. Specify 'fileoffset' and 'length'. 02295 //<li>Other flags are optional. 02296 //<br> 02297 //<br> 02298 //<u>To create a user created / non file based sound.</u><br> 02299 //<li>Create the sound using the FMOD_OPENUSER flag. 02300 //<li>Mandantory. Specify 'defaultfrequency, 'numchannels' and 'format'. 02301 //<li>Other flags are optional. 02302 //<br> 02303 //<br> 02304 //<u>To specify a starting subsound to seek to and flush with, within a multi-sample stream (ie FSB/DLS/SF2).</u><br> 02305 //<br> 02306 //<li>Mandantory. Specify 'initialsubsound'. 02307 //<br> 02308 //<br> 02309 //<u>To specify which subsounds to load for multi-sample sounds (ie FSB/DLS/SF2) so that memory is saved and only a subset is actually loaded/read from disk.</u><br> 02310 //<br> 02311 //<li>Mandantory. Specify 'inclusionlist' and 'inclusionlistnum'. 02312 //<br> 02313 //<br> 02314 //<u>To specify 'piggyback' read and seek callbacks for capture of sound data as fmod reads and decodes it. Useful for ripping decoded PCM data from sounds as they are loaded / played.</u><br> 02315 //<br> 02316 //<li>Mandantory. Specify 'pcmreadcallback' and 'pcmseekcallback'. 02317 //<br> 02318 //<br> 02319 //<u>To specify a MIDI DLS/SF2 sample set file to load when opening a MIDI file.</u><br> 02320 //<br> 02321 //<li>Mandantory. Specify 'dlsname'. 02322 //<br> 02323 //<br> 02324 //Setting the 'decodebuffersize' is for cpu intensive codecs that may be causing stuttering, not file intensive codecs (ie those from CD or netstreams) which are normally altered with System::setStreamBufferSize. As an example of cpu intensive codecs, an mp3 file will take more cpu to decode than a PCM wav file.<br> 02325 //If you have a stuttering effect, then it is using more cpu than the decode buffer playback rate can keep up with. Increasing the decode buffersize will most likely solve this problem.<br> 02326 02327 //[PLATFORMS] 02328 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02329 02330 //[SEE_ALSO] 02331 //System::createSound 02332 //System::setStreamBufferSize 02333 //FMOD_MODE 02334 //] 02335 // 02336 02337 02338 // 02339 //[STRUCTURE] 02340 //[ 02341 //[DESCRIPTION] 02342 //Structure defining a reverb environment.<br> 02343 //<br> 02344 //For more indepth descriptions of the reverb properties under win32, please see the EAX2 and EAX3 02345 //documentation at http://developer.creative.com/ under the 'downloads' section.<br> 02346 //If they do not have the EAX3 documentation, then most information can be attained from 02347 //the EAX2 documentation, as EAX3 only adds some more parameters and functionality on top of 02348 //EAX2. 02349 02350 //[REMARKS] 02351 //Note the default reverb properties are the same as the FMOD_PRESET_GENERIC preset.<br> 02352 //Note that integer values that typically range from -10,000 to 1000 are represented in 02353 //decibels, and are of a logarithmic scale, not linear, wheras float values are always linear.<br> 02354 //<br> 02355 //The numerical values listed below are the maximum, minimum and default values for each variable respectively.<br> 02356 //<br> 02357 //<b>SUPPORTED</b> next to each parameter means the platform the parameter can be set on. Some platforms support all parameters and some don't.<br> 02358 //EAX means hardware reverb on FMOD_OUTPUTTYPE_DSOUND on windows only (must use FMOD_HARDWARE), on soundcards that support EAX 1 to 4.<br> 02359 //EAX4 means hardware reverb on FMOD_OUTPUTTYPE_DSOUND on windows only (must use FMOD_HARDWARE), on soundcards that support EAX 4.<br> 02360 //I3DL2 means hardware reverb on FMOD_OUTPUTTYPE_DSOUND on windows only (must use FMOD_HARDWARE), on soundcards that support I3DL2 non EAX native reverb.<br> 02361 //GC means Nintendo Gamecube hardware reverb (must use FMOD_HARDWARE).<br> 02362 //WII means Nintendo Wii hardware reverb (must use FMOD_HARDWARE).<br> 02363 //Xbox1 means the original Xbox hardware reverb (must use FMOD_HARDWARE).<br> 02364 //PS2 means Playstation 2 hardware reverb (must use FMOD_HARDWARE).<br> 02365 //SFX means FMOD SFX software reverb. This works on any platform that uses FMOD_SOFTWARE for loading sounds.<br> 02366 //<br> 02367 //Members marked with [in] mean the user sets the value before passing it to the function.<br> 02368 //Members marked with [out] mean FMOD sets the value to be used after the function exits.<br> 02369 02370 //[PLATFORMS] 02371 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02372 02373 //[SEE_ALSO] 02374 //System::setReverbProperties 02375 //System::getReverbProperties 02376 //FMOD_REVERB_PRESETS 02377 //FMOD_REVERB_FLAGS 02378 //] 02379 // 02380 public struct FMOD_REVERB_PROPERTIES 02381 { 02382 // MIN MAX DEFAULT DESCRIPTION ' 02383 // [in] 0 , 2 , 0 , EAX4 only. Environment Instance. 3 seperate reverbs simultaneously are possible. This specifies which one to set. (win32 only) ' 02384 public int Instance; 02385 // [in/out] 0 , 25 , 0 , sets all listener properties (win32/ps2) ' 02386 public int Environment; 02387 // [in/out] 1.0 , 100.0 , 7.5 , environment size in meters (win32 only) ' 02388 public float EnvSize; 02389 // [in/out] 0.0 , 1.0 , 1.0 , environment diffusion (win32/xbox) ' 02390 public float EnvDiffusion; 02391 // [in/out] -10000, 0 , -1000 , room effect level (at mid frequencies) (win32/xbox) ' 02392 public int Room; 02393 // [in/out] -10000, 0 , -100 , relative room effect level at high frequencies (win32/xbox) ' 02394 public int RoomHF; 02395 // [in/out] -10000, 0 , 0 , relative room effect level at low frequencies (win32 only) ' 02396 public int RoomLF; 02397 // [in/out] 0.1 , 20.0 , 1.49 , reverberation decay time at mid frequencies (win32/xbox) ' 02398 public float DecayTime; 02399 // [in/out] 0.1 , 2.0 , 0.83 , high-frequency to mid-frequency decay time ratio (win32/xbox) ' 02400 public float DecayHFRatio; 02401 // [in/out] 0.1 , 2.0 , 1.0 , low-frequency to mid-frequency decay time ratio (win32 only) ' 02402 public float DecayLFRatio; 02403 // [in/out] -10000, 1000 , -2602 , early reflections level relative to room effect (win32/xbox) ' 02404 public int Reflections; 02405 // [in/out] 0.0 , 0.3 , 0.007 , initial reflection delay time (win32/xbox) ' 02406 public float ReflectionsDelay; 02407 [VBFixedArray(3)] 02408 // [in/out] , , [0,0,0], early reflections panning vector (win32 only) ' 02409 public float[] ReflectionsPan; 02410 // [in/out] -10000, 2000 , 200 , late reverberation level relative to room effect (win32/xbox) ' 02411 public int reverb; 02412 // [in/out] 0.0 , 0.1 , 0.011 , late reverberation delay time relative to initial reflection (win32/xbox) ' 02413 public float ReverbDelay; 02414 [VBFixedArray(3)] 02415 // [in/out] , , [0,0,0], late reverberation panning vector (win32 only) ' 02416 public float[] ReverbPan; 02417 // [in/out] .075 , 0.25 , 0.25 , echo time (win32 only) ' 02418 public float EchoTime; 02419 // [in/out] 0.0 , 1.0 , 0.0 , echo depth (win32 only) ' 02420 public float EchoDepth; 02421 // [in/out] 0.04 , 4.0 , 0.25 , modulation time (win32 only) ' 02422 public float ModulationTime; 02423 // [in/out] 0.0 , 1.0 , 0.0 , modulation depth (win32 only) ' 02424 public float ModulationDepth; 02425 // [in/out] -100 , 0.0 , -5.0 , change in level per meter at high frequencies (win32 only) ' 02426 public float AirAbsorptionHF; 02427 // [in/out] 1000.0, 20000 , 5000.0 , reference high frequency (hz) (win32/xbox) ' 02428 public float HFReference; 02429 // [in/out] 20.0 , 1000.0, 250.0 , reference low frequency (hz) (win32 only) ' 02430 public float LFReference; 02431 // [in/out] 0.0 , 10.0 , 0.0 , like FMOD_3D_Listener_SetRolloffFactor but for room effect (win32/xbox) ' 02432 public float RoomRolloffFactor; 02433 // [in/out] 0.0 , 100.0 , 100.0 , Value that controls the echo density in the late reverberation decay. (xbox only) ' 02434 public float Diffusion; 02435 // [in/out] 0.0 , 100.0 , 100.0 , Value that controls the modal density in the late reverberation decay (xbox only) ' 02436 public float Density; 02437 // [in/out] FMOD_REVERB_FLAGS - modifies the behavior of above properties (win32/ps2) ' 02438 public int Flags; 02439 02440 //UPGRADE_TODO: "Initialize" must be called to initialize instances of this structure. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="B4BFF9E0-8631-45CF-910E-62AB3970F27B"' 02441 public void Initialize() 02442 { 02443 // ERROR: Not supported in C#: ReDimStatement 02444 02445 // ERROR: Not supported in C#: ReDimStatement 02446 02447 } 02448 } 02449 02450 02451 // 02452 //[define] 02453 //[ 02454 //[NAME] 02455 //FMOD_REVERB_FLAGS 02456 02457 //[Description] 02458 //Values for the Flags member of the FMOD_REVERB_PROPERTIES structure. 02459 02460 //[PLATFORMS] 02461 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02462 02463 //[SEE_ALSO] 02464 //FMOD_REVERB_PROPERTIES 02465 //] 02466 // 02467 // 'EnvSize' affects reverberation decay time ' 02468 public const int FMOD_REVERB_FLAGS_DECAYTIMESCALE = 0x1; 02469 // 'EnvSize' affects reflection level ' 02470 public const int FMOD_REVERB_FLAGS_REFLECTIONSSCALE = 0x2; 02471 // 'EnvSize' affects initial reflection delay time ' 02472 public const int FMOD_REVERB_FLAGS_REFLECTIONSDELAYSCALE = 0x4; 02473 // 'EnvSize' affects reflections level ' 02474 public const int FMOD_REVERB_FLAGS_REVERBSCALE = 0x8; 02475 // 'EnvSize' affects late reverberation delay time ' 02476 public const int FMOD_REVERB_FLAGS_REVERBDELAYSCALE = 0x10; 02477 // AirAbsorptionHF affects DecayHFRatio ' 02478 public const int FMOD_REVERB_FLAGS_DECAYHFLIMIT = 0x20; 02479 // 'EnvSize' affects echo time ' 02480 public const int FMOD_REVERB_FLAGS_ECHOTIMESCALE = 0x40; 02481 // 'EnvSize' affects modulation time ' 02482 public const int FMOD_REVERB_FLAGS_MODULATIONTIMESCALE = 0x80; 02483 public const int FMOD_REVERB_FLAGS_DEFAULT = (FMOD_REVERB_FLAGS_DECAYTIMESCALE | FMOD_REVERB_FLAGS_REFLECTIONSSCALE | FMOD_REVERB_FLAGS_REFLECTIONSDELAYSCALE | FMOD_REVERB_FLAGS_REVERBSCALE | FMOD_REVERB_FLAGS_REVERBDELAYSCALE | FMOD_REVERB_FLAGS_DECAYHFLIMIT); 02484 // [DEFINE_END] ' 02485 02486 02487 // 02488 //[Structure] 02489 //[ 02490 //[Description] 02491 //Structure defining the properties for a reverb source, related to a FMOD channel. 02492 02493 //For more indepth descriptions of the reverb properties under win32, please see the EAX3 02494 //documentation at http://developer.creative.com/ under the 'downloads' section. 02495 //If they do not have the EAX3 documentation, then most information can be attained from 02496 //the EAX2 documentation, as EAX3 only adds some more parameters and functionality on top of 02497 //EAX2. 02498 02499 //Note the default reverb properties are the same as the FMOD_PRESET_GENERIC preset. 02500 //Note that integer values that typically range from -10,000 to 1000 are represented in 02501 //decibels, and are of a logarithmic scale, not linear, wheras FMOD_FLOAT values are typically linear. 02502 //PORTABILITY: Each member has the platform it supports in braces ie (win32/xbox). 02503 //Some reverb parameters are only supported in win32 and some only on xbox. If all parameters are set then 02504 //the reverb should product a similar effect on either platform. 02505 //Linux and FMODCE do not support the reverb api. 02506 02507 //The numerical values listed below are the maximum, minimum and default values for each variable respectively. 02508 02509 //[REMARKS] 02510 02511 //[PLATFORMS] 02512 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02513 02514 //[SEE_ALSO] 02515 //FMOD_Channel_SetReverbProperties 02516 //FMOD_Channel_GetReverbProperties 02517 //FMOD_REVERB_CHANNELFLAGS 02518 //] 02519 // 02520 public struct FMOD_REVERB_CHANNELPROPERTIES 02521 { 02522 // MIN MAX DEFAULT DESCRIPTION ' 02523 // [in/out] -10000, 1000, 0, direct path level (at low and mid frequencies) (win32/xbox) ' 02524 public int Direct; 02525 // [in/out] -10000, 0, 0, relative direct path level at high frequencies (win32/xbox) ' 02526 public int DirectHF; 02527 // [in/out] -10000, 1000, 0, room effect level (at low and mid frequencies) (win32/xbox) ' 02528 public int Room; 02529 // [in/out] -10000, 0, 0, relative room effect level at high frequencies (win32/xbox) ' 02530 public int RoomHF; 02531 // [in/out] -10000, 0, 0, main obstruction control (attenuation at high frequencies) (win32/xbox) ' 02532 public int Obstruction; 02533 // [in/out] 0.0, 1.0, 0.0, obstruction low-frequency level re. main control (win32/xbox) ' 02534 public float ObstructionLFRatio; 02535 // [in/out] -10000, 0, 0, main occlusion control (attenuation at high frequencies) (win32/xbox) ' 02536 public int Occlusion; 02537 // [in/out] 0.0, 1.0, 0.25, occlusion low-frequency level re. main control (win32/xbox) ' 02538 public float OcclusionLFRatio; 02539 // [in/out] 0.0, 10.0, 1.5, relative occlusion control for room effect (win32) ' 02540 public float OcclusionRoomRatio; 02541 // [in/out] 0.0, 10.0, 1.0, relative occlusion control for direct path (win32) ' 02542 public float OcclusionDirectRatio; 02543 // [in/out] -10000, 0, 0, main exlusion control (attenuation at high frequencies) (win32) ' 02544 public int Exclusion; 02545 // [in/out] 0.0, 1.0, 1.0, exclusion low-frequency level re. main control (win32) ' 02546 public float ExclusionLFRatio; 02547 // [in/out] -10000, 0, 0, outside sound cone level at high frequencies (win32) ' 02548 public int OutsideVolumeHF; 02549 // [in/out] 0.0, 10.0, 0.0, like DS3D flDopplerFactor but per source (win32) ' 02550 public float DopplerFactor; 02551 // [in/out] 0.0, 10.0, 0.0, like DS3D flRolloffFactor but per source (win32) ' 02552 public float RolloffFactor; 02553 // [in/out] 0.0, 10.0, 0.0, like DS3D flRolloffFactor but for room effect (win32/xbox) ' 02554 public float RoomRolloffFactor; 02555 // [in/out] 0.0, 10.0, 1.0, multiplies AirAbsorptionHF member of FMOD_REVERB_PROPERTIES (win32) ' 02556 public float AirAbsorptionFactor; 02557 // [in/out] FMOD_REVERB_CHANNELFLAGS - modifies the behavior of properties (win32) ' 02558 public int Flags; 02559 } 02560 02561 02562 // 02563 //[Structure] 02564 //[ 02565 //[Description] 02566 //Strcture to define the parameters for a DSP unit. 02567 02568 //[REMARKS] 02569 //Members marked with '[in] mean the user sets the value before passing it to the function.<br> 02570 //Members marked with '[out] mean FMOD sets the value to be used after the function exits.<br> 02571 //<br> 02572 //There are 2 different ways to change a parameter in this architecture.<br> 02573 //One is to use DSP::setParameter / DSP::getParameter. This is platform independant and is dynamic, so new unknown plugins can have their parameters enumerated and used.<br> 02574 //The other is to use DSP::showConfigDialog. This is platform specific and requires a GUI, and will display a dialog box to configure the plugin.<br> 02575 02576 //[PLATFORMS] 02577 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02578 02579 //[SEE_ALSO] 02580 //FMOD_DSP_CATEGORY 02581 //FMOD_System_CreateDSP 02582 //FMOD_System_GetDSP 02583 //] 02584 // 02585 public struct FMOD_DSP_DESCRIPTION 02586 { 02587 // [in] Name of the unit to be displayed in the network. 02588 public string name; 02589 // [in] Plugin writer's version number. 02590 public int version; 02591 // [in] Number of channels. Use 0 to process whatever number of channels is currently in the network. >0 would be mostly used if the unit is a fixed format generator and not a filter. 02592 public int Channels; 02593 // [in] Create callback. This is called when DSP unit is created. Can be null. 02594 public int create; 02595 // [in] Release callback. This is called just before the unit is freed so the user can do any cleanup needed for the unit. Can be null. 02596 public int release; 02597 //UPGRADE_NOTE: reset was upgraded to reset_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 02598 // [in] Reset callback. This is called by the user to reset any history buffers that may need resetting for a filter, when it is to be used or re-used for the first time to its initial clean state. Use to avoid clicks or artifacts. 02599 public int reset_Renamed; 02600 // [in] Read callback. Processing is done here. Can be null. 02601 public int Read; 02602 // [in] Setposition callback. This is called if the unit becomes virtualized and needs to simply update positions etc. Can be null. 02603 public int setpos; 02604 // [in] Number of parameters used in this filter. The user finds this with DSP::getNumParameters ' 02605 public int numparameters; 02606 // [in] Variable number of parameter structures. 02607 public int paramdesc; 02608 // [in] This is called when the user calls DSP::setParameter. Can be null. 02609 public int setparameter; 02610 // [in] This is called when the user calls DSP::getParameter. Can be null. 02611 public int getparameter; 02612 // [in] This is called when the user calls DSP::showConfigDialog. Can be used to display a dialog to configure the filter. Can be null. 02613 public int config; 02614 // [in] Width of config dialog graphic if there is one. 0 otherwise. 02615 public int Configwidth; 02616 // [in] Height of config dialog graphic if there is one. 0 otherwise. 02617 public int Configheight; 02618 // [in] Optional. Specify 0 to ignore. This is user data to be attached to the DSP unit during creation. Access via DSP::getUserData. 02619 public int userdata; 02620 } 02621 02622 02623 // 02624 //[define] 02625 //[ 02626 //[NAME] 02627 //FMOD_REVERB_CHANNELFLAGS 02628 02629 //[Description] 02630 //Values for the Flags member of the FMOD_REVERB_CHANNELPROPERTIES structure. 02631 02632 //[REMARKS] 02633 //For EAX4 support with multiple reverb environments, set FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT0, 02634 //FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT1 or/and FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT2 in the flags member 02635 //of FMOD_REVERB_CHANNELPROPERTIES to specify which environment instance(s) to target. <br> 02636 //Only up to 2 environments to target can be specified at once. Specifying three will result in an error. 02637 //If the sound card does not support EAX4, the environment flag is ignored. 02638 02639 //[PLATFORMS] 02640 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02641 02642 //[SEE_ALSO] 02643 //FMOD_REVERB_CHANNELPROPERTIES 02644 //] 02645 // 02646 // Automatic setting of 'Direct' due to distance from listener ' 02647 public const int FMOD_REVERB_CHANNELFLAGS_DIRECTHFAUTO = 0x1; 02648 // Automatic setting of 'Room' due to distance from listener ' 02649 public const int FMOD_REVERB_CHANNELFLAGS_ROOMAUTO = 0x2; 02650 // Automatic setting of 'RoomHF' due to distance from listener ' 02651 public const int FMOD_REVERB_CHANNELFLAGS_ROOMHFAUTO = 0x4; 02652 // EAX4 only. Specify channel to target reverb instance 0. 02653 public const int FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT0 = 0x8; 02654 // EAX4 only. Specify channel to target reverb instance 1. 02655 public const int FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT1 = 0x10; 02656 // EAX4 only. Specify channel to target reverb instance 2. 02657 public const int FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT2 = 0x20; 02658 // EAX5 only. Specify channel to target reverb instance 3. 02659 public const int FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT3 = 0x40; 02660 02661 public const int FMOD_REVERB_CHANNELFLAGS_DEFAULT = (FMOD_REVERB_CHANNELFLAGS_DIRECTHFAUTO | FMOD_REVERB_CHANNELFLAGS_ROOMAUTO | FMOD_REVERB_CHANNELFLAGS_ROOMHFAUTO | FMOD_REVERB_CHANNELFLAGS_ENVIRONMENT0); 02662 // [DEFINE_END] ' 02663 02664 02665 // 02666 //[STRUCTURE] 02667 //[ 02668 //[DESCRIPTION] 02669 //Settings for advanced features like configuring memory and cpu usage for the FMOD_CREATECOMPRESSEDSAMPLE feature. 02670 02671 //[REMARKS] 02672 //maxMPEGcodecs / maxADPCMcodecs / maxXMAcodecs will determine the maximum cpu usage of playing realtime samples. Use this to lower potential excess cpu usage and also control memory usage.<br> 02673 02674 //[PLATFORMS] 02675 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3 02676 02677 //[SEE_ALSO] 02678 //System::setAdvancedSettings 02679 //System::getAdvancedSettings 02680 //] 02681 // 02682 public struct FMOD_ADVANCEDSETTINGS 02683 { 02684 // Size of structure. Use sizeof(FMOD_ADVANCEDSETTINGS) 02685 public int cbsize; 02686 // For use with FMOD_CREATECOMPRESSEDSAMPLE only. Mpeg codecs consume 48,696 per instance and this number will determine how many mpeg channels can be played simultaneously. Default = 16. 02687 public int maxMPEGcodecs; 02688 // For use with FMOD_CREATECOMPRESSEDSAMPLE only. ADPCM codecs consume 1k per instance and this number will determine how many ADPCM channels can be played simultaneously. Default = 32. 02689 public int maxADPCMcodecs; 02690 // For use with FMOD_CREATECOMPRESSEDSAMPLE only. XMA codecs consume 8k per instance and this number will determine how many XMA channels can be played simultaneously. Default = 32. 02691 public int maxXMAcodecs; 02692 // For use with PS3 only. PCM codecs consume 12,672 bytes per instance and this number will determine how many streams and PCM voices can be played simultaneously. Default = 16 */ 02693 public int maxPCMcodecs; 02694 // [in/out] 02695 public int ASIONumChannels; 02696 // [in/out] 02697 public int ASIOChannelList; 02698 // [in/out] Optional. Specify 0 to ignore. Pointer to a list of speakers that the ASIO channels map to. This can be called after System::init to remap ASIO output. */ 02699 public int ASIOSpeakerList; 02700 // [in/out] The max number of 3d reverb DSP's in the system. 02701 public int max3DReverbDSPs; 02702 // [in/out] For use with FMOD_INIT_SOFTWARE_HRTF. The angle (0-360) of a 3D sound from the listener's forward vector at which the HRTF function begins to have an effect. Default = 180.0. */ 02703 public float HRTFMinAngle; 02704 // [in/out] For use with FMOD_INIT_SOFTWARE_HRTF. The angle (0-360) of a 3D sound from the listener's forward vector at which the HRTF function begins to have maximum effect. Default = 360.0. */ 02705 public float HRTFMaxAngle; 02706 // [in/out] For use with FMOD_INIT_SOFTWARE_HRTF. The cutoff frequency of the HRTF's lowpass filter function when at maximum effect. (i.e. at HRTFMaxAngle). Default = 4000.0. */ 02707 public float HRTFFreq; 02708 // [in/out] For use with FMOD_INIT_VOL0_BECOMES_VIRTUAL. If this flag is used, and the volume is 0.0, then the sound will become virtual. Use this value to raise the threshold to a different point where a sound goes virtual. */ 02709 public float vol0virtualvol; 02710 // [in/out] Optional. Specify 0 to ignore. For use with FMOD Event system only. Specifies the number of slots available for simultaneous non blocking loads. Default = 32. */ 02711 public int eventqueuesize; 02712 // [in/out] Optional. Specify 0 to ignore. For streams. This determines the default size of the double buffer (in milliseconds) that a stream uses. Default = 400ms */ 02713 public int defaultDecodeBufferSize; 02714 } 02715 02716 02717 // 02718 //[ENUM] 02719 //[ 02720 //[NAME] 02721 //FMOD_MISC_VALUES 02722 02723 //[Description] 02724 //Miscellaneous values for FMOD functions. 02725 02726 //[PLATFORMS] 02727 //Win32, Win64, Linux, Linux64, Macintosh, Xbox, Xbox360, PlayStation 2, GameCube, PlayStation Portable, PlayStation 3, Wii 02728 02729 //[SEE_ALSO] 02730 //FMOD_System_Playsound 02731 //FMOD_System_PlayDSP 02732 //FMOD_System_GetChannel 02733 //] 02734 // 02735 public enum FMOD_CHANNELINDEX 02736 { 02737 FMOD_CHANNEL_FREE = -1, 02738 // For a channel index, FMOD chooses a free voice using the priority system. 02739 FMOD_CHANNEL_REUSE = -2 02740 // For a channel index, re-use the channel handle that was passed in. 02741 } 02742 02743 // [DEFINE_END] ' 02744 02745 // 02746 //FMOD Callbacks 02747 // 02748 //typedef FMOD_RESULT (F_CALLBACK *FMOD_CHANNEL_CALLBACK) (FMOD_CHANNEL *channel, FMOD_CHANNEL_CALLBACKTYPE type, int command, unsigned int commanddata1, unsigned int commanddata2); 02749 02750 //typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_OPENCALLBACK) (const char *name, int unicode, unsigned int *filesize, void **handle, void **userdata); 02751 //typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_CLOSECALLBACK) (void *handle, void *userdata); 02752 //typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_READCALLBACK) (void *handle, void *buffer, unsigned int sizebytes, unsigned int *bytesread, void *userdata); 02753 //typedef FMOD_RESULT (F_CALLBACK *FMOD_FILE_SEEKCALLBACK) (void *handle, int pos, void *userdata); 02754 02755 //typedef void * (F_CALLBACK *FMOD_MEMORY_ALLOCCALLBACK) (unsigned int size, FMOD_MEMORY_TYPE type); 02756 //typedef void * (F_CALLBACK *FMOD_MEMORY_REALLOCCALLBACK)(void *ptr, unsigned int size, FMOD_MEMORY_TYPE type); 02757 //typedef void (F_CALLBACK *FMOD_MEMORY_FREECALLBACK) (void *ptr, FMOD_MEMORY_TYPE type); 02758 02759 02760 // ========================================================================================== ' 02761 // FUNCTION PROTOTYPES ' 02762 // ========================================================================================== ' 02763 02764 // 02765 //FMOD System memory functions (optional). 02766 // 02767 02768 02769 02770 // 02771 //FMOD System factory functions. Use this to create an FMOD System Instance. below you will see FMOD_System_Init/Close to get started. 02772 // 02773 02774 02775 02776 // 02777 //System' API 02778 // 02779 02780 // 02781 //Pre-init functions. 02782 // 02783 02784 02785 // 02786 //Plug-in support 02787 // 02788 02789 02790 // 02791 //Init/Close 02792 // 02793 02794 02795 // 02796 //General post-init system functions 02797 // 02798 02799 02800 02801 02802 // 02803 //System information functions. 02804 // 02805 02806 02807 // 02808 //Sound/DSP/Channel/FX creation and retrieval. 02809 // 02810 02811 // ** FMOD_System_CreateSound and FMOD_System_CreateStream are wrapper functions that have been 02812 // ** defined at the bottom of this bas file. 02813 02814 //Public Declare Function FMOD_System_CreateSound (ByVal system As Long, ByVal name_or_data As String, ByVal mode As FMOD_MODE, ByRef sound As Long) As FMOD_RESULT 02815 //Public Declare Function FMOD_System_CreateStream (ByVal system As Long, ByVal name_or_data As String, ByVal mode As FMOD_MODE, ByRef sound As Long) As FMOD_RESULT 02816 02817 02818 // 02819 //Reverb API 02820 // 02821 02822 02823 02824 // 02825 //System level DSP access. 02826 // 02827 02828 02829 // 02830 //Recording API 02831 // 02832 02833 02834 02835 // 02836 //Geometry API 02837 // 02838 02839 02840 // 02841 //Network functions 02842 // 02843 02844 02845 // 02846 //Userdata set/get 02847 // 02848 02849 02850 // 02851 //Sound' API 02852 // 02853 02854 02855 // 02856 //Standard sound manipulation functions. 02857 // 02858 02859 02860 02861 // 02862 //Synchronization point API. These points can come from markers embedded in wav files, and can also generate channel callbacks. 02863 // 02864 02865 02866 // 02867 //Functions also in Channel class but here they are the 'default' to save having to change it in Channel all the time. 02868 // 02869 02870 02871 // 02872 //For MOD/S3M/XM/IT/MID sequenced formats only. 02873 // 02874 02875 // 02876 //Userdata set/get. 02877 // 02878 02879 02880 // 02881 //Channel' API 02882 // 02883 02884 02885 02886 // 02887 //3D functionality. 02888 // 02889 02890 02891 // 02892 //DSP functionality only for channels playing sounds created with FMOD_SOFTWARE. 02893 // 02894 02895 02896 // 02897 //Information only functions. 02898 // 02899 02900 02901 // 02902 //Functions also found in Sound class but here they can be set per channel. 02903 // 02904 02905 02906 // 02907 //Userdata set/get. 02908 // 02909 02910 02911 // 02912 //ChannelGroup' API 02913 // 02914 02915 02916 // 02917 //Channelgroup scale values. (scales the current volume or pitch of all channels and channel groups, DOESN'T overwrite) 02918 // 02919 02920 02921 // 02922 //Channelgroup override values. (recursively overwrites whatever settings the channels had) 02923 // 02924 02925 02926 // 02927 //Nested channel groups. 02928 // 02929 02930 // 02931 //DSP functionality only for channel groups playing sounds created with FMOD_SOFTWARE. 02932 // 02933 02934 02935 // 02936 //Information only functions. 02937 // 02938 02939 02940 // 02941 //Userdata set/get. 02942 // 02943 02944 02945 // 02946 //SoundGroup' API 02947 // 02948 02949 02950 // 02951 //SoundGroup control functions. 02952 // 02953 02954 02955 // 02956 //Information only functions. 02957 // 02958 02959 02960 // 02961 //Userdata set/get. 02962 // 02963 02964 02965 02966 // 02967 //DSP' API 02968 // 02969 02970 02971 // 02972 //DSP Connection API. 02973 // 02974 02975 02976 02977 // 02978 //Geometry' API 02979 // 02980 02981 02982 // 02983 //Reverb' API 02984 // 02985 02986 02987 // 02988 //Reverb manipulation. 02989 // 02990 02991 02992 // 02993 //Userdata set/get. 02994 // 02995 02996 02997 // ========================================================================================== ' 02998 // EXTRA VB HELPER FUNCTIONS 02999 // ========================================================================================== ' 03000 03001 // 03002 // Windows Declarations 03003 // 03004 03005 //Required for GetStringFromPointer 03006 03007 //Required for the getSpectrum/getWaveData functions 03008 03009 // 03010 // Helper Functions 03011 // 03012 03013 //Example: MyDriverName = GetStringFromPointer(namepointer) 03014 public static string GetStringFromPointer(int lpString) 03015 { 03016 int NullCharPos = 0; 03017 string szBuffer = null; 03018 03019 szBuffer = new string(Strings.Chr(0), 255); 03020 ConvCStringToVBString(szBuffer, lpString); 03021 // Look for the null char ending the C string 03022 NullCharPos = Strings.InStr(szBuffer, Constants.vbNullChar); 03023 return Strings.Left(szBuffer, NullCharPos - 1); 03024 } 03025 03026 public static float GetSingleFromPointer(int lpSingle) 03027 { 03028 //A Single is 4 bytes, so we copy 4 bytes 03029 CopyMemory(ref GetSingleFromPointer(), ref lpSingle, 4); 03030 } 03031 03032 03033 // WRAPPED FMODEX CREATESOUND FUNCTIONS 03034 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 03035 public static FMOD_RESULT FMOD_System_CreateSound(int system_Renamed, string Name_or_data, FMOD_MODE Mode, ref int Sound) 03036 { 03037 FMOD_CREATESOUNDEXINFO exinfo = new FMOD_CREATESOUNDEXINFO(); 03038 FMOD_RESULT result = default(FMOD_RESULT); 03039 03040 //UPGRADE_ISSUE: LenB function is not supported. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="367764E5-F3F8-4E43-AC3E-7FE0B5E074E2"' 03041 exinfo.cbsize = Strings.Len(exinfo); 03042 03043 result = FMOD_System_CreateSoundEx(system_Renamed, Name_or_data, Mode, ref exinfo, ref Sound); 03044 03045 return result; 03046 } 03047 03048 //UPGRADE_NOTE: system was upgraded to system_Renamed. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="A9E4979A-37FA-4718-9994-97DD76ED70A7"' 03049 public static FMOD_RESULT FMOD_System_CreateStream(int system_Renamed, string Name_or_data, FMOD_MODE Mode, ref int Sound) 03050 { 03051 FMOD_CREATESOUNDEXINFO exinfo = new FMOD_CREATESOUNDEXINFO(); 03052 FMOD_RESULT result = default(FMOD_RESULT); 03053 03054 //UPGRADE_ISSUE: LenB function is not supported. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="367764E5-F3F8-4E43-AC3E-7FE0B5E074E2"' 03055 exinfo.cbsize = Strings.Len(exinfo); 03056 03057 result = FMOD_System_CreateStreamEx(system_Renamed, Name_or_data, Mode, ref exinfo, ref Sound); 03058 03059 return result; 03060 } 03061 03062 } 03063 }