# PonyTracker: Référence de la classe Channel

Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Macros Pages
Référence de la classe Channel

`#include <fmod.hpp>`

## Fonctions membres publiques

FMOD_RESULT F_API | getSystemObject (System **system)
FMOD_RESULT F_API | stop ()
FMOD_RESULT F_API | setPaused (bool paused)
FMOD_RESULT F_API | getPaused (bool *paused)
FMOD_RESULT F_API | setVolume (float volume)
FMOD_RESULT F_API | getVolume (float *volume)
FMOD_RESULT F_API | setFrequency (float frequency)
FMOD_RESULT F_API | getFrequency (float *frequency)
FMOD_RESULT F_API | setPan (float pan)
FMOD_RESULT F_API | getPan (float *pan)
FMOD_RESULT F_API | setDelay (FMOD_DELAYTYPE delaytype, unsigned int delayhi, unsigned int delaylo)
FMOD_RESULT F_API | getDelay (FMOD_DELAYTYPE delaytype, unsigned int *delayhi, unsigned int *delaylo)
FMOD_RESULT F_API | setSpeakerMix (float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright)
FMOD_RESULT F_API | getSpeakerMix (float *frontleft, float *frontright, float *center, float *lfe, float *backleft, float *backright, float *sideleft, float *sideright)
FMOD_RESULT F_API | setSpeakerLevels (FMOD_SPEAKER speaker, float *levels, int numlevels)
FMOD_RESULT F_API | getSpeakerLevels (FMOD_SPEAKER speaker, float *levels, int numlevels)
FMOD_RESULT F_API | setInputChannelMix (float *levels, int numlevels)
FMOD_RESULT F_API | getInputChannelMix (float *levels, int numlevels)
FMOD_RESULT F_API | setMute (bool mute)
FMOD_RESULT F_API | getMute (bool *mute)
FMOD_RESULT F_API | setPriority (int priority)
FMOD_RESULT F_API | getPriority (int *priority)
FMOD_RESULT F_API | setPosition (unsigned int position, FMOD_TIMEUNIT postype)
FMOD_RESULT F_API | getPosition (unsigned int *position, FMOD_TIMEUNIT postype)
FMOD_RESULT F_API | setReverbProperties (const FMOD_REVERB_CHANNELPROPERTIES *prop)
FMOD_RESULT F_API | getReverbProperties (FMOD_REVERB_CHANNELPROPERTIES *prop)
FMOD_RESULT F_API | setLowPassGain (float gain)
FMOD_RESULT F_API | getLowPassGain (float *gain)
FMOD_RESULT F_API | setChannelGroup (ChannelGroup *channelgroup)
FMOD_RESULT F_API | getChannelGroup (ChannelGroup **channelgroup)
FMOD_RESULT F_API | setCallback (FMOD_CHANNEL_CALLBACK callback)
FMOD_RESULT F_API | set3DAttributes (const FMOD_VECTOR *pos, const FMOD_VECTOR *vel)
FMOD_RESULT F_API | get3DAttributes (FMOD_VECTOR *pos, FMOD_VECTOR *vel)
FMOD_RESULT F_API | set3DMinMaxDistance (float mindistance, float maxdistance)
FMOD_RESULT F_API | get3DMinMaxDistance (float *mindistance, float *maxdistance)
FMOD_RESULT F_API | set3DConeSettings (float insideconeangle, float outsideconeangle, float outsidevolume)
FMOD_RESULT F_API | get3DConeSettings (float *insideconeangle, float *outsideconeangle, float *outsidevolume)
FMOD_RESULT F_API | set3DConeOrientation (FMOD_VECTOR *orientation)
FMOD_RESULT F_API | get3DConeOrientation (FMOD_VECTOR *orientation)
FMOD_RESULT F_API | set3DCustomRolloff (FMOD_VECTOR *points, int numpoints)
FMOD_RESULT F_API | get3DCustomRolloff (FMOD_VECTOR **points, int *numpoints)
FMOD_RESULT F_API | set3DOcclusion (float directocclusion, float reverbocclusion)
FMOD_RESULT F_API | get3DOcclusion (float *directocclusion, float *reverbocclusion)
FMOD_RESULT F_API | set3DSpread (float angle)
FMOD_RESULT F_API | get3DSpread (float *angle)
FMOD_RESULT F_API | set3DPanLevel (float level)
FMOD_RESULT F_API | get3DPanLevel (float *level)
FMOD_RESULT F_API | set3DDopplerLevel (float level)
FMOD_RESULT F_API | get3DDopplerLevel (float *level)
FMOD_RESULT F_API | set3DDistanceFilter (bool custom, float customLevel, float centerFreq)
FMOD_RESULT F_API | get3DDistanceFilter (bool *custom, float *customLevel, float *centerFreq)
FMOD_RESULT F_API | getDSPHead (DSP **dsp)
FMOD_RESULT F_API | addDSP (DSP *dsp, DSPConnection **connection)
FMOD_RESULT F_API | isPlaying (bool *isplaying)
FMOD_RESULT F_API | isVirtual (bool *isvirtual)
FMOD_RESULT F_API | getAudibility (float *audibility)
FMOD_RESULT F_API | getCurrentSound (Sound **sound)
FMOD_RESULT F_API | getSpectrum (float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype)
FMOD_RESULT F_API | getWaveData (float *wavearray, int numvalues, int channeloffset)
FMOD_RESULT F_API | getIndex (int *index)
FMOD_RESULT F_API | setMode (FMOD_MODE mode)
FMOD_RESULT F_API | getMode (FMOD_MODE *mode)
FMOD_RESULT F_API | setLoopCount (int loopcount)
FMOD_RESULT F_API | getLoopCount (int *loopcount)
FMOD_RESULT F_API | setLoopPoints (unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype)
FMOD_RESULT F_API | getLoopPoints (unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int *loopend, FMOD_TIMEUNIT loopendtype)
FMOD_RESULT F_API | setUserData (void *userdata)
FMOD_RESULT F_API | getUserData (void **userdata)
FMOD_RESULT F_API | getMemoryInfo (unsigned int memorybits, unsigned int event_memorybits, unsigned int *memoryused, FMOD_MEMORY_USAGE_DETAILS *memoryused_details)

