C# Class FMOD.System

Inheritance: HandleBase
Exibir arquivo Open project: punker76/simple-music-player Class Usage Examples

Public Methods

Method Description
System ( IntPtr raw ) : System
attachChannelGroupToPort ( uint portType, ulong portIndex, ChannelGroup channelgroup, bool passThru = false ) : RESULT
attachFileSystem ( FILE_OPENCALLBACK useropen, FILE_CLOSECALLBACK userclose, FILE_READCALLBACK userread, FILE_SEEKCALLBACK userseek ) : RESULT
close ( ) : RESULT
createChannelGroup ( string name, ChannelGroup &channelgroup ) : RESULT
createDSP ( DSP_DESCRIPTION &description, DSP &dsp ) : RESULT
createDSPByPlugin ( uint handle, DSP &dsp ) : RESULT
createDSPByType ( DSP_TYPE type, DSP &dsp ) : RESULT
createGeometry ( int maxpolygons, int maxvertices, Geometry &geometry ) : RESULT
createReverb3D ( Reverb3D &reverb ) : RESULT
createSound ( byte data, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
createSound ( string name, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
createSound ( string name, MODE mode, Sound &sound ) : RESULT
createSoundGroup ( string name, SoundGroup &soundgroup ) : RESULT
createStream ( byte data, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
createStream ( string name, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
createStream ( string name, MODE mode, Sound &sound ) : RESULT
detachChannelGroupFromPort ( ChannelGroup channelgroup ) : RESULT
get3DListenerAttributes ( int listener, VECTOR &pos, VECTOR &vel, VECTOR &forward, VECTOR &up ) : RESULT
get3DNumListeners ( int &numlisteners ) : RESULT
get3DSettings ( float &dopplerscale, float &distancefactor, float &rolloffscale ) : RESULT
getAdvancedSettings ( ADVANCEDSETTINGS &settings ) : RESULT
getCPUUsage ( float &dsp, float &stream, float &geometry, float &update, float &total ) : RESULT
getChannel ( int channelid, Channel &channel ) : RESULT
getChannelsPlaying ( int &channels, int &realchannels ) : RESULT
getDSPBufferSize ( uint &bufferlength, int &numbuffers ) : RESULT
getDSPInfoByPlugin ( uint handle, IntPtr &description ) : RESULT
getDefaultMixMatrix ( SPEAKERMODE sourcespeakermode, SPEAKERMODE targetspeakermode, float matrix, int matrixhop ) : RESULT
getDriver ( int &driver ) : RESULT
getDriverInfo ( int id, StringBuilder name, int namelen, Guid &guid, int &systemrate, SPEAKERMODE &speakermode, int &speakermodechannels ) : RESULT
getFileUsage ( Int64 &sampleBytesRead, Int64 &streamBytesRead, Int64 &otherBytesRead ) : RESULT
getGeometryOcclusion ( VECTOR &listener, VECTOR &source, float &direct, float &reverb ) : RESULT
getGeometrySettings ( float &maxworldsize ) : RESULT
getMasterChannelGroup ( ChannelGroup &channelgroup ) : RESULT
getMasterSoundGroup ( SoundGroup &soundgroup ) : RESULT
getNestedPlugin ( uint handle, int index, uint &nestedhandle ) : RESULT
getNetworkProxy ( StringBuilder proxy, int proxylen ) : RESULT
getNetworkTimeout ( int &timeout ) : RESULT
getNumDrivers ( int &numdrivers ) : RESULT
getNumNestedPlugins ( uint handle, int &count ) : RESULT
getNumPlugins ( PLUGINTYPE plugintype, int &numplugins ) : RESULT
getOutput ( OUTPUTTYPE &output ) : RESULT
getOutputByPlugin ( uint &handle ) : RESULT
getOutputHandle ( IntPtr &handle ) : RESULT
getPluginHandle ( PLUGINTYPE plugintype, int index, uint &handle ) : RESULT
getPluginInfo ( uint handle, PLUGINTYPE &plugintype, StringBuilder name, int namelen, uint &version ) : RESULT
getRecordDriverInfo ( int id, StringBuilder name, int namelen, Guid &guid, int &systemrate, SPEAKERMODE &speakermode, int &speakermodechannels, DRIVER_STATE &state ) : RESULT
getRecordNumDrivers ( int &numdrivers, int &numconnected ) : RESULT
getRecordPosition ( int id, uint &position ) : RESULT
getReverbProperties ( int instance, REVERB_PROPERTIES &prop ) : RESULT
getSoftwareChannels ( int &numsoftwarechannels ) : RESULT
getSoftwareFormat ( int &samplerate, SPEAKERMODE &speakermode, int &numrawspeakers ) : RESULT
getSoundRAM ( int &currentalloced, int &maxalloced, int &total ) : RESULT
getSpeakerModeChannels ( SPEAKERMODE mode, int &channels ) : RESULT
getSpeakerPosition ( SPEAKER speaker, float &x, float &y, bool &active ) : RESULT
getStreamBufferSize ( uint &filebuffersize, TIMEUNIT &filebuffersizetype ) : RESULT
getUserData ( IntPtr &userdata ) : RESULT
getVersion ( uint &version ) : RESULT
init ( int maxchannels, INITFLAGS flags, IntPtr extradriverdata ) : RESULT
isRecording ( int id, bool &recording ) : RESULT
loadGeometry ( IntPtr data, int datasize, Geometry &geometry ) : RESULT
loadPlugin ( string filename, uint &handle ) : RESULT
loadPlugin ( string filename, uint &handle, uint priority ) : RESULT
lockDSP ( ) : RESULT
mixerResume ( ) : RESULT
mixerSuspend ( ) : RESULT
playDSP ( DSP dsp, ChannelGroup channelGroup, bool paused, Channel &channel ) : RESULT
playSound ( Sound sound, ChannelGroup channelGroup, bool paused, Channel &channel ) : RESULT
recordStart ( int id, Sound sound, bool loop ) : RESULT
recordStop ( int id ) : RESULT
registerDSP ( DSP_DESCRIPTION &description, uint &handle ) : RESULT
release ( ) : RESULT
set3DListenerAttributes ( int listener, VECTOR &pos, VECTOR &vel, VECTOR &forward, VECTOR &up ) : RESULT
set3DNumListeners ( int numlisteners ) : RESULT
set3DRolloffCallback ( CB_3D_ROLLOFFCALLBACK callback ) : RESULT
set3DSettings ( float dopplerscale, float distancefactor, float rolloffscale ) : RESULT
setAdvancedSettings ( ADVANCEDSETTINGS &settings ) : RESULT
setCallback ( SYSTEM_CALLBACK callback, SYSTEM_CALLBACK_TYPE callbackmask ) : RESULT
setDSPBufferSize ( uint bufferlength, int numbuffers ) : RESULT
setDriver ( int driver ) : RESULT
setFileSystem ( FILE_OPENCALLBACK useropen, FILE_CLOSECALLBACK userclose, FILE_READCALLBACK userread, FILE_SEEKCALLBACK userseek, FILE_ASYNCREADCALLBACK userasyncread, FILE_ASYNCCANCELCALLBACK userasynccancel, int blockalign ) : RESULT
setGeometrySettings ( float maxworldsize ) : RESULT
setNetworkProxy ( string proxy ) : RESULT
setNetworkTimeout ( int timeout ) : RESULT
setOutput ( OUTPUTTYPE output ) : RESULT
setOutputByPlugin ( uint handle ) : RESULT
setPluginPath ( string path ) : RESULT
setReverbProperties ( int instance, REVERB_PROPERTIES &prop ) : RESULT
setSoftwareChannels ( int numsoftwarechannels ) : RESULT
setSoftwareFormat ( int samplerate, SPEAKERMODE speakermode, int numrawspeakers ) : RESULT
setSpeakerPosition ( SPEAKER speaker, float x, float y, bool active ) : RESULT
setStreamBufferSize ( uint filebuffersize, TIMEUNIT filebuffersizetype ) : RESULT
setUserData ( IntPtr userdata ) : RESULT
unloadPlugin ( uint handle ) : RESULT
unlockDSP ( ) : RESULT
update ( ) : RESULT

Private Methods

Method Description
FMOD_System_AttachChannelGroupToPort ( IntPtr system, uint portType, ulong portIndex, IntPtr channelgroup, bool passThru ) : RESULT
FMOD_System_AttachFileSystem ( IntPtr system, FILE_OPENCALLBACK useropen, FILE_CLOSECALLBACK userclose, FILE_READCALLBACK userread, FILE_SEEKCALLBACK userseek ) : RESULT
FMOD_System_Close ( IntPtr system ) : RESULT
FMOD_System_CreateChannelGroup ( IntPtr system, byte name, IntPtr &channelgroup ) : RESULT
FMOD_System_CreateDSP ( IntPtr system, DSP_DESCRIPTION &description, IntPtr &dsp ) : RESULT
FMOD_System_CreateDSPByPlugin ( IntPtr system, uint handle, IntPtr &dsp ) : RESULT
FMOD_System_CreateDSPByType ( IntPtr system, DSP_TYPE type, IntPtr &dsp ) : RESULT
FMOD_System_CreateGeometry ( IntPtr system, int maxpolygons, int maxvertices, IntPtr &geometry ) : RESULT
FMOD_System_CreateReverb3D ( IntPtr system, IntPtr &reverb ) : RESULT
FMOD_System_CreateSound ( IntPtr system, byte name_or_data, MODE mode, CREATESOUNDEXINFO &exinfo, IntPtr &sound ) : RESULT
FMOD_System_CreateSoundGroup ( IntPtr system, byte name, IntPtr &soundgroup ) : RESULT
FMOD_System_CreateStream ( IntPtr system, byte name_or_data, MODE mode, CREATESOUNDEXINFO &exinfo, IntPtr &sound ) : RESULT
FMOD_System_DetachChannelGroupFromPort ( IntPtr system, IntPtr channelgroup ) : RESULT
FMOD_System_Get3DListenerAttributes ( IntPtr system, int listener, VECTOR &pos, VECTOR &vel, VECTOR &forward, VECTOR &up ) : RESULT
FMOD_System_Get3DNumListeners ( IntPtr system, int &numlisteners ) : RESULT
FMOD_System_Get3DSettings ( IntPtr system, float &dopplerscale, float &distancefactor, float &rolloffscale ) : RESULT
FMOD_System_GetAdvancedSettings ( IntPtr system, ADVANCEDSETTINGS &settings ) : RESULT
FMOD_System_GetCPUUsage ( IntPtr system, float &dsp, float &stream, float &geometry, float &update, float &total ) : RESULT
FMOD_System_GetChannel ( IntPtr system, int channelid, IntPtr &channel ) : RESULT
FMOD_System_GetChannelsPlaying ( IntPtr system, int &channels, int &realchannels ) : RESULT
FMOD_System_GetDSPBufferSize ( IntPtr system, uint &bufferlength, int &numbuffers ) : RESULT
FMOD_System_GetDSPInfoByPlugin ( IntPtr system, uint handle, IntPtr &description ) : RESULT
FMOD_System_GetDefaultMixMatrix ( IntPtr system, SPEAKERMODE sourcespeakermode, SPEAKERMODE targetspeakermode, float matrix, int matrixhop ) : RESULT
FMOD_System_GetDriver ( IntPtr system, int &driver ) : RESULT
FMOD_System_GetDriverInfo ( IntPtr system, int id, IntPtr name, int namelen, System.Guid &guid, int &systemrate, SPEAKERMODE &speakermode, int &speakermodechannels ) : RESULT
FMOD_System_GetFileUsage ( IntPtr system, System.Int64 &sampleBytesRead, System.Int64 &streamBytesRead, System.Int64 &otherBytesRead ) : RESULT
FMOD_System_GetGeometryOcclusion ( IntPtr system, VECTOR &listener, VECTOR &source, float &direct, float &reverb ) : RESULT
FMOD_System_GetGeometrySettings ( IntPtr system, float &maxworldsize ) : RESULT
FMOD_System_GetMasterChannelGroup ( IntPtr system, IntPtr &channelgroup ) : RESULT
FMOD_System_GetMasterSoundGroup ( IntPtr system, IntPtr &soundgroup ) : RESULT
FMOD_System_GetNestedPlugin ( IntPtr system, uint handle, int index, uint &nestedhandle ) : RESULT
FMOD_System_GetNetworkProxy ( IntPtr system, IntPtr proxy, int proxylen ) : RESULT
FMOD_System_GetNetworkTimeout ( IntPtr system, int &timeout ) : RESULT
FMOD_System_GetNumDrivers ( IntPtr system, int &numdrivers ) : RESULT
FMOD_System_GetNumNestedPlugins ( IntPtr system, uint handle, int &count ) : RESULT
FMOD_System_GetNumPlugins ( IntPtr system, PLUGINTYPE plugintype, int &numplugins ) : RESULT
FMOD_System_GetOutput ( IntPtr system, OUTPUTTYPE &output ) : RESULT
FMOD_System_GetOutputByPlugin ( IntPtr system, uint &handle ) : RESULT
FMOD_System_GetOutputHandle ( IntPtr system, IntPtr &handle ) : RESULT
FMOD_System_GetPluginHandle ( IntPtr system, PLUGINTYPE plugintype, int index, uint &handle ) : RESULT
FMOD_System_GetPluginInfo ( IntPtr system, uint handle, PLUGINTYPE &plugintype, IntPtr name, int namelen, uint &version ) : RESULT
FMOD_System_GetRecordDriverInfo ( IntPtr system, int id, IntPtr name, int namelen, System.Guid &guid, int &systemrate, SPEAKERMODE &speakermode, int &speakermodechannels, DRIVER_STATE &state ) : RESULT
FMOD_System_GetRecordNumDrivers ( IntPtr system, int &numdrivers, int &numconnected ) : RESULT
FMOD_System_GetRecordPosition ( IntPtr system, int id, uint &position ) : RESULT
FMOD_System_GetReverbProperties ( IntPtr system, int instance, REVERB_PROPERTIES &prop ) : RESULT
FMOD_System_GetSoftwareChannels ( IntPtr system, int &numsoftwarechannels ) : RESULT
FMOD_System_GetSoftwareFormat ( IntPtr system, int &samplerate, SPEAKERMODE &speakermode, int &numrawspeakers ) : RESULT
FMOD_System_GetSoundRAM ( IntPtr system, int &currentalloced, int &maxalloced, int &total ) : RESULT
FMOD_System_GetSpeakerModeChannels ( IntPtr system, SPEAKERMODE mode, int &channels ) : RESULT
FMOD_System_GetSpeakerPosition ( IntPtr system, SPEAKER speaker, float &x, float &y, bool &active ) : RESULT
FMOD_System_GetStreamBufferSize ( IntPtr system, uint &filebuffersize, TIMEUNIT &filebuffersizetype ) : RESULT
FMOD_System_GetUserData ( IntPtr system, IntPtr &userdata ) : RESULT
FMOD_System_GetVersion ( IntPtr system, uint &version ) : RESULT
FMOD_System_Init ( IntPtr system, int maxchannels, INITFLAGS flags, IntPtr extradriverdata ) : RESULT
FMOD_System_IsRecording ( IntPtr system, int id, bool &recording ) : RESULT
FMOD_System_LoadGeometry ( IntPtr system, IntPtr data, int datasize, IntPtr &geometry ) : RESULT
FMOD_System_LoadPlugin ( IntPtr system, byte filename, uint &handle, uint priority ) : RESULT
FMOD_System_LockDSP ( IntPtr system ) : RESULT
FMOD_System_MixerResume ( IntPtr system ) : RESULT
FMOD_System_MixerSuspend ( IntPtr system ) : RESULT
FMOD_System_PlayDSP ( IntPtr system, IntPtr dsp, IntPtr channelGroup, bool paused, IntPtr &channel ) : RESULT
FMOD_System_PlaySound ( IntPtr system, IntPtr sound, IntPtr channelGroup, bool paused, IntPtr &channel ) : RESULT
FMOD_System_RecordStart ( IntPtr system, int id, IntPtr sound, bool loop ) : RESULT
FMOD_System_RecordStop ( IntPtr system, int id ) : RESULT
FMOD_System_RegisterDSP ( IntPtr system, DSP_DESCRIPTION &description, uint &handle ) : RESULT
FMOD_System_Release ( IntPtr system ) : RESULT
FMOD_System_Set3DListenerAttributes ( IntPtr system, int listener, VECTOR &pos, VECTOR &vel, VECTOR &forward, VECTOR &up ) : RESULT
FMOD_System_Set3DNumListeners ( IntPtr system, int numlisteners ) : RESULT
FMOD_System_Set3DRolloffCallback ( IntPtr system, CB_3D_ROLLOFFCALLBACK callback ) : RESULT
FMOD_System_Set3DSettings ( IntPtr system, float dopplerscale, float distancefactor, float rolloffscale ) : RESULT
FMOD_System_SetAdvancedSettings ( IntPtr system, ADVANCEDSETTINGS &settings ) : RESULT
FMOD_System_SetCallback ( IntPtr system, SYSTEM_CALLBACK callback, SYSTEM_CALLBACK_TYPE callbackmask ) : RESULT
FMOD_System_SetDSPBufferSize ( IntPtr system, uint bufferlength, int numbuffers ) : RESULT
FMOD_System_SetDriver ( IntPtr system, int driver ) : RESULT
FMOD_System_SetFileSystem ( IntPtr system, FILE_OPENCALLBACK useropen, FILE_CLOSECALLBACK userclose, FILE_READCALLBACK userread, FILE_SEEKCALLBACK userseek, FILE_ASYNCREADCALLBACK userasyncread, FILE_ASYNCCANCELCALLBACK userasynccancel, int blockalign ) : RESULT
FMOD_System_SetGeometrySettings ( IntPtr system, float maxworldsize ) : RESULT
FMOD_System_SetNetworkProxy ( IntPtr system, byte proxy ) : RESULT
FMOD_System_SetNetworkTimeout ( IntPtr system, int timeout ) : RESULT
FMOD_System_SetOutput ( IntPtr system, OUTPUTTYPE output ) : RESULT
FMOD_System_SetOutputByPlugin ( IntPtr system, uint handle ) : RESULT
FMOD_System_SetPluginPath ( IntPtr system, byte path ) : RESULT
FMOD_System_SetReverbProperties ( IntPtr system, int instance, REVERB_PROPERTIES &prop ) : RESULT
FMOD_System_SetSoftwareChannels ( IntPtr system, int numsoftwarechannels ) : RESULT
FMOD_System_SetSoftwareFormat ( IntPtr system, int samplerate, SPEAKERMODE speakermode, int numrawspeakers ) : RESULT
FMOD_System_SetSpeakerPosition ( IntPtr system, SPEAKER speaker, float x, float y, bool active ) : RESULT
FMOD_System_SetStreamBufferSize ( IntPtr system, uint filebuffersize, TIMEUNIT filebuffersizetype ) : RESULT
FMOD_System_SetUserData ( IntPtr system, IntPtr userdata ) : RESULT
FMOD_System_UnloadPlugin ( IntPtr system, uint handle ) : RESULT
FMOD_System_UnlockDSP ( IntPtr system ) : RESULT
FMOD_System_Update ( IntPtr system ) : RESULT

Method Details

System() public method

public System ( IntPtr raw ) : System
raw IntPtr
return System

attachChannelGroupToPort() public method

public attachChannelGroupToPort ( uint portType, ulong portIndex, ChannelGroup channelgroup, bool passThru = false ) : RESULT
portType uint
portIndex ulong
channelgroup ChannelGroup
passThru bool
return RESULT

attachFileSystem() public method

public attachFileSystem ( FILE_OPENCALLBACK useropen, FILE_CLOSECALLBACK userclose, FILE_READCALLBACK userread, FILE_SEEKCALLBACK userseek ) : RESULT
useropen FILE_OPENCALLBACK
userclose FILE_CLOSECALLBACK
userread FILE_READCALLBACK
userseek FILE_SEEKCALLBACK
return RESULT

close() public method

public close ( ) : RESULT
return RESULT

createChannelGroup() public method

public createChannelGroup ( string name, ChannelGroup &channelgroup ) : RESULT
name string
channelgroup ChannelGroup
return RESULT

createDSP() public method

public createDSP ( DSP_DESCRIPTION &description, DSP &dsp ) : RESULT
description DSP_DESCRIPTION
dsp DSP
return RESULT

createDSPByPlugin() public method

public createDSPByPlugin ( uint handle, DSP &dsp ) : RESULT
handle uint
dsp DSP
return RESULT

createDSPByType() public method

public createDSPByType ( DSP_TYPE type, DSP &dsp ) : RESULT
type DSP_TYPE
dsp DSP
return RESULT

createGeometry() public method

public createGeometry ( int maxpolygons, int maxvertices, Geometry &geometry ) : RESULT
maxpolygons int
maxvertices int
geometry Geometry
return RESULT

createReverb3D() public method

public createReverb3D ( Reverb3D &reverb ) : RESULT
reverb Reverb3D
return RESULT

createSound() public method

public createSound ( byte data, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
data byte
mode MODE
exinfo CREATESOUNDEXINFO
sound Sound
return RESULT

createSound() public method

public createSound ( string name, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
name string
mode MODE
exinfo CREATESOUNDEXINFO
sound Sound
return RESULT

createSound() public method

public createSound ( string name, MODE mode, Sound &sound ) : RESULT
name string
mode MODE
sound Sound
return RESULT

createSoundGroup() public method

public createSoundGroup ( string name, SoundGroup &soundgroup ) : RESULT
name string
soundgroup SoundGroup
return RESULT

createStream() public method

public createStream ( byte data, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
data byte
mode MODE
exinfo CREATESOUNDEXINFO
sound Sound
return RESULT

createStream() public method

public createStream ( string name, MODE mode, CREATESOUNDEXINFO &exinfo, Sound &sound ) : RESULT
name string
mode MODE
exinfo CREATESOUNDEXINFO
sound Sound
return RESULT

createStream() public method

public createStream ( string name, MODE mode, Sound &sound ) : RESULT
name string
mode MODE
sound Sound
return RESULT

detachChannelGroupFromPort() public method

public detachChannelGroupFromPort ( ChannelGroup channelgroup ) : RESULT
channelgroup ChannelGroup
return RESULT

get3DListenerAttributes() public method

public get3DListenerAttributes ( int listener, VECTOR &pos, VECTOR &vel, VECTOR &forward, VECTOR &up ) : RESULT
listener int
pos VECTOR
vel VECTOR
forward VECTOR
up VECTOR
return RESULT

get3DNumListeners() public method

public get3DNumListeners ( int &numlisteners ) : RESULT
numlisteners int
return RESULT

get3DSettings() public method

public get3DSettings ( float &dopplerscale, float &distancefactor, float &rolloffscale ) : RESULT
dopplerscale float
distancefactor float
rolloffscale float
return RESULT

getAdvancedSettings() public method

public getAdvancedSettings ( ADVANCEDSETTINGS &settings ) : RESULT
settings ADVANCEDSETTINGS
return RESULT

getCPUUsage() public method

public getCPUUsage ( float &dsp, float &stream, float &geometry, float &update, float &total ) : RESULT
dsp float
stream float
geometry float
update float
total float
return RESULT

getChannel() public method

public getChannel ( int channelid, Channel &channel ) : RESULT
channelid int
channel Channel
return RESULT

getChannelsPlaying() public method

public getChannelsPlaying ( int &channels, int &realchannels ) : RESULT
channels int
realchannels int
return RESULT

getDSPBufferSize() public method

public getDSPBufferSize ( uint &bufferlength, int &numbuffers ) : RESULT
bufferlength uint
numbuffers int
return RESULT

getDSPInfoByPlugin() public method

public getDSPInfoByPlugin ( uint handle, IntPtr &description ) : RESULT
handle uint
description IntPtr
return RESULT

getDefaultMixMatrix() public method

public getDefaultMixMatrix ( SPEAKERMODE sourcespeakermode, SPEAKERMODE targetspeakermode, float matrix, int matrixhop ) : RESULT
sourcespeakermode SPEAKERMODE
targetspeakermode SPEAKERMODE
matrix float
matrixhop int
return RESULT

getDriver() public method

public getDriver ( int &driver ) : RESULT
driver int
return RESULT

getDriverInfo() public method

public getDriverInfo ( int id, StringBuilder name, int namelen, Guid &guid, int &systemrate, SPEAKERMODE &speakermode, int &speakermodechannels ) : RESULT
id int
name StringBuilder
namelen int
guid Guid
systemrate int
speakermode SPEAKERMODE
speakermodechannels int
return RESULT

getFileUsage() public method

public getFileUsage ( Int64 &sampleBytesRead, Int64 &streamBytesRead, Int64 &otherBytesRead ) : RESULT
sampleBytesRead Int64
streamBytesRead Int64
otherBytesRead Int64
return RESULT

getGeometryOcclusion() public method

public getGeometryOcclusion ( VECTOR &listener, VECTOR &source, float &direct, float &reverb ) : RESULT
listener VECTOR
source VECTOR
direct float
reverb float
return RESULT

getGeometrySettings() public method

public getGeometrySettings ( float &maxworldsize ) : RESULT
maxworldsize float
return RESULT

getMasterChannelGroup() public method

public getMasterChannelGroup ( ChannelGroup &channelgroup ) : RESULT
channelgroup ChannelGroup
return RESULT

getMasterSoundGroup() public method

public getMasterSoundGroup ( SoundGroup &soundgroup ) : RESULT
soundgroup SoundGroup
return RESULT

getNestedPlugin() public method

public getNestedPlugin ( uint handle, int index, uint &nestedhandle ) : RESULT
handle uint
index int
nestedhandle uint
return RESULT

getNetworkProxy() public method

public getNetworkProxy ( StringBuilder proxy, int proxylen ) : RESULT
proxy StringBuilder
proxylen int
return RESULT

getNetworkTimeout() public method

public getNetworkTimeout ( int &timeout ) : RESULT
timeout int
return RESULT

getNumDrivers() public method

public getNumDrivers ( int &numdrivers ) : RESULT
numdrivers int
return RESULT

getNumNestedPlugins() public method

public getNumNestedPlugins ( uint handle, int &count ) : RESULT
handle uint
count int
return RESULT

getNumPlugins() public method

public getNumPlugins ( PLUGINTYPE plugintype, int &numplugins ) : RESULT
plugintype PLUGINTYPE
numplugins int
return RESULT

getOutput() public method

public getOutput ( OUTPUTTYPE &output ) : RESULT
output OUTPUTTYPE
return RESULT

getOutputByPlugin() public method

public getOutputByPlugin ( uint &handle ) : RESULT
handle uint
return RESULT

getOutputHandle() public method

public getOutputHandle ( IntPtr &handle ) : RESULT
handle IntPtr
return RESULT

getPluginHandle() public method

public getPluginHandle ( PLUGINTYPE plugintype, int index, uint &handle ) : RESULT
plugintype PLUGINTYPE
index int
handle uint
return RESULT

getPluginInfo() public method

public getPluginInfo ( uint handle, PLUGINTYPE &plugintype, StringBuilder name, int namelen, uint &version ) : RESULT
handle uint
plugintype PLUGINTYPE
name StringBuilder
namelen int
version uint
return RESULT

getRecordDriverInfo() public method

public getRecordDriverInfo ( int id, StringBuilder name, int namelen, Guid &guid, int &systemrate, SPEAKERMODE &speakermode, int &speakermodechannels, DRIVER_STATE &state ) : RESULT
id int
name StringBuilder
namelen int
guid Guid
systemrate int
speakermode SPEAKERMODE
speakermodechannels int
state DRIVER_STATE
return RESULT

getRecordNumDrivers() public method

public getRecordNumDrivers ( int &numdrivers, int &numconnected ) : RESULT
numdrivers int
numconnected int
return RESULT

getRecordPosition() public method

public getRecordPosition ( int id, uint &position ) : RESULT
id int
position uint
return RESULT

getReverbProperties() public method

public getReverbProperties ( int instance, REVERB_PROPERTIES &prop ) : RESULT
instance int
prop REVERB_PROPERTIES
return RESULT

getSoftwareChannels() public method

public getSoftwareChannels ( int &numsoftwarechannels ) : RESULT
numsoftwarechannels int
return RESULT

getSoftwareFormat() public method

public getSoftwareFormat ( int &samplerate, SPEAKERMODE &speakermode, int &numrawspeakers ) : RESULT
samplerate int
speakermode SPEAKERMODE
numrawspeakers int
return RESULT

getSoundRAM() public method

public getSoundRAM ( int &currentalloced, int &maxalloced, int &total ) : RESULT
currentalloced int
maxalloced int
total int
return RESULT

getSpeakerModeChannels() public method

public getSpeakerModeChannels ( SPEAKERMODE mode, int &channels ) : RESULT
mode SPEAKERMODE
channels int
return RESULT

getSpeakerPosition() public method

public getSpeakerPosition ( SPEAKER speaker, float &x, float &y, bool &active ) : RESULT
speaker SPEAKER
x float
y float
active bool
return RESULT

getStreamBufferSize() public method

public getStreamBufferSize ( uint &filebuffersize, TIMEUNIT &filebuffersizetype ) : RESULT
filebuffersize uint
filebuffersizetype TIMEUNIT
return RESULT

getUserData() public method

public getUserData ( IntPtr &userdata ) : RESULT
userdata IntPtr
return RESULT

getVersion() public method

public getVersion ( uint &version ) : RESULT
version uint
return RESULT

init() public method

public init ( int maxchannels, INITFLAGS flags, IntPtr extradriverdata ) : RESULT
maxchannels int
flags INITFLAGS
extradriverdata IntPtr
return RESULT

isRecording() public method

public isRecording ( int id, bool &recording ) : RESULT
id int
recording bool
return RESULT

loadGeometry() public method

public loadGeometry ( IntPtr data, int datasize, Geometry &geometry ) : RESULT
data IntPtr
datasize int
geometry Geometry
return RESULT

loadPlugin() public method

public loadPlugin ( string filename, uint &handle ) : RESULT
filename string
handle uint
return RESULT

loadPlugin() public method

public loadPlugin ( string filename, uint &handle, uint priority ) : RESULT
filename string
handle uint
priority uint
return RESULT

lockDSP() public method

public lockDSP ( ) : RESULT
return RESULT

mixerResume() public method

public mixerResume ( ) : RESULT
return RESULT

mixerSuspend() public method

public mixerSuspend ( ) : RESULT
return RESULT

playDSP() public method

public playDSP ( DSP dsp, ChannelGroup channelGroup, bool paused, Channel &channel ) : RESULT
dsp DSP
channelGroup ChannelGroup
paused bool
channel Channel
return RESULT

playSound() public method

public playSound ( Sound sound, ChannelGroup channelGroup, bool paused, Channel &channel ) : RESULT
sound Sound
channelGroup ChannelGroup
paused bool
channel Channel
return RESULT

recordStart() public method

public recordStart ( int id, Sound sound, bool loop ) : RESULT
id int
sound Sound
loop bool
return RESULT

recordStop() public method

public recordStop ( int id ) : RESULT
id int
return RESULT

registerDSP() public method

public registerDSP ( DSP_DESCRIPTION &description, uint &handle ) : RESULT
description DSP_DESCRIPTION
handle uint
return RESULT

release() public method

public release ( ) : RESULT
return RESULT

set3DListenerAttributes() public method

public set3DListenerAttributes ( int listener, VECTOR &pos, VECTOR &vel, VECTOR &forward, VECTOR &up ) : RESULT
listener int
pos VECTOR
vel VECTOR
forward VECTOR
up VECTOR
return RESULT

set3DNumListeners() public method

public set3DNumListeners ( int numlisteners ) : RESULT
numlisteners int
return RESULT

set3DRolloffCallback() public method

public set3DRolloffCallback ( CB_3D_ROLLOFFCALLBACK callback ) : RESULT
callback CB_3D_ROLLOFFCALLBACK
return RESULT

set3DSettings() public method

public set3DSettings ( float dopplerscale, float distancefactor, float rolloffscale ) : RESULT
dopplerscale float
distancefactor float
rolloffscale float
return RESULT

setAdvancedSettings() public method

public setAdvancedSettings ( ADVANCEDSETTINGS &settings ) : RESULT
settings ADVANCEDSETTINGS
return RESULT

setCallback() public method

public setCallback ( SYSTEM_CALLBACK callback, SYSTEM_CALLBACK_TYPE callbackmask ) : RESULT
callback SYSTEM_CALLBACK
callbackmask SYSTEM_CALLBACK_TYPE
return RESULT

setDSPBufferSize() public method

public setDSPBufferSize ( uint bufferlength, int numbuffers ) : RESULT
bufferlength uint
numbuffers int
return RESULT

setDriver() public method

public setDriver ( int driver ) : RESULT
driver int
return RESULT

setFileSystem() public method

public setFileSystem ( FILE_OPENCALLBACK useropen, FILE_CLOSECALLBACK userclose, FILE_READCALLBACK userread, FILE_SEEKCALLBACK userseek, FILE_ASYNCREADCALLBACK userasyncread, FILE_ASYNCCANCELCALLBACK userasynccancel, int blockalign ) : RESULT
useropen FILE_OPENCALLBACK
userclose FILE_CLOSECALLBACK
userread FILE_READCALLBACK
userseek FILE_SEEKCALLBACK
userasyncread FILE_ASYNCREADCALLBACK
userasynccancel FILE_ASYNCCANCELCALLBACK
blockalign int
return RESULT

setGeometrySettings() public method

public setGeometrySettings ( float maxworldsize ) : RESULT
maxworldsize float
return RESULT

setNetworkProxy() public method

public setNetworkProxy ( string proxy ) : RESULT
proxy string
return RESULT

setNetworkTimeout() public method

public setNetworkTimeout ( int timeout ) : RESULT
timeout int
return RESULT

setOutput() public method

public setOutput ( OUTPUTTYPE output ) : RESULT
output OUTPUTTYPE
return RESULT

setOutputByPlugin() public method

public setOutputByPlugin ( uint handle ) : RESULT
handle uint
return RESULT

setPluginPath() public method

public setPluginPath ( string path ) : RESULT
path string
return RESULT

setReverbProperties() public method

public setReverbProperties ( int instance, REVERB_PROPERTIES &prop ) : RESULT
instance int
prop REVERB_PROPERTIES
return RESULT

setSoftwareChannels() public method

public setSoftwareChannels ( int numsoftwarechannels ) : RESULT
numsoftwarechannels int
return RESULT

setSoftwareFormat() public method

public setSoftwareFormat ( int samplerate, SPEAKERMODE speakermode, int numrawspeakers ) : RESULT
samplerate int
speakermode SPEAKERMODE
numrawspeakers int
return RESULT

setSpeakerPosition() public method

public setSpeakerPosition ( SPEAKER speaker, float x, float y, bool active ) : RESULT
speaker SPEAKER
x float
y float
active bool
return RESULT

setStreamBufferSize() public method

public setStreamBufferSize ( uint filebuffersize, TIMEUNIT filebuffersizetype ) : RESULT
filebuffersize uint
filebuffersizetype TIMEUNIT
return RESULT

setUserData() public method

public setUserData ( IntPtr userdata ) : RESULT
userdata IntPtr
return RESULT

unloadPlugin() public method

public unloadPlugin ( uint handle ) : RESULT
handle uint
return RESULT

unlockDSP() public method

public unlockDSP ( ) : RESULT
return RESULT

update() public method

public update ( ) : RESULT
return RESULT