public class CAAudioInputStream extends AudioInputStream
CANativePeerInputStream
.format, frameLength, framePos, frameSize
Constructor and Description |
---|
CAAudioInputStream(CANativePeerInputStream nativePeerInputStream,
AudioFormat format,
long frameLength) |
Modifier and Type | Method and Description |
---|---|
long |
getFrameLength() |
boolean |
isSeekable()
Indicates whether this stream is seekable.
|
void |
seek(long time,
TimeUnit timeUnit)
Positions the stream at the desired timestamp.
|
public CAAudioInputStream(CANativePeerInputStream nativePeerInputStream, AudioFormat format, long frameLength)
public long getFrameLength()
getFrameLength
in class AudioInputStream
public boolean isSeekable()
public void seek(long time, TimeUnit timeUnit) throws UnsupportedOperationException, IOException
time
- timetimeUnit
- time unitUnsupportedOperationException
- if the operation is not supportedIOException
- if something goes wrongCopyright © 2011–2024 tagtraum industries incorporated. All rights reserved.