ccs.audio
Interface Track

All Known Implementing Classes:
URLTrack

public interface Track

An audio track. Implementations need to define a suitable equals(); if they don't, pre-cueing (cueing up the next track while the previous track is still playing, to allow a seamless transition) may not work properly.


Method Summary
 java.lang.String getTitle()
           
 java.io.InputStream openStream()
           
 

Method Detail

getTitle

java.lang.String getTitle()
Returns:
The track title, or the best approximation you have thereto. May not be null.

openStream

java.io.InputStream openStream()
                               throws java.io.IOException
Returns:
The track audio data as a stream.
Throws:
java.io.IOException