C# Класс FMOD.ChannelControl

Наследование: HandleBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
ChannelControl ( IntPtr raw ) : System

Приватные методы

Метод Описание
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

Описание методов

ChannelControl() защищенный Метод

protected ChannelControl ( IntPtr raw ) : System
raw System.IntPtr
Результат System

addDSP() публичный Метод

public addDSP ( int index, DSP dsp ) : RESULT
index int
dsp DSP
Результат RESULT

addFadePoint() публичный Метод

public addFadePoint ( ulong dspclock, float volume ) : RESULT
dspclock ulong
volume float
Результат RESULT

get3DAttributes() публичный Метод

public get3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
pos VECTOR
vel VECTOR
alt_pan_pos VECTOR
Результат RESULT

get3DConeOrientation() публичный Метод

public get3DConeOrientation ( VECTOR &orientation ) : RESULT
orientation VECTOR
Результат RESULT

get3DConeSettings() публичный Метод

public get3DConeSettings ( float &insideconeangle, float &outsideconeangle, float &outsidevolume ) : RESULT
insideconeangle float
outsideconeangle float
outsidevolume float
Результат RESULT

get3DCustomRolloff() публичный Метод

public get3DCustomRolloff ( IntPtr &points, int &numpoints ) : RESULT
points System.IntPtr
numpoints int
Результат RESULT

get3DDistanceFilter() публичный Метод

public get3DDistanceFilter ( bool &custom, float &customLevel, float &centerFreq ) : RESULT
custom bool
customLevel float
centerFreq float
Результат RESULT

get3DDopplerLevel() публичный Метод

public get3DDopplerLevel ( float &level ) : RESULT
level float
Результат RESULT

get3DLevel() публичный Метод

public get3DLevel ( float &level ) : RESULT
level float
Результат RESULT

get3DMinMaxDistance() публичный Метод

public get3DMinMaxDistance ( float &mindistance, float &maxdistance ) : RESULT
mindistance float
maxdistance float
Результат RESULT

get3DOcclusion() публичный Метод

public get3DOcclusion ( float &directocclusion, float &reverbocclusion ) : RESULT
directocclusion float
reverbocclusion float
Результат RESULT

get3DSpread() публичный Метод

public get3DSpread ( float &angle ) : RESULT
angle float
Результат RESULT

getAudibility() публичный Метод

public getAudibility ( float &audibility ) : RESULT
audibility float
Результат RESULT

getDSP() публичный Метод

public getDSP ( int index, DSP &dsp ) : RESULT
index int
dsp DSP
Результат RESULT

getDSPClock() публичный Метод

public getDSPClock ( ulong &dspclock, ulong &parentclock ) : RESULT
dspclock ulong
parentclock ulong
Результат RESULT

getDSPIndex() публичный Метод

public getDSPIndex ( DSP dsp, int &index ) : RESULT
dsp DSP
index int
Результат RESULT

getDelay() публичный Метод

public getDelay ( ulong &dspclock_start, ulong &dspclock_end, bool &stopchannels ) : RESULT
dspclock_start ulong
dspclock_end ulong
stopchannels bool
Результат RESULT

getFadePoints() публичный Метод

public getFadePoints ( uint &numpoints, ulong point_dspclock, float point_volume ) : RESULT
numpoints uint
point_dspclock ulong
point_volume float
Результат RESULT

getLowPassGain() публичный Метод

public getLowPassGain ( float &gain ) : RESULT
gain float
Результат RESULT

getMixMatrix() публичный Метод

public getMixMatrix ( float matrix, int &outchannels, int &inchannels, int inchannel_hop ) : RESULT
matrix float
outchannels int
inchannels int
inchannel_hop int
Результат RESULT

getMode() публичный Метод

public getMode ( MODE &mode ) : RESULT
mode MODE
Результат RESULT

getMute() публичный Метод

public getMute ( bool &mute ) : RESULT
mute bool
Результат RESULT

getNumDSPs() публичный Метод

public getNumDSPs ( int &numdsps ) : RESULT
numdsps int
Результат RESULT

getPaused() публичный Метод

public getPaused ( bool &paused ) : RESULT
paused bool
Результат RESULT

getPitch() публичный Метод

public getPitch ( float &pitch ) : RESULT
pitch float
Результат RESULT

getReverbProperties() публичный Метод

public getReverbProperties ( int instance, float &wet ) : RESULT
instance int
wet float
Результат RESULT

getSystemObject() публичный Метод

public getSystemObject ( System &system ) : RESULT
system System
Результат RESULT

getUserData() публичный Метод

public getUserData ( IntPtr &userdata ) : RESULT
userdata System.IntPtr
Результат RESULT

getVolume() публичный Метод

public getVolume ( float &volume ) : RESULT
volume float
Результат RESULT

getVolumeRamp() публичный Метод