## Description détaillée

Définition à la ligne 264 du fichier fmod.hpp.

## Documentation des fonctions membres

FMOD_RESULT F_API addDSP | ( | DSP * | dsp,
|  | DSPConnection ** | connection
| ) |  |

FMOD_RESULT F_API get3DAttributes | ( | FMOD_VECTOR * | pos,
|  | FMOD_VECTOR * | vel
| ) |  |

FMOD_RESULT F_API get3DConeOrientation | ( | FMOD_VECTOR * | orientation | ) |

FMOD_RESULT F_API get3DConeSettings | ( | float * | insideconeangle,
|  | float * | outsideconeangle,
|  | float * | outsidevolume
| ) |  |

FMOD_RESULT F_API get3DCustomRolloff | ( | FMOD_VECTOR ** | points,
|  | int * | numpoints
| ) |  |

FMOD_RESULT F_API get3DDistanceFilter | ( | bool * | custom,
|  | float * | customLevel,
|  | float * | centerFreq
| ) |  |

FMOD_RESULT F_API get3DDopplerLevel | ( | float * | level | ) |

FMOD_RESULT F_API get3DMinMaxDistance | ( | float * | mindistance,
|  | float * | maxdistance
| ) |  |

FMOD_RESULT F_API get3DOcclusion | ( | float * | directocclusion,
|  | float * | reverbocclusion
| ) |  |

FMOD_RESULT F_API get3DPanLevel | ( | float * | level | ) |

FMOD_RESULT F_API get3DSpread | ( | float * | angle | ) |

FMOD_RESULT F_API getAudibility | ( | float * | audibility | ) |

FMOD_RESULT F_API getChannelGroup | ( | ChannelGroup ** | channelgroup | ) |

FMOD_RESULT F_API getCurrentSound | ( | Sound ** | sound | ) |

FMOD_RESULT F_API getDelay | ( | FMOD_DELAYTYPE | delaytype,
|  | unsigned int * | delayhi,
|  | unsigned int * | delaylo
| ) |  |

FMOD_RESULT F_API getDSPHead | ( | DSP ** | dsp | ) |

FMOD_RESULT F_API getFrequency | ( | float * | frequency | ) |

FMOD_RESULT F_API getIndex | ( | int * | index | ) |

FMOD_RESULT F_API getInputChannelMix | ( | float * | levels,
|  | int | numlevels
| ) |  |

FMOD_RESULT F_API getLoopCount | ( | int * | loopcount | ) |

FMOD_RESULT F_API getLoopPoints | ( | unsigned int * | loopstart,
|  | FMOD_TIMEUNIT | loopstarttype,
|  | unsigned int * | loopend,
|  | FMOD_TIMEUNIT | loopendtype
| ) |  |

FMOD_RESULT F_API getLowPassGain | ( | float * | gain | ) |

FMOD_RESULT F_API getMemoryInfo | ( | unsigned int | memorybits,
|  | unsigned int | event_memorybits,
|  | unsigned int * | memoryused,
|  | FMOD_MEMORY_USAGE_DETAILS * | memoryused_details
| ) |  |

FMOD_RESULT F_API getMode | ( | FMOD_MODE * | mode | ) |

FMOD_RESULT F_API getMute | ( | bool * | mute | ) |

FMOD_RESULT F_API getPan | ( | float * | pan | ) |

FMOD_RESULT F_API getPaused | ( | bool * | paused | ) |

FMOD_RESULT F_API getPosition | ( | unsigned int * | position,
|  | FMOD_TIMEUNIT | postype
| ) |  |

FMOD_RESULT F_API getPriority | ( | int * | priority | ) |

FMOD_RESULT F_API getReverbProperties | ( | FMOD_REVERB_CHANNELPROPERTIES * | prop | ) |

FMOD_RESULT F_API getSpeakerLevels | ( | FMOD_SPEAKER | speaker,
|  | float * | levels,
|  | int | numlevels
| ) |  |

FMOD_RESULT F_API getSpeakerMix | ( | float * | frontleft,
|  | float * | frontright,
|  | float * | center,
|  | float * | lfe,
|  | float * | backleft,
|  | float * | backright,
|  | float * | sideleft,
|  | float * | sideright
| ) |  |

FMOD_RESULT F_API getSpectrum | ( | float * | spectrumarray,
|  | int | numvalues,
|  | int | channeloffset,
|  | FMOD_DSP_FFT_WINDOW | windowtype
| ) |  |

FMOD_RESULT F_API getSystemObject | ( | System ** | system | ) |

FMOD_RESULT F_API getUserData | ( | void ** | userdata | ) |

FMOD_RESULT F_API getVolume | ( | float * | volume | ) |

FMOD_RESULT F_API getWaveData | ( | float * | wavearray,
|  | int | numvalues,
|  | int | channeloffset
| ) |  |

FMOD_RESULT F_API isPlaying | ( | bool * | isplaying | ) |

FMOD_RESULT F_API isVirtual | ( | bool * | isvirtual | ) |

FMOD_RESULT F_API set3DAttributes | ( | const FMOD_VECTOR * | pos,
|  | const FMOD_VECTOR * | vel
| ) |  |

FMOD_RESULT F_API set3DConeOrientation | ( | FMOD_VECTOR * | orientation | ) |

FMOD_RESULT F_API set3DConeSettings | ( | float | insideconeangle,
|  | float | outsideconeangle,
|  | float | outsidevolume
| ) |  |

FMOD_RESULT F_API set3DCustomRolloff | ( | FMOD_VECTOR * | points,
|  | int | numpoints
| ) |  |

FMOD_RESULT F_API set3DDistanceFilter | ( | bool | custom,
|  | float | customLevel,
|  | float | centerFreq
| ) |  |

FMOD_RESULT F_API set3DDopplerLevel | ( | float | level | ) |

FMOD_RESULT F_API set3DMinMaxDistance | ( | float | mindistance,
|  | float | maxdistance
| ) |  |

FMOD_RESULT F_API set3DOcclusion | ( | float | directocclusion,
|  | float | reverbocclusion
| ) |  |

FMOD_RESULT F_API set3DPanLevel | ( | float | level | ) |

FMOD_RESULT F_API set3DSpread | ( | float | angle | ) |

FMOD_RESULT F_API setCallback | ( | FMOD_CHANNEL_CALLBACK | callback | ) |

FMOD_RESULT F_API setChannelGroup | ( | ChannelGroup * | channelgroup | ) |

FMOD_RESULT F_API setDelay | ( | FMOD_DELAYTYPE | delaytype,
|  | unsigned int | delayhi,
|  | unsigned int | delaylo
| ) |  |

FMOD_RESULT F_API setFrequency | ( | float | frequency | ) |

FMOD_RESULT F_API setInputChannelMix | ( | float * | levels,
|  | int | numlevels
| ) |  |

FMOD_RESULT F_API setLoopCount | ( | int | loopcount | ) |

FMOD_RESULT F_API setLoopPoints | ( | unsigned int | loopstart,
|  | FMOD_TIMEUNIT | loopstarttype,
|  | unsigned int | loopend,
|  | FMOD_TIMEUNIT | loopendtype
| ) |  |

FMOD_RESULT F_API setLowPassGain | ( | float | gain | ) |

FMOD_RESULT F_API setMode | ( | FMOD_MODE | mode | ) |

FMOD_RESULT F_API setMute | ( | bool | mute | ) |

FMOD_RESULT F_API setPan | ( | float | pan | ) |

FMOD_RESULT F_API setPaused | ( | bool | paused | ) |

FMOD_RESULT F_API setPosition | ( | unsigned int | position,
|  | FMOD_TIMEUNIT | postype
| ) |  |

FMOD_RESULT F_API setPriority | ( | int | priority | ) |

FMOD_RESULT F_API setReverbProperties | ( | const FMOD_REVERB_CHANNELPROPERTIES * | prop | ) |

FMOD_RESULT F_API setSpeakerLevels | ( | FMOD_SPEAKER | speaker,
|  | float * | levels,
|  | int | numlevels
| ) |  |

FMOD_RESULT F_API setSpeakerMix | ( | float | frontleft,
|  | float | frontright,
|  | float | center,
|  | float | lfe,
|  | float | backleft,
|  | float | backright,
|  | float | sideleft,
|  | float | sideright
| ) |  |

FMOD_RESULT F_API setUserData | ( | void * | userdata | ) |

FMOD_RESULT F_API setVolume | ( | float | volume | ) |

FMOD_RESULT F_API stop | ( |  | ) |

La documentation de cette classe a été générée à partir du fichier suivant :

- sources/fmod/include/fmod.hpp