C# Class FMOD.ChannelControl

Inheritance: HandleBase
Mostrar archivo Open project: punker76/simple-music-player Class Usage Examples

Public Methods

Method Description
addDSP ( int index, DSP dsp ) : RESULT
addFadePoint ( ulong dspclock, float volume ) : RESULT
get3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
get3DConeOrientation ( VECTOR &orientation ) : RESULT
get3DConeSettings ( float &insideconeangle, float &outsideconeangle, float &outsidevolume ) : RESULT
get3DCustomRolloff ( IntPtr &points, int &numpoints ) : RESULT
get3DDistanceFilter ( bool &custom, float &customLevel, float &centerFreq ) : RESULT
get3DDopplerLevel ( float &level ) : RESULT
get3DLevel ( float &level ) : RESULT
get3DMinMaxDistance ( float &mindistance, float &maxdistance ) : RESULT
get3DOcclusion ( float &directocclusion, float &reverbocclusion ) : RESULT
get3DSpread ( float &angle ) : RESULT
getAudibility ( float &audibility ) : RESULT
getDSP ( int index, DSP &dsp ) : RESULT
getDSPClock ( ulong &dspclock, ulong &parentclock ) : RESULT
getDSPIndex ( DSP dsp, int &index ) : RESULT
getDelay ( ulong &dspclock_start, ulong &dspclock_end, bool &stopchannels ) : RESULT
getFadePoints ( uint &numpoints, ulong point_dspclock, float point_volume ) : RESULT
getLowPassGain ( float &gain ) : RESULT
getMixMatrix ( float matrix, int &outchannels, int &inchannels, int inchannel_hop ) : RESULT
getMode ( MODE &mode ) : RESULT
getMute ( bool &mute ) : RESULT
getNumDSPs ( int &numdsps ) : RESULT
getPaused ( bool &paused ) : RESULT
getPitch ( float &pitch ) : RESULT
getReverbProperties ( int instance, float &wet ) : RESULT
getSystemObject ( System &system ) : RESULT
getUserData ( IntPtr &userdata ) : RESULT
getVolume ( float &volume ) : RESULT
getVolumeRamp ( bool &ramp ) : RESULT
isPlaying ( bool &isplaying ) : RESULT
overridePanDSP ( DSP pan ) : RESULT
removeDSP ( DSP dsp ) : RESULT
removeFadePoints ( ulong dspclock_start, ulong dspclock_end ) : RESULT
set3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
set3DConeOrientation ( VECTOR &orientation ) : RESULT
set3DConeSettings ( float insideconeangle, float outsideconeangle, float outsidevolume ) : RESULT
set3DCustomRolloff ( VECTOR &points, int numpoints ) : RESULT
set3DDistanceFilter ( bool custom, float customLevel, float centerFreq ) : RESULT
set3DDopplerLevel ( float level ) : RESULT
set3DLevel ( float level ) : RESULT
set3DMinMaxDistance ( float mindistance, float maxdistance ) : RESULT
set3DOcclusion ( float directocclusion, float reverbocclusion ) : RESULT
set3DSpread ( float angle ) : RESULT
setCallback ( CHANNEL_CALLBACK callback ) : RESULT
setDSPIndex ( DSP dsp, int index ) : RESULT
setDelay ( ulong dspclock_start, ulong dspclock_end, bool stopchannels ) : RESULT
setFadePointRamp ( ulong dspclock, float volume ) : RESULT
setLowPassGain ( float gain ) : RESULT
setMixLevelsInput ( float levels, int numlevels ) : RESULT
setMixLevelsOutput ( float frontleft, float frontright, float center, float lfe, float surroundleft, float surroundright, float backleft, float backright ) : RESULT
setMixMatrix ( float matrix, int outchannels, int inchannels, int inchannel_hop ) : RESULT
setMode ( MODE mode ) : RESULT
setMute ( bool mute ) : RESULT
setPan ( float pan ) : RESULT
setPaused ( bool paused ) : RESULT
setPitch ( float pitch ) : RESULT
setReverbProperties ( int instance, float wet ) : RESULT
setUserData ( IntPtr userdata ) : RESULT
setVolume ( float volume ) : RESULT
setVolumeRamp ( bool ramp ) : RESULT
stop ( ) : RESULT

