|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.std.comp.ComponentIdentifier | +--quicktime.std.comp.Component | +--quicktime.streaming.Sourcer
The Sourcer class implements the corresponding data structure of the QTSSourcer component
Fields inherited from interface quicktime.jdirect.QTStreamingLib |
JDirect_MacOSX, libraryInstance |
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Constructor Summary | |
Sourcer(ComponentIdentifier compID)
Creates a new Sourcer component from a specific component identifier |
|
Sourcer(int sourcerType,
int subType,
int manufacturerType)
Creates a new sourcer based on type, subType and manufacturer type |
|
Sourcer(int sourcerType,
int subType,
int manufacturerType,
SourcerInitParams initParams)
Creates a new sourcer based on type, subType, manufacturer type, and optional init parameters |
Method Summary | |
SourcerCallbackParams |
getCallbackParams()
Gets the callback parameters associated with the sourcer |
QTPointer |
getInfo(int selector)
General purpose routine for retrieving information associated with the Sourcer |
SourcerLoopParams |
getLoopParams()
Gets the loop parameters associated with the sourcer |
SourcerTrackParams |
getSourcerTrackParams()
Gets the track parameters associated with the sourcer |
int |
getTimeScale()
Gets the time scale of the sourcer object |
int |
idle(long inTime,
int flags)
Idles the sourcer object |
boolean |
isEnable()
Returns the enabled state of the sourcer |
boolean |
isEnable(int flags)
Returns the enabled state of the sourcer |
static int |
QTSSourcerGetEnable(int inSourcer,
byte[] inEnableMode,
int inFlags)
|
static int |
QTSSourcerGetInfo(int inSourcer,
int inSelector,
byte[] ioParams)
|
static int |
QTSSourcerGetTimeScale(int inSourcer,
int[] outTimeScale)
|
static int |
QTSSourcerIdle(int inSourcer,
long inTime,
int flags,
int[] outFlags)
|
static int |
QTSSourcerInitialize(int inSourcer,
int inInitParams)
|
static int |
QTSSourcerSetEnable(int inSourcer,
byte inEnableMode,
int inFlags)
|
static int |
QTSSourcerSetInfo(int inSourcer,
int inSelector,
int ioParams)
|
static int |
QTSSourcerSetTimeScale(int inSourcer,
int inTimeScale)
|
void |
setCallbackParams(SourcerCallbackParams callbackParams)
Sets the callback parameters associated with the sourcer |
void |
setEnable(boolean enabled)
Enables (or disables) the sourcer object |
void |
setEnable(boolean enabled,
int flags)
Enables (or disables) the sourcer object |
void |
setInfo(int selector,
QTPointer data)
General purpose routine for setting information associated with the Sourcer |
void |
setLoopParams(SourcerLoopParams loopParams)
Sets the loop parameters associated with the sourcer |
void |
setSourcerTrackParams(SourcerTrackParams SourcerTrackParams)
Sets the track parameters associated with the sourcer |
void |
setTimeScale(int scale)
Sets the time scale of the sourcer object |
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 |
Constructor Detail |
public Sourcer(ComponentIdentifier compID) throws QTException
compID
- component identifierpublic Sourcer(int sourcerType, int subType, int manufacturerType) throws QTException
sourcerType
- integer representing type (OSType) of sourcersubType
- integer representing subtype (OSType) of sourcermanufacturerType
- integer representing manufacturer type (OSType) of sourcerpublic Sourcer(int sourcerType, int subType, int manufacturerType, SourcerInitParams initParams) throws QTException
sourcerType
- integer representing type (OSType) of sourcersubType
- integer representing subtype (OSType) of sourcermanufacturerType
- integer representing manufacturer type (OSType) of sourcerinitParams
- sourcer initialization parametersMethod Detail |
public void setInfo(int selector, QTPointer data) throws QTException
selector
- the selector specifying the type of information to be setdata
- data to be set
For specific information setting routine, see the more specific function callssetCallbackParams
,
setLoopParams
,
public QTPointer getInfo(int selector) throws QTException
selector
- the selector specifying the type of information to be setgetCallbackParams
,
getLoopParams
,
public void setCallbackParams(SourcerCallbackParams callbackParams) throws QTException
callbackParams
- the sourcer callback params object specifying callback parameters
public SourcerCallbackParams getCallbackParams() throws QTException
public void setLoopParams(SourcerLoopParams loopParams) throws QTException
loopParams
- the sourcer loop params object specifying loop settings
public SourcerLoopParams getLoopParams() throws QTException
public void setSourcerTrackParams(SourcerTrackParams SourcerTrackParams) throws QTException
SourcerTrackParams
- the track params object specifying track settings
public SourcerTrackParams getSourcerTrackParams() throws QTException
public int idle(long inTime, int flags) throws QTException
inTime
- flags
- idle flags
public void setEnable(boolean enabled) throws QTException
enabled
- true is the sourcer is enabled
public void setEnable(boolean enabled, int flags) throws QTException
enabled
- true is the sourcer is enabledflags
- enable flags for the sourcer
public boolean isEnable() throws QTException
public boolean isEnable(int flags) throws QTException
flags
- flagspublic void setTimeScale(int scale) throws QTException
scale
- the scale of the sourcer
public int getTimeScale() throws QTException
public static int QTSSourcerInitialize(int inSourcer, int inInitParams)
public static int QTSSourcerSetInfo(int inSourcer, int inSelector, int ioParams)
public static int QTSSourcerGetInfo(int inSourcer, int inSelector, byte[] ioParams)
public static int QTSSourcerIdle(int inSourcer, long inTime, int flags, int[] outFlags)
public static int QTSSourcerSetEnable(int inSourcer, byte inEnableMode, int inFlags)
public static int QTSSourcerGetEnable(int inSourcer, byte[] inEnableMode, int inFlags)
public static int QTSSourcerSetTimeScale(int inSourcer, int inTimeScale)
public static int QTSSourcerGetTimeScale(int inSourcer, int[] outTimeScale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |