public interface SoundConverter
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Callback method called when no more data is available before closing
SoundPlayer's output to the sound device.
|
void |
putSamples(byte[] inBuffer,
int nbBytes)
Notification from the SoundPlayer that the given number of
samples is available in inBuffer to be converted by the
SoundConverter.
|
int |
receiveSamples(byte[] outBuffer,
int nbBytes)
Notification from the SoundPlayer to get back the converted data in
outBuffer.
|
void |
update()
Callback method called each time before the new samples from the inBuffer
are fed into the converter.
|
void putSamples(byte[] inBuffer, int nbBytes)
int receiveSamples(byte[] outBuffer, int nbBytes)
void update()
void cleanup()