Protected Methods

Method Description
ChannelControl ( IntPtr raw ) : System

Private Methods

Method Description
FMOD_ChannelGroup_AddDSP ( IntPtr channelgroup, int index, IntPtr dsp ) : RESULT
FMOD_ChannelGroup_AddFadePoint ( IntPtr channelgroup, ulong dspclock, float volume ) : RESULT
FMOD_ChannelGroup_Get3DAttributes ( IntPtr channelgroup, VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
FMOD_ChannelGroup_Get3DConeOrientation ( IntPtr channelgroup, VECTOR &orientation ) : RESULT
FMOD_ChannelGroup_Get3DConeSettings ( IntPtr channelgroup, float &insideconeangle, float &outsideconeangle, float &outsidevolume ) : RESULT
FMOD_ChannelGroup_Get3DCustomRolloff ( IntPtr channelgroup, IntPtr &points, int &numpoints ) : RESULT
FMOD_ChannelGroup_Get3DDistanceFilter ( IntPtr channelgroup, bool &custom, float &customLevel, float &centerFreq ) : RESULT
FMOD_ChannelGroup_Get3DDopplerLevel ( IntPtr channelgroup, float &level ) : RESULT
FMOD_ChannelGroup_Get3DLevel ( IntPtr channelgroup, float &level ) : RESULT
FMOD_ChannelGroup_Get3DMinMaxDistance ( IntPtr channelgroup, float &mindistance, float &maxdistance ) : RESULT
FMOD_ChannelGroup_Get3DOcclusion ( IntPtr channelgroup, float &directocclusion, float &reverbocclusion ) : RESULT
FMOD_ChannelGroup_Get3DSpread ( IntPtr channelgroup, float &angle ) : RESULT
FMOD_ChannelGroup_GetAudibility ( IntPtr channelgroup, float &audibility ) : RESULT
FMOD_ChannelGroup_GetDSP ( IntPtr channelgroup, int index, IntPtr &dsp ) : RESULT
FMOD_ChannelGroup_GetDSPClock ( IntPtr channelgroup, ulong &dspclock, ulong &parentclock ) : RESULT
FMOD_ChannelGroup_GetDSPIndex ( IntPtr channelgroup, IntPtr dsp, int &index ) : RESULT
FMOD_ChannelGroup_GetDelay ( IntPtr channelgroup, ulong &dspclock_start, ulong &dspclock_end, bool &stopchannels ) : RESULT
FMOD_ChannelGroup_GetFadePoints ( IntPtr channelgroup, uint &numpoints, ulong point_dspclock, float point_volume ) : RESULT
FMOD_ChannelGroup_GetLowPassGain ( IntPtr channelgroup, float &gain ) : RESULT
FMOD_ChannelGroup_GetMixMatrix ( IntPtr channelgroup, float matrix, int &outchannels, int &inchannels, int inchannel_hop ) : RESULT
FMOD_ChannelGroup_GetMode ( IntPtr channelgroup, MODE &mode ) : RESULT
FMOD_ChannelGroup_GetMute ( IntPtr channelgroup, bool &mute ) : RESULT
FMOD_ChannelGroup_GetNumDSPs ( IntPtr channelgroup, int &numdsps ) : RESULT
FMOD_ChannelGroup_GetPaused ( IntPtr channelgroup, bool &paused ) : RESULT
FMOD_ChannelGroup_GetPitch ( IntPtr channelgroup, float &pitch ) : RESULT
FMOD_ChannelGroup_GetReverbProperties ( IntPtr channelgroup, int instance, float &wet ) : RESULT
FMOD_ChannelGroup_GetSystemObject ( IntPtr channelgroup, IntPtr &system ) : RESULT
FMOD_ChannelGroup_GetUserData ( IntPtr channelgroup, IntPtr &userdata ) : RESULT
FMOD_ChannelGroup_GetVolume ( IntPtr channelgroup, float &volume ) : RESULT
FMOD_ChannelGroup_GetVolumeRamp ( IntPtr channelgroup, bool &ramp ) : RESULT
FMOD_ChannelGroup_IsPlaying ( IntPtr channelgroup, bool &isplaying ) : RESULT
FMOD_ChannelGroup_OverridePanDSP ( IntPtr channelgroup, IntPtr pan ) : RESULT
FMOD_ChannelGroup_RemoveDSP ( IntPtr channelgroup, IntPtr dsp ) : RESULT
FMOD_ChannelGroup_RemoveFadePoints ( IntPtr channelgroup, ulong dspclock_start, ulong dspclock_end ) : RESULT
FMOD_ChannelGroup_Set3DAttributes ( IntPtr channelgroup, VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
FMOD_ChannelGroup_Set3DConeOrientation ( IntPtr channelgroup, VECTOR &orientation ) : RESULT
FMOD_ChannelGroup_Set3DConeSettings ( IntPtr channelgroup, float insideconeangle, float outsideconeangle, float outsidevolume ) : RESULT
FMOD_ChannelGroup_Set3DCustomRolloff ( IntPtr channelgroup, VECTOR &points, int numpoints ) : RESULT
FMOD_ChannelGroup_Set3DDistanceFilter ( IntPtr channelgroup, bool custom, float customLevel, float centerFreq ) : RESULT
FMOD_ChannelGroup_Set3DDopplerLevel ( IntPtr channelgroup, float level ) : RESULT
FMOD_ChannelGroup_Set3DLevel ( IntPtr channelgroup, float level ) : RESULT
FMOD_ChannelGroup_Set3DMinMaxDistance ( IntPtr channelgroup, float mindistance, float maxdistance ) : RESULT
FMOD_ChannelGroup_Set3DOcclusion ( IntPtr channelgroup, float directocclusion, float reverbocclusion ) : RESULT
FMOD_ChannelGroup_Set3DSpread ( IntPtr channelgroup, float angle ) : RESULT
FMOD_ChannelGroup_SetCallback ( IntPtr channelgroup, CHANNEL_CALLBACK callback ) : RESULT
FMOD_ChannelGroup_SetDSPIndex ( IntPtr channelgroup, IntPtr dsp, int index ) : RESULT
FMOD_ChannelGroup_SetDelay ( IntPtr channelgroup, ulong dspclock_start, ulong dspclock_end, bool stopchannels ) : RESULT
FMOD_ChannelGroup_SetFadePointRamp ( IntPtr channelgroup, ulong dspclock, float volume ) : RESULT
FMOD_ChannelGroup_SetLowPassGain ( IntPtr channelgroup, float gain ) : RESULT
FMOD_ChannelGroup_SetMixLevelsInput ( IntPtr channelgroup, float levels, int numlevels ) : RESULT
FMOD_ChannelGroup_SetMixLevelsOutput ( IntPtr channelgroup, float frontleft, float frontright, float center, float lfe, float surroundleft, float surroundright, float backleft, float backright ) : RESULT
FMOD_ChannelGroup_SetMixMatrix ( IntPtr channelgroup, float matrix, int outchannels, int inchannels, int inchannel_hop ) : RESULT
FMOD_ChannelGroup_SetMode ( IntPtr channelgroup, MODE mode ) : RESULT
FMOD_ChannelGroup_SetMute ( IntPtr channelgroup, bool mute ) : RESULT
FMOD_ChannelGroup_SetPan ( IntPtr channelgroup, float pan ) : RESULT
FMOD_ChannelGroup_SetPaused ( IntPtr channelgroup, bool paused ) : RESULT
FMOD_ChannelGroup_SetPitch ( IntPtr channelgroup, float pitch ) : RESULT
FMOD_ChannelGroup_SetReverbProperties ( IntPtr channelgroup, int instance, float wet ) : RESULT
FMOD_ChannelGroup_SetUserData ( IntPtr channelgroup, IntPtr userdata ) : RESULT
FMOD_ChannelGroup_SetVolume ( IntPtr channelgroup, float volume ) : RESULT
FMOD_ChannelGroup_SetVolumeRamp ( IntPtr channelgroup, bool ramp ) : RESULT
FMOD_ChannelGroup_Stop ( IntPtr channelgroup ) : RESULT

Method Details

ChannelControl() protected method

protected ChannelControl ( IntPtr raw ) : System
raw System.IntPtr
return System

addDSP() public method

public addDSP ( int index, DSP dsp ) : RESULT
index int
dsp DSP
return RESULT

addFadePoint() public method

public addFadePoint ( ulong dspclock, float volume ) : RESULT
dspclock ulong
volume float
return RESULT

get3DAttributes() public method

public get3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
pos VECTOR
vel VECTOR
alt_pan_pos VECTOR
return RESULT

get3DConeOrientation() public method

public get3DConeOrientation ( VECTOR &orientation ) : RESULT
orientation VECTOR
return RESULT

get3DConeSettings() public method

public get3DConeSettings ( float &insideconeangle, float &outsideconeangle, float &outsidevolume ) : RESULT
insideconeangle float
outsideconeangle float
outsidevolume float
return RESULT

get3DCustomRolloff() public method

public get3DCustomRolloff ( IntPtr &points, int &numpoints ) : RESULT
points System.IntPtr
numpoints int
return RESULT

get3DDistanceFilter() public method

public get3DDistanceFilter ( bool &custom, float &customLevel, float &centerFreq ) : RESULT
custom bool
customLevel float
centerFreq float
return RESULT

get3DDopplerLevel() public method

public get3DDopplerLevel ( float &level ) : RESULT
level float
return RESULT

get3DLevel() public method

public get3DLevel ( float &level ) : RESULT
level float
return RESULT

get3DMinMaxDistance() public method

public get3DMinMaxDistance ( float &mindistance, float &maxdistance ) : RESULT
mindistance float
maxdistance float
return RESULT

get3DOcclusion() public method

public get3DOcclusion ( float &directocclusion, float &reverbocclusion ) : RESULT
directocclusion float
reverbocclusion float
return RESULT

get3DSpread() public method

public get3DSpread ( float &angle ) : RESULT
angle float
return RESULT

getAudibility() public method

public getAudibility ( float &audibility ) : RESULT
audibility float
return RESULT

getDSP() public method

public getDSP ( int index, DSP &dsp ) : RESULT
index int
dsp DSP
return RESULT

getDSPClock() public method

public getDSPClock ( ulong &dspclock, ulong &parentclock ) : RESULT
dspclock ulong
parentclock ulong
return RESULT

getDSPIndex() public method

public getDSPIndex ( DSP dsp, int &index ) : RESULT
dsp DSP
index int
return RESULT

getDelay() public method

public getDelay ( ulong &dspclock_start, ulong &dspclock_end, bool &stopchannels ) : RESULT
dspclock_start ulong
dspclock_end ulong
stopchannels bool
return RESULT

getFadePoints() public method

public getFadePoints ( uint &numpoints, ulong point_dspclock, float point_volume ) : RESULT
numpoints uint
point_dspclock ulong
point_volume float
return RESULT

getLowPassGain() public method

public getLowPassGain ( float &gain ) : RESULT
gain float
return RESULT

getMixMatrix() public method

public getMixMatrix ( float matrix, int &outchannels, int &inchannels, int inchannel_hop ) : RESULT
matrix float
outchannels int
inchannels int
inchannel_hop int
return RESULT

getMode() public method

public getMode ( MODE &mode ) : RESULT
mode MODE
return RESULT

getMute() public method

public getMute ( bool &mute ) : RESULT
mute bool
return RESULT

getNumDSPs() public method

public getNumDSPs ( int &numdsps ) : RESULT
numdsps int
return RESULT

getPaused() public method

public getPaused ( bool &paused ) : RESULT
paused bool
return RESULT

getPitch() public method

public getPitch ( float &pitch ) : RESULT
pitch float
return RESULT

getReverbProperties() public method

public getReverbProperties ( int instance, float &wet ) : RESULT
instance int
wet float
return RESULT

getSystemObject() public method

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

getUserData() public method

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

getVolume() public method

public getVolume ( float &volume ) : RESULT
volume float
return RESULT

getVolumeRamp() public method

public getVolumeRamp ( bool &ramp ) : RESULT
ramp bool
return RESULT

isPlaying() public method

public isPlaying ( bool &isplaying ) : RESULT
isplaying bool
return RESULT

overridePanDSP() public method

public overridePanDSP ( DSP pan ) : RESULT
pan DSP
return RESULT

removeDSP() public method

public removeDSP ( DSP dsp ) : RESULT
dsp DSP
return RESULT

removeFadePoints() public method

public removeFadePoints ( ulong dspclock_start, ulong dspclock_end ) : RESULT
dspclock_start ulong
dspclock_end ulong
return RESULT

set3DAttributes() public method

public set3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
pos VECTOR
vel VECTOR
alt_pan_pos VECTOR
return RESULT

set3DConeOrientation() public method

public set3DConeOrientation ( VECTOR &orientation ) : RESULT
orientation VECTOR
return RESULT

set3DConeSettings() public method

public set3DConeSettings ( float insideconeangle, float outsideconeangle, float outsidevolume ) : RESULT
insideconeangle float
outsideconeangle float
outsidevolume float
return RESULT

set3DCustomRolloff() public method

public set3DCustomRolloff ( VECTOR &points, int numpoints ) : RESULT
points VECTOR
numpoints int
return RESULT

set3DDistanceFilter() public method

public set3DDistanceFilter ( bool custom, float customLevel, float centerFreq ) : RESULT
custom bool
customLevel float
centerFreq float
return RESULT

set3DDopplerLevel() public method

public set3DDopplerLevel ( float level ) : RESULT
level float
return RESULT

set3DLevel() public method

public set3DLevel ( float level ) : RESULT
level float
return RESULT

set3DMinMaxDistance() public method

public set3DMinMaxDistance ( float mindistance, float maxdistance ) : RESULT
mindistance float
maxdistance float
return RESULT

set3DOcclusion() public method

public set3DOcclusion ( float directocclusion, float reverbocclusion ) : RESULT
directocclusion float
reverbocclusion float
return RESULT

set3DSpread() public method

public set3DSpread ( float angle ) : RESULT
angle float
return RESULT

setCallback() public method

public setCallback ( CHANNEL_CALLBACK callback ) : RESULT
callback CHANNEL_CALLBACK
return RESULT

setDSPIndex() public method

public setDSPIndex ( DSP dsp, int index ) : RESULT
dsp DSP
index int
return RESULT

setDelay() public method

public setDelay ( ulong dspclock_start, ulong dspclock_end, bool stopchannels ) : RESULT
dspclock_start ulong
dspclock_end ulong
stopchannels bool
return RESULT

setFadePointRamp() public method

public setFadePointRamp ( ulong dspclock, float volume ) : RESULT
dspclock ulong
volume float
return RESULT

setLowPassGain() public method

public setLowPassGain ( float gain ) : RESULT
gain float
return RESULT

setMixLevelsInput() public method

public setMixLevelsInput ( float levels, int numlevels ) : RESULT
levels float
numlevels int
return RESULT

setMixLevelsOutput() public method

public setMixLevelsOutput ( float frontleft, float frontright, float center, float lfe, float surroundleft, float surroundright, float backleft, float backright ) : RESULT
frontleft float
frontright float
center float
lfe float
surroundleft float
surroundright float
backleft float
backright float
return RESULT

setMixMatrix() public method

public setMixMatrix ( float matrix, int outchannels, int inchannels, int inchannel_hop ) : RESULT
matrix float
outchannels int
inchannels int
inchannel_hop int
return RESULT

setMode() public method

public setMode ( MODE mode ) : RESULT
mode MODE
return RESULT

setMute() public method

public setMute ( bool mute ) : RESULT
mute bool
return RESULT

setPan() public method

public setPan ( float pan ) : RESULT
pan float
return RESULT

setPaused() public method

public setPaused ( bool paused ) : RESULT
paused bool
return RESULT

setPitch() public method

public setPitch ( float pitch ) : RESULT
pitch float
return RESULT

setReverbProperties() public method

public setReverbProperties ( int instance, float wet ) : RESULT
instance int
wet float
return RESULT

setUserData() public method

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

setVolume() public method

public setVolume ( float volume ) : RESULT
volume float
return RESULT

setVolumeRamp() public method

public setVolumeRamp ( bool ramp ) : RESULT
ramp bool
return RESULT

stop() public method

public stop ( ) : RESULT
return RESULT