C# Class FMOD.ChannelControl

Inheritance: HandleBase
Afficher le fichier Open project: punker76/simple-music-player Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ChannelControl ( IntPtr raw ) : System

Private Methods

Méthode 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 méthode

protected ChannelControl ( IntPtr raw ) : System
raw System.IntPtr
Résultat System

addDSP() public méthode

public addDSP ( int index, DSP dsp ) : RESULT
index int
dsp DSP
Résultat RESULT

addFadePoint() public méthode

public addFadePoint ( ulong dspclock, float volume ) : RESULT
dspclock ulong
volume float
Résultat RESULT

get3DAttributes() public méthode

public get3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
pos VECTOR
vel VECTOR
alt_pan_pos VECTOR
Résultat RESULT

get3DConeOrientation() public méthode

public get3DConeOrientation ( VECTOR &orientation ) : RESULT
orientation VECTOR
Résultat RESULT

get3DConeSettings() public méthode

public get3DConeSettings ( float &insideconeangle, float &outsideconeangle, float &outsidevolume ) : RESULT
insideconeangle float
outsideconeangle float
outsidevolume float
Résultat RESULT

get3DCustomRolloff() public méthode

public get3DCustomRolloff ( IntPtr &points, int &numpoints ) : RESULT
points System.IntPtr
numpoints int
Résultat RESULT

get3DDistanceFilter() public méthode

public get3DDistanceFilter ( bool &custom, float &customLevel, float &centerFreq ) : RESULT
custom bool
customLevel float
centerFreq float
Résultat RESULT

get3DDopplerLevel() public méthode

public get3DDopplerLevel ( float &level ) : RESULT
level float
Résultat RESULT

get3DLevel() public méthode

public get3DLevel ( float &level ) : RESULT
level float
Résultat RESULT

get3DMinMaxDistance() public méthode

public get3DMinMaxDistance ( float &mindistance, float &maxdistance ) : RESULT
mindistance float
maxdistance float
Résultat RESULT

get3DOcclusion() public méthode

public get3DOcclusion ( float &directocclusion, float &reverbocclusion ) : RESULT
directocclusion float
reverbocclusion float
Résultat RESULT

get3DSpread() public méthode

public get3DSpread ( float &angle ) : RESULT
angle float
Résultat RESULT

getAudibility() public méthode

public getAudibility ( float &audibility ) : RESULT
audibility float
Résultat RESULT

getDSP() public méthode

public getDSP ( int index, DSP &dsp ) : RESULT
index int
dsp DSP
Résultat RESULT

getDSPClock() public méthode

public getDSPClock ( ulong &dspclock, ulong &parentclock ) : RESULT
dspclock ulong
parentclock ulong
Résultat RESULT

getDSPIndex() public méthode

public getDSPIndex ( DSP dsp, int &index ) : RESULT
dsp DSP
index int
Résultat RESULT

getDelay() public méthode

public getDelay ( ulong &dspclock_start, ulong &dspclock_end, bool &stopchannels ) : RESULT
dspclock_start ulong
dspclock_end ulong
stopchannels bool
Résultat RESULT

getFadePoints() public méthode

public getFadePoints ( uint &numpoints, ulong point_dspclock, float point_volume ) : RESULT
numpoints uint
point_dspclock ulong
point_volume float
Résultat RESULT

getLowPassGain() public méthode

public getLowPassGain ( float &gain ) : RESULT
gain float
Résultat RESULT

getMixMatrix() public méthode

public getMixMatrix ( float matrix, int &outchannels, int &inchannels, int inchannel_hop ) : RESULT
matrix float
outchannels int
inchannels int
inchannel_hop int
Résultat RESULT

getMode() public méthode

public getMode ( MODE &mode ) : RESULT
mode MODE
Résultat RESULT

getMute() public méthode

public getMute ( bool &mute ) : RESULT
mute bool
Résultat RESULT

getNumDSPs() public méthode

public getNumDSPs ( int &numdsps ) : RESULT
numdsps int
Résultat RESULT

getPaused() public méthode

public getPaused ( bool &paused ) : RESULT
paused bool
Résultat RESULT

getPitch() public méthode

public getPitch ( float &pitch ) : RESULT
pitch float
Résultat RESULT

getReverbProperties() public méthode

public getReverbProperties ( int instance, float &wet ) : RESULT
instance int
wet float
Résultat RESULT

getSystemObject() public méthode

public getSystemObject ( System &system ) : RESULT
system System
Résultat RESULT

getUserData() public méthode

public getUserData ( IntPtr &userdata ) : RESULT
userdata System.IntPtr
Résultat RESULT

getVolume() public méthode

public getVolume ( float &volume ) : RESULT
volume float
Résultat RESULT

getVolumeRamp() public méthode

public getVolumeRamp ( bool &ramp ) : RESULT
ramp bool
Résultat RESULT

isPlaying() public méthode

public isPlaying ( bool &isplaying ) : RESULT
isplaying bool
Résultat RESULT

overridePanDSP() public méthode

public overridePanDSP ( DSP pan ) : RESULT
pan DSP
Résultat RESULT

removeDSP() public méthode

public removeDSP ( DSP dsp ) : RESULT
dsp DSP
Résultat RESULT

removeFadePoints() public méthode

public removeFadePoints ( ulong dspclock_start, ulong dspclock_end ) : RESULT
dspclock_start ulong
dspclock_end ulong
Résultat RESULT

set3DAttributes() public méthode

public set3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
pos VECTOR
vel VECTOR
alt_pan_pos VECTOR
Résultat RESULT

set3DConeOrientation() public méthode

public set3DConeOrientation ( VECTOR &orientation ) : RESULT
orientation VECTOR
Résultat RESULT

set3DConeSettings() public méthode

public set3DConeSettings ( float insideconeangle, float outsideconeangle, float outsidevolume ) : RESULT
insideconeangle float
outsideconeangle float
outsidevolume float
Résultat RESULT

set3DCustomRolloff() public méthode

public set3DCustomRolloff ( VECTOR &points, int numpoints ) : RESULT
points VECTOR
numpoints int
Résultat RESULT

set3DDistanceFilter() public méthode

public set3DDistanceFilter ( bool custom, float customLevel, float centerFreq ) : RESULT
custom bool
customLevel float
centerFreq float
Résultat RESULT

set3DDopplerLevel() public méthode

public set3DDopplerLevel ( float level ) : RESULT
level float
Résultat RESULT

set3DLevel() public méthode

public set3DLevel ( float level ) : RESULT
level float
Résultat RESULT

set3DMinMaxDistance() public méthode

public set3DMinMaxDistance ( float mindistance, float maxdistance ) : RESULT
mindistance float
maxdistance float
Résultat RESULT

set3DOcclusion() public méthode

public set3DOcclusion ( float directocclusion, float reverbocclusion ) : RESULT
directocclusion float
reverbocclusion float
Résultat RESULT

set3DSpread() public méthode

public set3DSpread ( float angle ) : RESULT
angle float
Résultat RESULT

setCallback() public méthode

public setCallback ( CHANNEL_CALLBACK callback ) : RESULT
callback CHANNEL_CALLBACK
Résultat RESULT

setDSPIndex() public méthode

public setDSPIndex ( DSP dsp, int index ) : RESULT
dsp DSP
index int
Résultat RESULT

setDelay() public méthode

public setDelay ( ulong dspclock_start, ulong dspclock_end, bool stopchannels ) : RESULT
dspclock_start ulong
dspclock_end ulong
stopchannels bool
Résultat RESULT

setFadePointRamp() public méthode

public setFadePointRamp ( ulong dspclock, float volume ) : RESULT
dspclock ulong
volume float
Résultat RESULT

setLowPassGain() public méthode

public setLowPassGain ( float gain ) : RESULT
gain float
Résultat RESULT

setMixLevelsInput() public méthode

public setMixLevelsInput ( float levels, int numlevels ) : RESULT
levels float
numlevels int
Résultat RESULT

setMixLevelsOutput() public méthode

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
Résultat RESULT

setMixMatrix() public méthode

public setMixMatrix ( float matrix, int outchannels, int inchannels, int inchannel_hop ) : RESULT
matrix float
outchannels int
inchannels int
inchannel_hop int
Résultat RESULT

setMode() public méthode

public setMode ( MODE mode ) : RESULT
mode MODE
Résultat RESULT

setMute() public méthode

public setMute ( bool mute ) : RESULT
mute bool
Résultat RESULT

setPan() public méthode

public setPan ( float pan ) : RESULT
pan float
Résultat RESULT

setPaused() public méthode

public setPaused ( bool paused ) : RESULT
paused bool
Résultat RESULT

setPitch() public méthode

public setPitch ( float pitch ) : RESULT
pitch float
Résultat RESULT

setReverbProperties() public méthode

public setReverbProperties ( int instance, float wet ) : RESULT
instance int
wet float
Résultat RESULT

setUserData() public méthode

public setUserData ( IntPtr userdata ) : RESULT
userdata System.IntPtr
Résultat RESULT

setVolume() public méthode

public setVolume ( float volume ) : RESULT
volume float
Résultat RESULT

setVolumeRamp() public méthode

public setVolumeRamp ( bool ramp ) : RESULT
ramp bool
Résultat RESULT

stop() public méthode

public stop ( ) : RESULT
Résultat RESULT