org.jouvieje.fmodex
Class Channel

java.lang.Object
  extended byorg.jouvieje.fmodex.utils.Pointer
      extended byorg.jouvieje.fmodex.Channel

public class Channel
extends Pointer

'Channel' API.


Constructor Summary
Channel()
           
 
Method Summary
 FMOD_RESULT addDSP(DSP dsp, DSPConnection connection)
           
static Channel asChannel(Pointer pointer)
          Create a view of the Pointer object as a Channel object.
 FMOD_RESULT get3DAttributes(FMOD_VECTOR pos, FMOD_VECTOR vel)
           
 FMOD_RESULT get3DConeOrientation(FMOD_VECTOR orientation)
           
 FMOD_RESULT get3DConeSettings(java.nio.FloatBuffer insideconeangle, java.nio.FloatBuffer outsideconeangle, java.nio.FloatBuffer outsidevolume)
           
 FMOD_RESULT get3DCustomRolloff(FMOD_VECTOR points, java.nio.IntBuffer numpoints)
           
 FMOD_RESULT get3DDopplerLevel(java.nio.FloatBuffer level)
           
 FMOD_RESULT get3DMinMaxDistance(java.nio.FloatBuffer mindistance, java.nio.FloatBuffer maxdistance)
           
 FMOD_RESULT get3DOcclusion(java.nio.FloatBuffer directocclusion, java.nio.FloatBuffer reverbocclusion)
           
 FMOD_RESULT get3DPanLevel(java.nio.FloatBuffer level)
           
 FMOD_RESULT get3DSpread(java.nio.FloatBuffer angle)
           
 FMOD_RESULT getAudibility(java.nio.FloatBuffer audibility)
           
 FMOD_RESULT getChannelGroup(ChannelGroup channelgroup)
           
 FMOD_RESULT getCurrentSound(Sound sound)
           
 FMOD_RESULT getDelay(FMOD_DELAYTYPE delaytype, java.nio.IntBuffer delayhi, java.nio.IntBuffer delaylo)
           
 FMOD_RESULT getDSPHead(DSP dsp)
           
 FMOD_RESULT getFrequency(java.nio.FloatBuffer frequency)
           
 FMOD_RESULT getIndex(java.nio.IntBuffer index)
           
 FMOD_RESULT getInputChannelMix(java.nio.FloatBuffer levels, int numlevels)
           
 FMOD_RESULT getLoopCount(java.nio.IntBuffer loopcount)
           
 FMOD_RESULT getLoopPoints(java.nio.IntBuffer loopstart, int loopstarttype, java.nio.IntBuffer loopend, int loopendtype)
           
 FMOD_RESULT getLowPassGain(java.nio.FloatBuffer gain)
           
 FMOD_RESULT getMemoryInfo(int memorybits, int event_memorybits, java.nio.IntBuffer memoryused, FMOD_MEMORY_USAGE_DETAILS memoryused_details)
           
 FMOD_RESULT getMode(java.nio.IntBuffer mode)
           
 FMOD_RESULT getMute(java.nio.ByteBuffer mute)
           
 FMOD_RESULT getPan(java.nio.FloatBuffer pan)
           
 FMOD_RESULT getPaused(java.nio.ByteBuffer paused)
           
 FMOD_RESULT getPosition(java.nio.IntBuffer position, int postype)
           
 FMOD_RESULT getPriority(java.nio.IntBuffer priority)
           
 FMOD_RESULT getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES prop)
           
 FMOD_RESULT getSpeakerLevels(FMOD_SPEAKER speaker, java.nio.FloatBuffer levels, int numlevels)
           
 FMOD_RESULT getSpeakerMix(java.nio.FloatBuffer frontleft, java.nio.FloatBuffer frontright, java.nio.FloatBuffer center, java.nio.FloatBuffer lfe, java.nio.FloatBuffer backleft, java.nio.FloatBuffer backright, java.nio.FloatBuffer sideleft, java.nio.FloatBuffer sideright)
           
 FMOD_RESULT getSpectrum(java.nio.FloatBuffer spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype)
           
 FMOD_RESULT getSystemObject(System system)
           
 FMOD_RESULT getUserData(Pointer userdata)
           
 FMOD_RESULT getVolume(java.nio.FloatBuffer volume)
           
 FMOD_RESULT getWaveData(java.nio.FloatBuffer wavearray, int numvalues, int channeloffset)
           
 FMOD_RESULT isPlaying(java.nio.ByteBuffer isplaying)
           
 FMOD_RESULT isVirtual(java.nio.ByteBuffer is)
           
 FMOD_RESULT set3DAttributes(FMOD_VECTOR pos, FMOD_VECTOR vel)
           
 FMOD_RESULT set3DConeOrientation(FMOD_VECTOR orientation)
           
 FMOD_RESULT set3DConeSettings(float insideconeangle, float outsideconeangle, float outsidevolume)
           
 FMOD_RESULT set3DCustomRolloff(FMOD_VECTOR points, int numpoints)
           
 FMOD_RESULT set3DDopplerLevel(float level)
           
 FMOD_RESULT set3DMinMaxDistance(float mindistance, float maxdistance)
           
 FMOD_RESULT set3DOcclusion(float directocclusion, float reverbocclusion)
           
 FMOD_RESULT set3DPanLevel(float level)
           
 FMOD_RESULT set3DSpread(float angle)
           
 FMOD_RESULT setCallback(FMOD_CHANNEL_CALLBACK callback)
           
 FMOD_RESULT setChannelGroup(ChannelGroup channelgroup)
           
 FMOD_RESULT setDelay(FMOD_DELAYTYPE delaytype, int delayhi, int delaylo)
           
 FMOD_RESULT setFrequency(float frequency)
           
 FMOD_RESULT setInputChannelMix(java.nio.FloatBuffer levels, int numlevels)
           
 FMOD_RESULT setLoopCount(int loopcount)
           
 FMOD_RESULT setLoopPoints(int loopstart, int loopstarttype, int loopend, int loopendtype)
           
 FMOD_RESULT setLowPassGain(float gain)
           
 FMOD_RESULT setMode(int mode)
           
 FMOD_RESULT setMute(boolean mute)
           
 FMOD_RESULT setPan(float pan)
           
 FMOD_RESULT setPaused(boolean paused)
           
 FMOD_RESULT setPosition(int position, int postype)
           
 FMOD_RESULT setPriority(int priority)
           
 FMOD_RESULT setReverbProperties(FMOD_REVERB_CHANNELPROPERTIES prop)
           
 FMOD_RESULT setSpeakerLevels(FMOD_SPEAKER speaker, java.nio.FloatBuffer levels, int numlevels)
           
 FMOD_RESULT setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright)
           
 FMOD_RESULT setUserData(Pointer userdata)
           
 FMOD_RESULT setVolume(float volume)
           
 FMOD_RESULT stop()
           
 
Methods inherited from class org.jouvieje.fmodex.utils.Pointer
asByteBuffer, asDouble, asFloat, asInt, asLong, asPointer, asString, asString, equals, isNull, shareMemory
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Channel

public Channel()
Method Detail

asChannel

public static Channel asChannel(Pointer pointer)
Create a view of the Pointer object as a Channel object.
This view is valid only if the memory holded by the Pointer holds a Channel object.


getSystemObject

public FMOD_RESULT getSystemObject(System system)

stop

public FMOD_RESULT stop()

setPaused

public FMOD_RESULT setPaused(boolean paused)

getPaused

public FMOD_RESULT getPaused(java.nio.ByteBuffer paused)

setVolume

public FMOD_RESULT setVolume(float volume)

getVolume

public FMOD_RESULT getVolume(java.nio.FloatBuffer volume)

setFrequency

public FMOD_RESULT setFrequency(float frequency)

getFrequency

public FMOD_RESULT getFrequency(java.nio.FloatBuffer frequency)

setPan

public FMOD_RESULT setPan(float pan)

getPan

public FMOD_RESULT getPan(java.nio.FloatBuffer pan)

setDelay

public FMOD_RESULT setDelay(FMOD_DELAYTYPE delaytype,
                            int delayhi,
                            int delaylo)

getDelay

public FMOD_RESULT getDelay(FMOD_DELAYTYPE delaytype,
                            java.nio.IntBuffer delayhi,
                            java.nio.IntBuffer delaylo)

setSpeakerMix

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

getSpeakerMix

public FMOD_RESULT getSpeakerMix(java.nio.FloatBuffer frontleft,
                                 java.nio.FloatBuffer frontright,
                                 java.nio.FloatBuffer center,
                                 java.nio.FloatBuffer lfe,
                                 java.nio.FloatBuffer backleft,
                                 java.nio.FloatBuffer backright,
                                 java.nio.FloatBuffer sideleft,
                                 java.nio.FloatBuffer sideright)

setSpeakerLevels

public FMOD_RESULT setSpeakerLevels(FMOD_SPEAKER speaker,
                                    java.nio.FloatBuffer levels,
                                    int numlevels)

getSpeakerLevels

public FMOD_RESULT getSpeakerLevels(FMOD_SPEAKER speaker,
                                    java.nio.FloatBuffer levels,
                                    int numlevels)

setInputChannelMix

public FMOD_RESULT setInputChannelMix(java.nio.FloatBuffer levels,
                                      int numlevels)

getInputChannelMix

public FMOD_RESULT getInputChannelMix(java.nio.FloatBuffer levels,
                                      int numlevels)

setMute

public FMOD_RESULT setMute(boolean mute)

getMute

public FMOD_RESULT getMute(java.nio.ByteBuffer mute)

setPriority

public FMOD_RESULT setPriority(int priority)

getPriority

public FMOD_RESULT getPriority(java.nio.IntBuffer priority)

setPosition

public FMOD_RESULT setPosition(int position,
                               int postype)

getPosition

public FMOD_RESULT getPosition(java.nio.IntBuffer position,
                               int postype)

setReverbProperties

public FMOD_RESULT setReverbProperties(FMOD_REVERB_CHANNELPROPERTIES prop)

getReverbProperties

public FMOD_RESULT getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES prop)

setLowPassGain

public FMOD_RESULT setLowPassGain(float gain)

getLowPassGain

public FMOD_RESULT getLowPassGain(java.nio.FloatBuffer gain)

setChannelGroup

public FMOD_RESULT setChannelGroup(ChannelGroup channelgroup)

getChannelGroup

public FMOD_RESULT getChannelGroup(ChannelGroup channelgroup)

setCallback

public FMOD_RESULT setCallback(FMOD_CHANNEL_CALLBACK callback)

set3DAttributes

public FMOD_RESULT set3DAttributes(FMOD_VECTOR pos,
                                   FMOD_VECTOR vel)

get3DAttributes

public FMOD_RESULT get3DAttributes(FMOD_VECTOR pos,
                                   FMOD_VECTOR vel)

set3DMinMaxDistance

public FMOD_RESULT set3DMinMaxDistance(float mindistance,
                                       float maxdistance)

get3DMinMaxDistance

public FMOD_RESULT get3DMinMaxDistance(java.nio.FloatBuffer mindistance,
                                       java.nio.FloatBuffer maxdistance)

set3DConeSettings

public FMOD_RESULT set3DConeSettings(float insideconeangle,
                                     float outsideconeangle,
                                     float outsidevolume)

get3DConeSettings

public FMOD_RESULT get3DConeSettings(java.nio.FloatBuffer insideconeangle,
                                     java.nio.FloatBuffer outsideconeangle,
                                     java.nio.FloatBuffer outsidevolume)

set3DConeOrientation

public FMOD_RESULT set3DConeOrientation(FMOD_VECTOR orientation)

get3DConeOrientation

public FMOD_RESULT get3DConeOrientation(FMOD_VECTOR orientation)

set3DCustomRolloff

public FMOD_RESULT set3DCustomRolloff(FMOD_VECTOR points,
                                      int numpoints)

get3DCustomRolloff

public FMOD_RESULT get3DCustomRolloff(FMOD_VECTOR points,
                                      java.nio.IntBuffer numpoints)

set3DOcclusion

public FMOD_RESULT set3DOcclusion(float directocclusion,
                                  float reverbocclusion)

get3DOcclusion

public FMOD_RESULT get3DOcclusion(java.nio.FloatBuffer directocclusion,
                                  java.nio.FloatBuffer reverbocclusion)

set3DSpread

public FMOD_RESULT set3DSpread(float angle)

get3DSpread

public FMOD_RESULT get3DSpread(java.nio.FloatBuffer angle)

set3DPanLevel

public FMOD_RESULT set3DPanLevel(float level)

get3DPanLevel

public FMOD_RESULT get3DPanLevel(java.nio.FloatBuffer level)

set3DDopplerLevel

public FMOD_RESULT set3DDopplerLevel(float level)

get3DDopplerLevel

public FMOD_RESULT get3DDopplerLevel(java.nio.FloatBuffer level)

getDSPHead

public FMOD_RESULT getDSPHead(DSP dsp)

addDSP

public FMOD_RESULT addDSP(DSP dsp,
                          DSPConnection connection)

isPlaying

public FMOD_RESULT isPlaying(java.nio.ByteBuffer isplaying)

isVirtual

public FMOD_RESULT isVirtual(java.nio.ByteBuffer is)

getAudibility

public FMOD_RESULT getAudibility(java.nio.FloatBuffer audibility)

getCurrentSound

public FMOD_RESULT getCurrentSound(Sound sound)

getSpectrum

public FMOD_RESULT getSpectrum(java.nio.FloatBuffer spectrumarray,
                               int numvalues,
                               int channeloffset,
                               FMOD_DSP_FFT_WINDOW windowtype)

getWaveData

public FMOD_RESULT getWaveData(java.nio.FloatBuffer wavearray,
                               int numvalues,
                               int channeloffset)

getIndex

public FMOD_RESULT getIndex(java.nio.IntBuffer index)

setMode

public FMOD_RESULT setMode(int mode)

getMode

public FMOD_RESULT getMode(java.nio.IntBuffer mode)

setLoopCount

public FMOD_RESULT setLoopCount(int loopcount)

getLoopCount

public FMOD_RESULT getLoopCount(java.nio.IntBuffer loopcount)

setLoopPoints

public FMOD_RESULT setLoopPoints(int loopstart,
                                 int loopstarttype,
                                 int loopend,
                                 int loopendtype)

getLoopPoints

public FMOD_RESULT getLoopPoints(java.nio.IntBuffer loopstart,
                                 int loopstarttype,
                                 java.nio.IntBuffer loopend,
                                 int loopendtype)

setUserData

public FMOD_RESULT setUserData(Pointer userdata)

getUserData

public FMOD_RESULT getUserData(Pointer userdata)

getMemoryInfo

public FMOD_RESULT getMemoryInfo(int memorybits,
                                 int event_memorybits,
                                 java.nio.IntBuffer memoryused,
                                 FMOD_MEMORY_USAGE_DETAILS memoryused_details)


NativeFmodEx Project - © Copyright 2005-2010 - Jérôme Jouvie (Jouvieje)
NativeFmodEx is an Open Source Project under GNU LGPL License
My sites : http://jerome.jouvie.free.fr/

(Documentation Copyright © Firelight Technologies - FMOD Ex - http://www.fmod.org)