quicktime.std.sg
Class AudioChannel

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.std.comp.ComponentIdentifier
              |
              +--quicktime.std.comp.Component
                    |
                    +--quicktime.std.sg.SGChannel
                          |
                          +--quicktime.std.sg.AudioChannel
All Implemented Interfaces:
quicktime.jdirect.InterfaceLib, quicktime.jdirect.PrimitivesLib, quicktime.jdirect.QuickTimeLib, quicktime.jdirect.SharedLibrary, com.apple.jdirect.SharedLibrary
Direct Known Subclasses:
SGMusicChannel, SGSoundChannel

public abstract class AudioChannel
extends SGChannel
implements quicktime.jdirect.QuickTimeLib

Assists in importing sound into a movie. The SGChannel implements methods for a corresponding QuickTime ComponentInstance structure. Refer to SGChannel in QuickTime Components


Fields inherited from interface quicktime.jdirect.QuickTimeLib
JDirect_MacOSX, libraryInstance, name
 
Method Summary
 float getVolume()
          Allows you to determine a channel's sound volume setting.
 void setVolume(float volume)
          Allows you to set a channel's sound volume setting.
 
Methods inherited from class quicktime.std.sg.SGChannel
getDataSourceName, getDeviceList, getPlayFlags, getSampleDescription, getSequenceGrabber, getSettings, getTimeScale, getUsage, setDataSourceName, setDevice, setOutput, setPlayFlags, setSettings, settingsDialog, settingsDialog, setUsage
 
Methods inherited from class quicktime.std.comp.Component
count
 
Methods inherited from class quicktime.std.comp.ComponentIdentifier
find, find, getInfo, toString
 
Methods inherited from class quicktime.QTObject
disposeQTObject, equals, ID
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setVolume

public void setVolume(float volume)
               throws StdQTException
Allows you to set a channel's sound volume setting.

QuickTime::SGSetChannelVolume QuickTime::SGSetChannelVolume

Parameters:
volume - the new volume setting

getVolume

public float getVolume()
                throws StdQTException
Allows you to determine a channel's sound volume setting.

QuickTime::SGGetChannelVolume QuickTime::SGGetChannelVolume

Returns:
the current volume setting