⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sgsoundchannel.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</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>&nbsp;<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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="SGSoundChannel(quicktime.std.sg.SequenceGrabber)"><!-- --></A><H3>SGSoundChannel</H3><PRE>public <B>SGSoundChannel</B>(<A HREF="../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A>&nbsp;owner)               throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Creates a sequence grabber channel and assigns a channel component to the channel.  The channel component is responsible for providing digitized data to the  sequence grabber component.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.b.htm#imSeqG214">QuickTime::SGNewChannel</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>owner</CODE> - specifies the sequence grabber component the channel is attached to.</DL></DD></DL><!-- ============ 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></TABLE><A NAME="getSoundDescription()"><!-- --></A><H3>getSoundDescription</H3><PRE>public final <A HREF="../../../quicktime/std/movies/media/SoundDescription.html">SoundDescription</A> <B>getSoundDescription</B>()                                           throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method allows you to retrieve a music sample description from the SGChannel. </DL></DD><DD><DL><DT><B>Returns:</B><DD>a SoundDescription object.</DL></DD></DL><HR><A NAME="setSoundInputParameters(int, int, int)"><!-- --></A><H3>setSoundInputParameters</H3><PRE>public void <B>setSoundInputParameters</B>(int&nbsp;sampleSize,                                    int&nbsp;numChannels,                                    int&nbsp;compressionType)                             throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set some parameters that relate to sound recording.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG131">QuickTime::SGSetSoundInputParameters</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG95">QuickTime::SGSetSoundInputParameters</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sampleSize</CODE> - Specifies the number of bits in each sound sample.  		Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..<DD><CODE>numChannels</CODE> - Specifies the number of sound channels used by the sound sample. 		Set this field to 1 for monaural sounds; set it to 2 for stereo sounds...<DD><CODE>compressionType</CODE> - Specifies the number of bits in each sound sample. 		Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..</DL></DD></DL><HR><A NAME="getSoundInputParameters()"><!-- --></A><H3>getSoundInputParameters</H3><PRE>public <A HREF="../../../quicktime/std/sg/SGChannelInfo.html">SGChannelInfo</A> <B>getSoundInputParameters</B>()                                      throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Get some parameters that relate to the current sound recording.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG134">QuickTime::SGGetSoundInputParameters</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG98">QuickTime::SGGetSoundInputParameters</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>Returns</CODE> - an SGChannel Info structure describing the Channel.</DL></DD></DL><HR><A NAME="setSoundInputRate(float)"><!-- --></A><H3>setSoundInputRate</H3><PRE>public void <B>setSoundInputRate</B>(float&nbsp;rate)                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the Sound Input Rate	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG126">QuickTime::SGSetSoundInputRate</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG90">QuickTime::SGSetSoundInputRate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rate</CODE> - Specifies the rate at which the sound channel is to acquire data.</DL></DD></DL><HR><A NAME="getSoundInputRate()"><!-- --></A><H3>getSoundInputRate</H3><PRE>public float <B>getSoundInputRate</B>()                        throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Get the Sound Input Rate	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG128">QuickTime::SGGetSoundInputRate</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG92">QuickTime::SGGetSoundInputRate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rate</CODE> - Specifies the rate at which the sound channel is to acquire data.</DL></DD></DL><HR><A NAME="getInputDriver()"><!-- --></A><H3>getInputDriver</H3><PRE>public <A HREF="../../../quicktime/sound/SPBDevice.html">SPBDevice</A> <B>getInputDriver</B>()                         throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Get the Sound Input Driver.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG114">QuickTime::SGGetSoundInputDriver</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG75">QuickTime::SGGetSoundInputDriver</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Sound Input driver in use by this channel.</DL></DD></DL><HR><A NAME="setRecordChunkSize(int)"><!-- --></A><H3>setRecordChunkSize</H3><PRE>public void <B>setRecordChunkSize</B>(int&nbsp;seconds)                        throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the buffer size for sound recording in seconds	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG119">QuickTime::SGSetSoundRecordChunkSize</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG83">QuickTime::SGSetSoundRecordChunkSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>seconds</CODE> - the buffer size for the channel to use.</DL></DD></DL><HR><A NAME="getRecordChunkSize()"><!-- --></A><H3>getRecordChunkSize</H3><PRE>public int <B>getRecordChunkSize</B>()                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Get the buffer size (in seconds) of the record buffer	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG123">QuickTime::SGGetSoundRecordChunkSize</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG87">QuickTime::SGGetSoundRecordChunkSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Sound Input driver in use by this channel.</DL></DD></DL><HR><A NAME="setInputDriver(java.lang.String)"><!-- --></A><H3>setInputDriver</H3><PRE>public void <B>setInputDriver</B>(java.lang.String&nbsp;driverName)                    throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Set the Sound Input Driver, Automatically calls SGSoundInputDriverChanged	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG110">QuickTime::SGSetSoundInputDriver</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG71">QuickTime::SGSetSoundInputDriver</a> </b><BR><BR>	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabChanComp.13.htm#imSeqG117">QuickTime::SGSoundInputDriverChanged</a>  <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.12.htm#imSeqG79">QuickTime::SGSoundInputDriverChanged</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Sound Input driver in use by this channel.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SGSoundChannel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../quicktime/std/sg/SGOutput.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../quicktime/std/sg/SGTextChannel.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>  &nbsp;&nbsp;<A HREF="SGSoundChannel.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -