com.speech4j.speech
Class AudioDestMultimedia

java.lang.Object
  |
  +--com.speech4j.speech.NativeObject
        |
        +--com.speech4j.speech.Audio
              |
              +--com.speech4j.speech.AudioDest
                    |
                    +--com.speech4j.speech.AudioDestMultimedia

public class AudioDestMultimedia
extends AudioDest

Represents Multimedia Audio Destination Object.

Version:
1.1
Author:
Pavel Vlasov

Constructor Summary
AudioDestMultimedia()
          Constructor.
 
Method Summary
protected  void finalize()
          Invokes destroy() to release the corresponding native object.
 int getDeviceNum()
          Corresponds to IAudioMultiMediaDevice::DeviceNumGet
 void setDeviceNum(int deviceNum)
          Corresponds to IAudioMultiMediaDevice::DeviceNumSet
 
Methods inherited from class com.speech4j.speech.AudioDest
insertData, insertPause
 
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

AudioDestMultimedia

public AudioDestMultimedia()
                    throws SpeechException
Constructor. Invokes create() to create a corresponding native object.

Method Detail

finalize

protected void finalize()
Invokes destroy() to release the corresponding native object.

Overrides:
finalize in class java.lang.Object

getDeviceNum

public int getDeviceNum()
                 throws SpeechException
Corresponds to IAudioMultiMediaDevice::DeviceNumGet

Returns:
device number
SpeechException

setDeviceNum

public void setDeviceNum(int deviceNum)
                  throws SpeechException
Corresponds to IAudioMultiMediaDevice::DeviceNumSet

Parameters:
deviceNum - device number
SpeechException


Copyright © 2003 Pavel Vlasov. All Rights Reserved.