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 double
LN
-
Constructor Summary
Constructors Constructor Description LevelMeasureFloatAudioOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
LevelInfosBean
getLevelInfosBean()
void
setAudioFormat(javax.sound.sampled.AudioFormat audioFormat)
void
setChannels(int channels)
void
setLevelInfosBean(LevelInfosBean levelInfosBean)
void
write(double[][] buf, int offset, int len)
-
-
-
Method Detail
-
setChannels
public void setChannels(int channels)
- Specified by:
setChannels
in interfaceInterleavedFloatOutputStream
-
write
public void write(double[][] buf, int offset, int len) throws java.io.IOException
- Specified by:
write
in interfaceInterleavedFloatOutputStream
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Throws:
java.io.IOException
-
setAudioFormat
public void setAudioFormat(javax.sound.sampled.AudioFormat audioFormat)
- Specified by:
setAudioFormat
in interfaceFloatAudioOutputStream
-
getLevelInfosBean
public LevelInfosBean getLevelInfosBean()
-
setLevelInfosBean
public void setLevelInfosBean(LevelInfosBean levelInfosBean)
-
-