|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectas.clynx.audio.mux.streams.PlayListProvider
public class PlayListProvider
Provides the ordering of the played tracks.
Constructor Summary | |
---|---|
PlayListProvider(IAudioFileCollection collection,
IIndexer indexer)
Constructor |
Method Summary | |
---|---|
void |
arrange()
arranges the audiofilearray as specified from the indexer. |
void |
cleanUP(DefaultChannelProvider provider)
cleans the file list. removes and closes all finished streams from the AudioFileCollection. |
AudioFile |
getAudioFile(int trackNO)
returns the audioInputStream of the |
int |
getMaxSupportedValue()
returns the maximal supported sample value |
int |
getMinSupportedValue()
returns the minimal supported sample value |
javax.sound.sampled.AudioInputStream |
getStream(int trackNO)
returns the audioInputStream of the |
int |
normalize(int i,
int sample)
returns the normalized samplevalue |
void |
rearrange(int root)
arranges the audiofilearray as specified from the indexer. |
int |
size()
returns the NO of containing files |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayListProvider(IAudioFileCollection collection, IIndexer indexer)
collection
- indexer
- Method Detail |
---|
public void arrange()
public void rearrange(int root)
root
- public void cleanUP(DefaultChannelProvider provider) throws java.io.IOException
java.io.IOException
public int size()
public AudioFile getAudioFile(int trackNO)
trackNO
-
public javax.sound.sampled.AudioInputStream getStream(int trackNO)
trackNO
-
public int normalize(int i, int sample)
i
- sample
-
public int getMaxSupportedValue()
public int getMinSupportedValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |