org.tritonus.lowlevel.alsa
Class AlsaSeqEvent

java.lang.Object
  extended by org.tritonus.lowlevel.alsa.AlsaSeqEvent

public class AlsaSeqEvent
extends java.lang.Object

Event for the sequencer. This class encapsulates an instance of snd_seq_event_t.


Constructor Summary
AlsaSeqEvent()
           
 
Method Summary
 void finalize()
           
 void free()
          Frees memory for a snd_seq_event_t.
 void getControl(int[] anValues)
           
 int getDestClient()
           
 int getDestPort()
           
 int getFlags()
           
 int getLength()
           
 void getNote(int[] anValues)
           
 int getQueue()
           
 void getQueueControl(int[] anValues, long[] alValues)
           
 int getSourceClient()
           
 int getSourcePort()
           
 int getTag()
           
 long getTimestamp()
           
 int getType()
           
 byte[] getVar()
           
 void setCommon(int nType, int nFlags, int nTag, int nQueue, long lTimestamp, int nSourceClient, int nSourcePort, int nDestClient, int nDestPort)
           
 void setControl(int nChannel, int nParam, int nValue)
           
 void setNote(int nChannel, int nKey, int nVelocity, int nOffVelocity, int nDuration)
           
 void setQueueControl(int nControlQueue, int nControlValue, long lControlTime)
           
 void setTimestamp(long lTimestamp)
           
 void setVar(byte[] abData, int nOffset, int nLength)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlsaSeqEvent

public AlsaSeqEvent()
Method Detail

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

free

public void free()
Frees memory for a snd_seq_event_t.


getLength

public int getLength()

getType

public int getType()

getFlags

public int getFlags()

getTag

public int getTag()

getQueue

public int getQueue()

getTimestamp

public long getTimestamp()

getSourceClient

public int getSourceClient()

getSourcePort

public int getSourcePort()

getDestClient

public int getDestClient()

getDestPort

public int getDestPort()

getNote

public void getNote(int[] anValues)

getControl

public void getControl(int[] anValues)

getQueueControl

public void getQueueControl(int[] anValues,
                            long[] alValues)

getVar

public byte[] getVar()

setCommon

public void setCommon(int nType,
                      int nFlags,
                      int nTag,
                      int nQueue,
                      long lTimestamp,
                      int nSourceClient,
                      int nSourcePort,
                      int nDestClient,
                      int nDestPort)

setTimestamp

public void setTimestamp(long lTimestamp)

setNote

public void setNote(int nChannel,
                    int nKey,
                    int nVelocity,
                    int nOffVelocity,
                    int nDuration)

setControl

public void setControl(int nChannel,
                       int nParam,
                       int nValue)

setQueueControl

public void setQueueControl(int nControlQueue,
                            int nControlValue,
                            long lControlTime)

setVar

public void setVar(byte[] abData,
                   int nOffset,
                   int nLength)