quentinc.audio
Class ChannelEvent

java.lang.Object
  extended by quentinc.audio.ChannelEvent

public class ChannelEvent
extends java.lang.Object

A class representing an event occured to a specific channel. There is currently only one event supported.


Field Summary
static int END_REACHED
          Event type representing the fact that a channel has reached its end (i.e. a sound has just finished playing)
 
Constructor Summary
ChannelEvent(Channel ch, int t)
          Construct a new ChannelEvent
 
Method Summary
 Channel getChannel()
          Get the channel where the event has occured
 int getType()
          Get the type of event which has occured
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

END_REACHED

public static final int END_REACHED
Event type representing the fact that a channel has reached its end (i.e. a sound has just finished playing)

See Also:
Constant Field Values
Constructor Detail

ChannelEvent

public ChannelEvent(Channel ch,
                    int t)
Construct a new ChannelEvent

Method Detail

getType

public int getType()
Get the type of event which has occured


getChannel

public Channel getChannel()
Get the channel where the event has occured