Package ipsk.audio.dsp
Class LevelMeasureFloatAudioOutputStream
- java.lang.Object
-
- ipsk.audio.dsp.LevelMeasureFloatAudioOutputStream
-
- All Implemented Interfaces:
FloatAudioOutputStream,InterleavedFloatOutputStream,java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class LevelMeasureFloatAudioOutputStream extends java.lang.Object implements FloatAudioOutputStream
- Author:
- klausj
-
-
Field Summary
Fields Modifier and Type Field Description protected static doubleLN
-
Constructor Summary
Constructors Constructor Description LevelMeasureFloatAudioOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()LevelInfosBeangetLevelInfosBean()voidsetAudioFormat(javax.sound.sampled.AudioFormat audioFormat)voidsetChannels(int channels)voidsetLevelInfosBean(LevelInfosBean levelInfosBean)voidwrite(double[][] buf, int offset, int len)
-
-
-
Method Detail
-
setChannels
public void setChannels(int channels)
- Specified by:
setChannelsin interfaceInterleavedFloatOutputStream
-
write
public void write(double[][] buf, int offset, int len) throws java.io.IOException- Specified by:
writein interfaceInterleavedFloatOutputStream- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Throws:
java.io.IOException
-
setAudioFormat
public void setAudioFormat(javax.sound.sampled.AudioFormat audioFormat)
- Specified by:
setAudioFormatin interfaceFloatAudioOutputStream
-
getLevelInfosBean
public LevelInfosBean getLevelInfosBean()
-
setLevelInfosBean
public void setLevelInfosBean(LevelInfosBean levelInfosBean)
-
-