📄 sgchannel.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:51:01 PDT 2002 --><TITLE>: Class SGChannel</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SGChannel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/std/sg/SequenceGrabber.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/sg/SGChannelInfo.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="SGChannel.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.std.sg</FONT><BR>Class SGChannel</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/QTObject.html">quicktime.QTObject</A> | +--<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">quicktime.std.comp.ComponentIdentifier</A> | +--<A HREF="../../../quicktime/std/comp/Component.html">quicktime.std.comp.Component</A> | +--<B>quicktime.std.sg.SGChannel</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../quicktime/jdirect/InterfaceLib.html">InterfaceLib</A>, <A HREF="../../../quicktime/jdirect/PrimitivesLib.html">PrimitivesLib</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A>, <A HREF="../../../quicktime/jdirect/SharedLibrary.html">SharedLibrary</A>, com.apple.jdirect.SharedLibrary</DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../quicktime/std/sg/AudioChannel.html">AudioChannel</A>, <A HREF="../../../quicktime/std/sg/VisualChannel.html">VisualChannel</A></DD></DL><HR><DL><DT>public abstract class <B>SGChannel</B><DT>extends <A HREF="../../../quicktime/std/comp/Component.html">Component</A><DT>implements <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></DL><P>Assists in importing sound and/or video into a movie. The SGChannel implements methods for a corresponding QuickTime ComponentInstance structure. Refer to SGChannel in QuickTime Components <BR><P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.jdirect.QuickTimeLib"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.jdirect.<A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/jdirect/QuickTimeLib.html#JDirect_MacOSX">JDirect_MacOSX</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#libraryInstance">libraryInstance</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#name">name</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/sg/SGDataSourceInfo.html">SGDataSourceInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getDataSourceName()">getDataSourceName</A></B>()</CODE><BR> Get the source identification information associated with a sequence grabber channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/sg/SGDeviceList.html">SGDeviceList</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getDeviceList(int)">getDeviceList</A></B>(int selectionFlags)</CODE><BR> Get the list of currently available Sound Input Driver names.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getPlayFlags()">getPlayFlags</A></B>()</CODE><BR> Allows you to get the speed and quality with which the sequence grabber displays data from a channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getSampleDescription()">getSampleDescription</A></B>()</CODE><BR> This method allows you to retrieve a sample description from the SGChannel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getSequenceGrabber()">getSequenceGrabber</A></B>()</CODE><BR> Returns the SequenceGrabber that the channel is attached too.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getSettings()">getSettings</A></B>()</CODE><BR> Retrieves the current settings of the SequenceGrabber channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getTimeScale()">getTimeScale</A></B>()</CODE><BR> This method allows you to retrieve a channel誷 time scale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#getUsage()">getUsage</A></B>()</CODE><BR> Returns how the channel is being used by the SequenceGrabber component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#setDataSourceName(java.lang.String, int)">setDataSourceName</A></B>(java.lang.String name, int scriptTag)</CODE><BR> Set the source identification information associated with a sequence grabber channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#setDevice(java.lang.String)">setDevice</A></B>(java.lang.String name)</CODE><BR> The method allows the sequence grabber to assign a device to your channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#setOutput(quicktime.std.sg.SGOutput)">setOutput</A></B>(<A HREF="../../../quicktime/std/sg/SGOutput.html">SGOutput</A> output)</CODE><BR> <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refSeqGrabComp.c.htm#refSeq392">QuickTime::SGSetChannelOutput</a> </b><BR><BR></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#setPlayFlags(int)">setPlayFlags</A></B>(int playFlags)</CODE><BR> Allows you to influence the speed and quality with which the sequence grabber displays data from a channel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#setSettings(quicktime.std.movies.media.UserData)">setSettings</A></B>(<A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A> ud)</CODE><BR> Configure a SequenceGrabber channel based on the UserData passed in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#settingsDialog()">settingsDialog</A></B>()</CODE><BR> Instructs the sequence grabber to display its settings dialog box to the user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#settingsDialog(int, quicktime.std.comp.Component[])">settingsDialog</A></B>(int flags, <A HREF="../../../quicktime/std/comp/Component.html">Component</A>[] panelList)</CODE><BR> Instructs the sequence grabber to display its settings dialog box to the user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/sg/SGChannel.html#setUsage(int)">setUsage</A></B>(int usage)</CODE><BR> Specifies how a channel is to be used by the SequenceGrabber component.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/Component.html#count()">count</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.std.comp.ComponentIdentifier"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -