Package samer.audio
Interface AudioSink
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static classAudioSink.Util
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclose()voiddispose()booleanisOpen()voidopen()Taskwriter(double[] buf, int off, int len)Return a task which takes samples from the given buffer The idea is that the audio sink can choose the right kind of writer depending on the format of the audio stream, and then handle any conversions automatically.Taskwriter(float[] buf, int off, int len)
-
-
-
Method Detail
-
isOpen
boolean isOpen()
-
open
void open() throws java.lang.Exception
- Throws:
java.lang.Exception
-
close
void close()
-
dispose
void dispose()
-
writer
Task writer(double[] buf, int off, int len)
Return a task which takes samples from the given buffer The idea is that the audio sink can choose the right kind of writer depending on the format of the audio stream, and then handle any conversions automatically.
-
writer
Task writer(float[] buf, int off, int len)
-
-