Package net.minecraftforge.debug.client
Class AudioStreamTest.SineStream
- java.lang.Object
-
- net.minecraftforge.debug.client.AudioStreamTest.SineStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,IAudioStream
- Enclosing class:
- AudioStreamTest
public static class AudioStreamTest.SineStream extends java.lang.Object implements IAudioStream
-
-
Constructor Summary
Constructors Constructor Description SineStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()javax.sound.sampled.AudioFormatgetFormat()java.nio.ByteBufferread(int capacity)
-
-
-
Field Detail
-
FORMAT
private static final javax.sound.sampled.AudioFormat FORMAT
-
DT
private static final double DT
- See Also:
- Constant Field Values
-
value
private static double value
-
-
Method Detail
-
getFormat
@Nonnull public javax.sound.sampled.AudioFormat getFormat()
- Specified by:
getFormatin interfaceIAudioStream
-
read
@Nonnull public java.nio.ByteBuffer read(int capacity)
- Specified by:
readin interfaceIAudioStream
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-