com.speech4j.speech
Class AudioSourceFile

java.lang.Object
  |
  +--com.speech4j.speech.NativeObject
        |
        +--com.speech4j.speech.Audio
              |
              +--com.speech4j.speech.AudioSource
                    |
                    +--com.speech4j.speech.AudioSourceFile

public class AudioSourceFile
extends AudioSource

Represents File Audio Source COM Object Description:

Version:
1.1
Author:
Pavel Vlasov

Constructor Summary
AudioSourceFile(java.lang.String fileName)
          Constructor.
 
Method Summary
protected  void finalize()
          Calls destroy() to destroy native object.
 void flushFile()
          IAudioFile::Flush()
 
Methods inherited from class com.speech4j.speech.AudioSource
getData, getDataAvailable
 
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudioSourceFile

public AudioSourceFile(java.lang.String fileName)
                throws SpeechException
Constructor. Invokes create() to create native object.

Parameters:
fileName - File name.
Method Detail

flushFile

public void flushFile()
               throws SpeechException
IAudioFile::Flush()

SpeechException

finalize

protected void finalize()
Calls destroy() to destroy native object.

Overrides:
finalize in class java.lang.Object


Copyright © 2003 Pavel Vlasov. All Rights Reserved.