C# Class FMOD.DSP

显示文件 Open project: punker76/simple-music-player Class Usage Examples

Public Methods

Method Description
DSP ( IntPtr raw ) : System
addInput ( DSP target, DSPConnection &connection, DSPCONNECTION_TYPE type ) : RESULT
disconnectAll ( bool inputs, bool outputs ) : RESULT
disconnectFrom ( DSP target, DSPConnection connection ) : RESULT
getActive ( bool &active ) : RESULT
getBypass ( bool &bypass ) : RESULT
getChannelFormat ( CHANNELMASK &channelmask, int &numchannels, SPEAKERMODE &source_speakermode ) : RESULT
getDataParameterIndex ( int datatype, int &index ) : RESULT
getIdle ( bool &idle ) : RESULT
getInfo ( StringBuilder name, uint &version, int &channels, int &configwidth, int &configheight ) : RESULT
getInput ( int index, DSP &input, DSPConnection &inputconnection ) : RESULT
getMeteringEnabled ( bool &inputEnabled, bool &outputEnabled ) : RESULT
getMeteringInfo ( DSP_METERING_INFO inputInfo, DSP_METERING_INFO outputInfo ) : RESULT
getNumInputs ( int &numinputs ) : RESULT
getNumOutputs ( int &numoutputs ) : RESULT
getNumParameters ( int &numparams ) : RESULT
getOutput ( int index, DSP &output, DSPConnection &outputconnection ) : RESULT
getOutputChannelFormat ( CHANNELMASK inmask, int inchannels, SPEAKERMODE inspeakermode, CHANNELMASK &outmask, int &outchannels, SPEAKERMODE &outspeakermode ) : RESULT
getParameterBool ( int index, bool &value ) : RESULT
getParameterData ( int index, IntPtr &data, uint &length ) : RESULT
getParameterFloat ( int index, float &value ) : RESULT
getParameterInfo ( int index, DSP_PARAMETER_DESC &desc ) : RESULT
getParameterInt ( int index, int &value ) : RESULT
getSystemObject ( System &system ) : RESULT
getType ( DSP_TYPE &type ) : RESULT
getUserData ( IntPtr &userdata ) : RESULT
getWetDryMix ( float &prewet, float &postwet, float &dry ) : RESULT
release ( ) : RESULT
reset ( ) : RESULT
setActive ( bool active ) : RESULT
setBypass ( bool bypass ) : RESULT
setChannelFormat ( CHANNELMASK channelmask, int numchannels, SPEAKERMODE source_speakermode ) : RESULT
setMeteringEnabled ( bool inputEnabled, bool outputEnabled ) : RESULT
setParameterBool ( int index, bool value ) : RESULT
setParameterData ( int index, byte data ) : RESULT
setParameterFloat ( int index, float value ) : RESULT
setParameterInt ( int index, int value ) : RESULT
setUserData ( IntPtr userdata ) : RESULT
setWetDryMix ( float prewet, float postwet, float dry ) : RESULT
showConfigDialog ( IntPtr hwnd, bool show ) : RESULT

Private Methods

