SoundSourcepublic class JavaxSoundManager extends AbstractSoundManager
SoundSource.DataFormatMEDIA_DIR| Constructor | Description |
|---|---|
JavaxSoundManager(boolean mediaDebug,
Logger logger,
String peersHome) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
init() |
|
byte[] |
readData() |
read raw data linear PCM 8kHz, 16 bits signed, mono-channel, little endian
|
int |
writeData(byte[] buffer,
int offset,
int length) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdataProduced, finished, waitFinishedpublic void init()
init in class AbstractSoundManagerpublic void close()
close in class AbstractSoundManagerpublic byte[] readData()
SoundSourcepublic int writeData(byte[] buffer,
int offset,
int length)
writeData in class AbstractSoundManagerCopyright © 2018. All rights reserved.