public class SilenceAudioInputStream extends AudioInputStream
format, frameLength, framePos, frameSize| Constructor and Description |
|---|
SilenceAudioInputStream(double duration,
AudioFormat format)
Construct an audio input stream from which
duration seconds of silence can be read. |
available, close, getFormat, getFrameLength, mark, markSupported, read, read, read, reset, skippublic SilenceAudioInputStream(double duration,
AudioFormat format)
duration seconds of silence can be read.duration - the desired duration of the silence, in secondsformat - the desired audio format of the audio input stream. getFrameSize() and getFrameRate() must return meaningful
values.Copyright © 2000–2016 DFKI GmbH. All rights reserved.