Method Description
FMOD_DSP_AddInput ( IntPtr dsp, IntPtr target, IntPtr &connection, DSPCONNECTION_TYPE type ) : RESULT
FMOD_DSP_DisconnectAll ( IntPtr dsp, bool inputs, bool outputs ) : RESULT
FMOD_DSP_DisconnectFrom ( IntPtr dsp, IntPtr target, IntPtr connection ) : RESULT
FMOD_DSP_GetActive ( IntPtr dsp, bool &active ) : RESULT
FMOD_DSP_GetBypass ( IntPtr dsp, bool &bypass ) : RESULT
FMOD_DSP_GetChannelFormat ( IntPtr dsp, CHANNELMASK &channelmask, int &numchannels, SPEAKERMODE &source_speakermode ) : RESULT
FMOD_DSP_GetDataParameterIndex ( IntPtr dsp, int datatype, int &index ) : RESULT
FMOD_DSP_GetIdle ( IntPtr dsp, bool &idle ) : RESULT
FMOD_DSP_GetInfo ( IntPtr dsp, IntPtr name, uint &version, int &channels, int &configwidth, int &configheight ) : RESULT
FMOD_DSP_GetInput ( IntPtr dsp, int index, IntPtr &input, IntPtr &inputconnection ) : RESULT
FMOD_DSP_GetMeteringEnabled ( IntPtr dsp, bool &inputEnabled, bool &outputEnabled ) : RESULT
FMOD_DSP_GetMeteringInfo ( IntPtr dsp, [ inputInfo, [ outputInfo ) : RESULT
FMOD_DSP_GetNumInputs ( IntPtr dsp, int &numinputs ) : RESULT
FMOD_DSP_GetNumOutputs ( IntPtr dsp, int &numoutputs ) : RESULT
FMOD_DSP_GetNumParameters ( IntPtr dsp, int &numparams ) : RESULT
FMOD_DSP_GetOutput ( IntPtr dsp, int index, IntPtr &output, IntPtr &outputconnection ) : RESULT
FMOD_DSP_GetOutputChannelFormat ( IntPtr dsp, CHANNELMASK inmask, int inchannels, SPEAKERMODE inspeakermode, CHANNELMASK &outmask, int &outchannels, SPEAKERMODE &outspeakermode ) : RESULT
FMOD_DSP_GetParameterBool ( IntPtr dsp, int index, bool &value, IntPtr valuestr, int valuestrlen ) : RESULT
FMOD_DSP_GetParameterData ( IntPtr dsp, int index, IntPtr &data, uint &length, IntPtr valuestr, int valuestrlen ) : RESULT
FMOD_DSP_GetParameterFloat ( IntPtr dsp, int index, float &value, IntPtr valuestr, int valuestrlen ) : RESULT
FMOD_DSP_GetParameterInfo ( IntPtr dsp, int index, IntPtr &desc ) : RESULT
FMOD_DSP_GetParameterInt ( IntPtr dsp, int index, int &value, IntPtr valuestr, int valuestrlen ) : RESULT
FMOD_DSP_GetSystemObject ( IntPtr dsp, IntPtr &system ) : RESULT
FMOD_DSP_GetType ( IntPtr dsp, DSP_TYPE &type ) : RESULT
FMOD_DSP_GetUserData ( IntPtr dsp, IntPtr &userdata ) : RESULT
FMOD_DSP_GetWetDryMix ( IntPtr dsp, float &prewet, float &postwet, float &dry ) : RESULT
FMOD_DSP_Release ( IntPtr dsp ) : RESULT
FMOD_DSP_Reset ( IntPtr dsp ) : RESULT
FMOD_DSP_SetActive ( IntPtr dsp, bool active ) : RESULT
FMOD_DSP_SetBypass ( IntPtr dsp, bool bypass ) : RESULT
FMOD_DSP_SetChannelFormat ( IntPtr dsp, CHANNELMASK channelmask, int numchannels, SPEAKERMODE source_speakermode ) : RESULT
FMOD_DSP_SetMeteringEnabled ( IntPtr dsp, bool inputEnabled, bool outputEnabled ) : RESULT
FMOD_DSP_SetParameterBool ( IntPtr dsp, int index, bool value ) : RESULT
FMOD_DSP_SetParameterData ( IntPtr dsp, int index, IntPtr data, uint length ) : RESULT
FMOD_DSP_SetParameterFloat ( IntPtr dsp, int index, float value ) : RESULT
FMOD_DSP_SetParameterInt ( IntPtr dsp, int index, int value ) : RESULT
FMOD_DSP_SetUserData ( IntPtr dsp, IntPtr userdata ) : RESULT
FMOD_DSP_SetWetDryMix ( IntPtr dsp, float prewet, float postwet, float dry ) : RESULT
FMOD_DSP_ShowConfigDialog ( IntPtr dsp, IntPtr hwnd, bool show ) : RESULT

Method Details

DSP() public method

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

addInput() public method

public addInput ( DSP target, DSPConnection &connection, DSPCONNECTION_TYPE type ) : RESULT
target DSP
connection DSPConnection
type DSPCONNECTION_TYPE
return RESULT

disconnectAll() public method

public disconnectAll ( bool inputs, bool outputs ) : RESULT
inputs bool
outputs bool
return RESULT

disconnectFrom() public method

public disconnectFrom ( DSP target, DSPConnection connection ) : RESULT
target DSP
connection DSPConnection
return RESULT

getActive() public method

public getActive ( bool &active ) : RESULT
active bool
return RESULT

getBypass() public method

public getBypass ( bool &bypass ) : RESULT
bypass bool
return RESULT

getChannelFormat() public method

public getChannelFormat ( CHANNELMASK &channelmask, int &numchannels, SPEAKERMODE &source_speakermode ) : RESULT
channelmask CHANNELMASK
numchannels int
source_speakermode SPEAKERMODE
return RESULT

getDataParameterIndex() public method

public getDataParameterIndex ( int datatype, int &index ) : RESULT
datatype int
index int
return RESULT

getIdle() public method

public getIdle ( bool &idle ) : RESULT
idle bool
return RESULT

getInfo() public method

public getInfo ( StringBuilder name, uint &version, int &channels, int &configwidth, int &configheight ) : RESULT
name StringBuilder
version uint
channels int
configwidth int
configheight int
return RESULT

getInput() public method

public getInput ( int index, DSP &input, DSPConnection &inputconnection ) : RESULT
index int
input DSP
inputconnection DSPConnection
return RESULT

getMeteringEnabled() public method

public getMeteringEnabled ( bool &inputEnabled, bool &outputEnabled ) : RESULT
inputEnabled bool
outputEnabled bool
return RESULT

getMeteringInfo() public method

public getMeteringInfo ( DSP_METERING_INFO inputInfo, DSP_METERING_INFO outputInfo ) : RESULT
inputInfo DSP_METERING_INFO
outputInfo DSP_METERING_INFO
return RESULT

getNumInputs() public method

public getNumInputs ( int &numinputs ) : RESULT
numinputs int
return RESULT

getNumOutputs() public method

public getNumOutputs ( int &numoutputs ) : RESULT
numoutputs int
return RESULT

getNumParameters() public method

public getNumParameters ( int &numparams ) : RESULT
numparams int
return RESULT

getOutput() public method

public getOutput ( int index, DSP &output, DSPConnection &outputconnection ) : RESULT
index int
output DSP
outputconnection DSPConnection
return RESULT

getOutputChannelFormat() public method

public getOutputChannelFormat ( CHANNELMASK inmask, int inchannels, SPEAKERMODE inspeakermode, CHANNELMASK &outmask, int &outchannels, SPEAKERMODE &outspeakermode ) : RESULT
inmask CHANNELMASK
inchannels int
inspeakermode SPEAKERMODE
outmask CHANNELMASK
outchannels int
outspeakermode SPEAKERMODE
return RESULT

getParameterBool() public method

public getParameterBool ( int index, bool &value ) : RESULT
index int
value bool
return RESULT

getParameterData() public method

public getParameterData ( int index, IntPtr &data, uint &length ) : RESULT
index int
data IntPtr
length uint
return RESULT

getParameterFloat() public method

public getParameterFloat ( int index, float &value ) : RESULT
index int
value float
return RESULT

getParameterInfo() public method

public getParameterInfo ( int index, DSP_PARAMETER_DESC &desc ) : RESULT
index int
desc DSP_PARAMETER_DESC
return RESULT

getParameterInt() public method

public getParameterInt ( int index, int &value ) : RESULT
index int
value int
return RESULT

getSystemObject() public method

public getSystemObject ( System &system ) : RESULT
system System
return RESULT

getType() public method

public getType ( DSP_TYPE &type ) : RESULT
type DSP_TYPE
return RESULT

getUserData() public method

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

getWetDryMix() public method

public getWetDryMix ( float &prewet, float &postwet, float &dry ) : RESULT
prewet float
postwet float
dry float
return RESULT

release() public method

public release ( ) : RESULT
return RESULT

reset() public method

public reset ( ) : RESULT
return RESULT

setActive() public method

public setActive ( bool active ) : RESULT
active bool
return RESULT

setBypass() public method

public setBypass ( bool bypass ) : RESULT
bypass bool
return RESULT

setChannelFormat() public method

public setChannelFormat ( CHANNELMASK channelmask, int numchannels, SPEAKERMODE source_speakermode ) : RESULT
channelmask CHANNELMASK
numchannels int
source_speakermode SPEAKERMODE
return RESULT

setMeteringEnabled() public method

public setMeteringEnabled ( bool inputEnabled, bool outputEnabled ) : RESULT
inputEnabled bool
outputEnabled bool
return RESULT

setParameterBool() public method

public setParameterBool ( int index, bool value ) : RESULT
index int
value bool
return RESULT

setParameterData() public method

public setParameterData ( int index, byte data ) : RESULT
index int
data byte
return RESULT

setParameterFloat() public method

public setParameterFloat ( int index, float value ) : RESULT
index int
value float
return RESULT

setParameterInt() public method

public setParameterInt ( int index, int value ) : RESULT
index int
value int
return RESULT

setUserData() public method

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

setWetDryMix() public method

public setWetDryMix ( float prewet, float postwet, float dry ) : RESULT
prewet float
postwet float
dry float
return RESULT

showConfigDialog() public method

public showConfigDialog ( IntPtr hwnd, bool show ) : RESULT
hwnd IntPtr
show bool
return RESULT