Package net.minecraftforge.debug.client
Class AudioStreamTest.SineStream
java.lang.Object
net.minecraftforge.debug.client.AudioStreamTest.SineStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AudioStream
- Enclosing class:
- AudioStreamTest
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final double
private static final AudioFormat
private static double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
@NotNull AudioFormat
@NotNull ByteBuffer
read
(int capacity)
-
Field Details
-
FORMAT
-
DT
private static final double DT- See Also:
-
value
private static double value
-
-
Constructor Details
-
SineStream
public SineStream()
-
-
Method Details
-
getFormat
- Specified by:
getFormat
in interfaceAudioStream
-
read
- Specified by:
read
in interfaceAudioStream
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-