public static class WavInput.Source extends Object implements AudioSource, Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
AudioFormat |
getFormat() |
int |
read(int[] samples,
int max) |
int |
readFloat(FloatBuffer samples) |
public Source(WavInput src)
public AudioFormat getFormat()
getFormat
in interface AudioSource
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public int read(int[] samples, int max) throws IOException
IOException
public int readFloat(FloatBuffer samples) throws IOException
readFloat
in interface AudioSource
IOException
Copyright © 2019. All rights reserved.