public getVolumeRamp ( bool &ramp ) : RESULT
ramp bool
Результат RESULT

isPlaying() публичный Метод

public isPlaying ( bool &isplaying ) : RESULT
isplaying bool
Результат RESULT

overridePanDSP() публичный Метод

public overridePanDSP ( DSP pan ) : RESULT
pan DSP
Результат RESULT

removeDSP() публичный Метод

public removeDSP ( DSP dsp ) : RESULT
dsp DSP
Результат RESULT

removeFadePoints() публичный Метод

public removeFadePoints ( ulong dspclock_start, ulong dspclock_end ) : RESULT
dspclock_start ulong
dspclock_end ulong
Результат RESULT

set3DAttributes() публичный Метод

public set3DAttributes ( VECTOR &pos, VECTOR &vel, VECTOR &alt_pan_pos ) : RESULT
pos VECTOR
vel VECTOR
alt_pan_pos VECTOR
Результат RESULT

set3DConeOrientation() публичный Метод

public set3DConeOrientation ( VECTOR &orientation ) : RESULT
orientation VECTOR
Результат RESULT

set3DConeSettings() публичный Метод

public set3DConeSettings ( float insideconeangle, float outsideconeangle, float outsidevolume ) : RESULT
insideconeangle float
outsideconeangle float
outsidevolume float
Результат RESULT

set3DCustomRolloff() публичный Метод

public set3DCustomRolloff ( VECTOR &points, int numpoints ) : RESULT
points VECTOR
numpoints int
Результат RESULT

set3DDistanceFilter() публичный Метод

public set3DDistanceFilter ( bool custom, float customLevel, float centerFreq ) : RESULT
custom bool
customLevel float
centerFreq float
Результат RESULT

set3DDopplerLevel() публичный Метод

public set3DDopplerLevel ( float level ) : RESULT
level float
Результат RESULT

set3DLevel() публичный Метод

public set3DLevel ( float level ) : RESULT
level float
Результат RESULT

set3DMinMaxDistance() публичный Метод

public set3DMinMaxDistance ( float mindistance, float maxdistance ) : RESULT
mindistance float
maxdistance float
Результат RESULT

set3DOcclusion() публичный Метод

public set3DOcclusion ( float directocclusion, float reverbocclusion ) : RESULT
directocclusion float
reverbocclusion float
Результат RESULT

set3DSpread() публичный Метод

public set3DSpread ( float angle ) : RESULT
angle float
Результат RESULT

setCallback() публичный Метод

public setCallback ( CHANNEL_CALLBACK callback ) : RESULT
callback CHANNEL_CALLBACK
Результат RESULT

setDSPIndex() публичный Метод

public setDSPIndex ( DSP dsp, int index ) : RESULT
dsp DSP
index int
Результат RESULT

setDelay() публичный Метод

public setDelay ( ulong dspclock_start, ulong dspclock_end, bool stopchannels ) : RESULT
dspclock_start ulong
dspclock_end ulong
stopchannels bool
Результат RESULT

setFadePointRamp() публичный Метод

public setFadePointRamp ( ulong dspclock, float volume ) : RESULT
dspclock ulong
volume float
Результат RESULT

setLowPassGain() публичный Метод

public setLowPassGain ( float gain ) : RESULT
gain float
Результат RESULT

setMixLevelsInput() публичный Метод

public setMixLevelsInput ( float levels, int numlevels ) : RESULT
levels float
numlevels int
Результат RESULT

setMixLevelsOutput() публичный Метод

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
Результат RESULT

setMixMatrix() публичный Метод

public setMixMatrix ( float matrix, int outchannels, int inchannels, int inchannel_hop ) : RESULT
matrix float
outchannels int
inchannels int
inchannel_hop int
Результат RESULT

setMode() публичный Метод

public setMode ( MODE mode ) : RESULT
mode MODE
Результат RESULT

setMute() публичный Метод

public setMute ( bool mute ) : RESULT
mute bool
Результат RESULT

setPan() публичный Метод

public setPan ( float pan ) : RESULT
pan float
Результат RESULT

setPaused() публичный Метод

public setPaused ( bool paused ) : RESULT
paused bool
Результат RESULT

setPitch() публичный Метод

public setPitch ( float pitch ) : RESULT
pitch float
Результат RESULT

setReverbProperties() публичный Метод

public setReverbProperties ( int instance, float wet ) : RESULT
instance int
wet float
Результат RESULT

setUserData() публичный Метод

public setUserData ( IntPtr userdata ) : RESULT
userdata System.IntPtr
Результат RESULT

setVolume() публичный Метод

public setVolume ( float volume ) : RESULT
volume float
Результат RESULT

setVolumeRamp() публичный Метод

public setVolumeRamp ( bool ramp ) : RESULT
ramp bool
Результат RESULT

stop() публичный Метод

public stop ( ) : RESULT
Результат RESULT