Interface SoundCloudSegmentDecoder
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
SoundCloudMp3SegmentDecoder,SoundCloudOpusSegmentDecoder
public interface SoundCloudSegmentDecoder extends java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSoundCloudSegmentDecoder.Factory
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidplayStream(AudioProcessingContext context, long startPosition, long desiredPosition)voidprepareStream(boolean beginning)voidresetStream()
-
-
-
Method Detail
-
prepareStream
void prepareStream(boolean beginning) throws java.io.IOException- Throws:
java.io.IOException
-
resetStream
void resetStream() throws java.io.IOException- Throws:
java.io.IOException
-
playStream
void playStream(AudioProcessingContext context, long startPosition, long desiredPosition) throws java.lang.InterruptedException, java.io.IOException
- Throws:
java.lang.InterruptedExceptionjava.io.IOException
-
-