|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectquentinc.audio.Channel
quentinc.audio.ChannelGroup
public class ChannelGroup
A channel group can contain one or more channels. It allows to manage them together more easily.
| Method Summary | |
|---|---|
void |
close()
Close this group and all channels contained in it. |
ChannelGroup |
createGroup()
Create a new ChannelGroup which is owned by this group. |
Channel |
loop(Clip c)
Loop an audio clip. convenience method for play(c).setLoop(true); |
Channel |
play(Clip... c)
Play sequentially each audio clip given one after another. |
Channel |
play(Clip c)
Play an audio clip. |
ChannelGroup |
setPosition(float f)
Overriden because the playback position cannot be set for multiple channels at once. |
ChannelGroup |
setPositionInFrames(int n)
Overriden because the playback position cannot be set for multiple channels at once. |
ChannelGroup |
setVolume(float f)
Set the volume of the group. |
| Methods inherited from class quentinc.audio.Channel |
|---|
addChannelListener, addDSP, get3DPosition, getDuration, getDurationInFrames, getPan, getParentChannel, getPitch, getPosition, getPositionInFrames, getReferenceDistance, getRemainingDuration, getRemainingDurationInFrames, getVolume, getVolumeInDB, isActive, isLoop, isPaused, isVirtual, removeChannelListener, removeDSP, set3DPosition, setLoop, setPan, setPaused, setPitch, setReferenceDistance, setRelative3DPosition, setVolumeInDB, stop |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ChannelGroup setVolume(float f)
setVolume in class Channelpublic void close()
close in class Channelpublic Channel play(Clip c)
public Channel loop(Clip c)
public Channel play(Clip... c)
public ChannelGroup createGroup()
public ChannelGroup setPosition(float f)
setPosition in class Channelpublic ChannelGroup setPositionInFrames(int n)
setPositionInFrames in class Channel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||