|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.speech4j.speech.NativeObject | +--com.speech4j.speech.Audio | +--com.speech4j.speech.AudioDest
Represents IAudioDest interface. FreeSpace() and BookMark() are not implemented.
Constructor Summary | |
AudioDest()
|
Method Summary | |
void |
insertData(byte[] data)
See IAudioDest::DataSet(). |
void |
insertPause(int mills)
Inserts silence. |
Methods inherited from class com.speech4j.speech.Audio |
claim, flush, getLevel, getPosn, getTotal, getWaveFormat, setLevel, setWaveFormat, start, Stop, unClaim |
Methods inherited from class com.speech4j.speech.NativeObject |
bytes2String, cleanup, getObjID, processMessages, stopProcessingMessages, string2Bytes, testSpeech |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AudioDest()
Method Detail |
public void insertPause(int mills) throws SpeechException
mills
- pause length in milliseconds.
SpeechException
- If a corresponding native object does not exist
(create() has not been invoked or destroy() has been invoked)
or DataSet() returns nonzero error code.public void insertData(byte[] data) throws SpeechException
data
- Audio data to insert.
SpeechException
- If a corresponding native object does not exist
(create() has not been invoked or destroy() has been invoked)
or DataSet() returns nonzero error code.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |