public class MFAudioInputStream extends AudioInputStream
MFNativePeerInputStream
.format, frameLength, framePos, frameSize
Constructor and Description |
---|
MFAudioInputStream(MFNativePeerInputStream nativePeerInputStream,
AudioFormat format,
long length) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSeekable()
Indicates whether this stream is seekable.
|
void |
seek(long time,
TimeUnit timeUnit)
Positions the stream at the desired timestamp.
|
available, close, getFormat, getFrameLength, mark, markSupported, read, read, read, reset, skip
public MFAudioInputStream(MFNativePeerInputStream nativePeerInputStream, AudioFormat format, long length)
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–2018 tagtraum industries incorporated. All rights reserved.