as.clynx.audio.mux.streams
Class SequencedChannelProvider
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<java.lang.Integer>
as.clynx.audio.mux.streams.DefaultChannelProvider
as.clynx.audio.mux.streams.SequencedChannelProvider
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Integer>, java.util.Collection<java.lang.Integer>, java.util.Set<java.lang.Integer>
public class SequencedChannelProvider
- extends DefaultChannelProvider
The class SequencedChannelProvider.java extends DefaultChannelProvider. It
defines the ordering of the channels for the sequenced MUX. it defines in
which channel the current track is played next.
- Version:
- cLynx v.1.2, JDK 6.0: 12.10.2007
- Author:
- Andreas Senfter - andreas@senfters.com
- See Also:
- Serialized Form
Method Summary |
int |
nextStreamIndexFor(int curr_channel)
return the next trackIndex for the passed channel |
void |
reset(int samplesNO)
reset the provider |
Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
SequencedChannelProvider
public SequencedChannelProvider()
- Constructor
reset
public void reset(int samplesNO)
- reset the provider
- Overrides:
reset
in class DefaultChannelProvider
- Parameters:
samplesNO
-
nextStreamIndexFor
public int nextStreamIndexFor(int curr_channel)
- return the next trackIndex for the passed channel
- Overrides:
nextStreamIndexFor
in class DefaultChannelProvider
- Parameters:
curr_channel
-
- Returns:
- the next trackIndex for the passed channel