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 void
close()
javax.sound.sampled.AudioFormat
getFormat()
java.nio.ByteBuffer
read(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:
getFormat
in interfaceIAudioStream
-
read
@Nonnull public java.nio.ByteBuffer read(int capacity)
- Specified by:
read
in interfaceIAudioStream
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-