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

📄 spbdevice.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<HR><A NAME="setSampleSize(int)"><!-- --></A><H3>setSampleSize</H3><PRE>public void <B>setSampleSize</B>(int&nbsp;sampleSize)                   throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Set the number of bits per sample.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sampleSize</CODE> - is the number of bits in an individual sample.</DL></DD></DL><HR><A NAME="getSampleSize()"><!-- --></A><H3>getSampleSize</H3><PRE>public int <B>getSampleSize</B>()                  throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns the number of bits per sample.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>number of bits in a sample.</DL></DD></DL><HR><A NAME="getSampleSizeAvailable()"><!-- --></A><H3>getSampleSizeAvailable</H3><PRE>public int[] <B>getSampleSizeAvailable</B>()                             throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns an integer list containing the sample sizes available.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>an integer array containing the list of samples.</DL></DD></DL><HR><A NAME="setStereoInputGain(float, float)"><!-- --></A><H3>setStereoInputGain</H3><PRE>public void <B>setStereoInputGain</B>(float&nbsp;leftChannel,                               float&nbsp;rightChannel)                        throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Set the the current stereo sound input gain.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>leftChannel</CODE> - the gain for the left channel (range 0.5 to 1.5)<DD><CODE>rightChannel</CODE> - the gain for the right channel (range 0.5 to 1.5)</DL></DD></DL><HR><A NAME="getStereoInputGainLeft()"><!-- --></A><H3>getStereoInputGainLeft</H3><PRE>public float <B>getStereoInputGainLeft</B>()                             throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns the current gain setting for the left channel of a stereo device	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the gain setting</DL></DD></DL><HR><A NAME="getStereoInputGainRight()"><!-- --></A><H3>getStereoInputGainRight</H3><PRE>public float <B>getStereoInputGainRight</B>()                              throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns the current gain setting for the right channel of a stereo device	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the gain setting</DL></DD></DL><HR><A NAME="setCompressionType(int)"><!-- --></A><H3>setCompressionType</H3><PRE>public void <B>setCompressionType</B>(int&nbsp;compType)                        throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Set the compression type.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>compType</CODE> - the compressor type.</DL></DD></DL><HR><A NAME="getCompressionType()"><!-- --></A><H3>getCompressionType</H3><PRE>public int <B>getCompressionType</B>()                       throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns the current compression type.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the compression type</DL></DD></DL><HR><A NAME="getCompressionAvailable()"><!-- --></A><H3>getCompressionAvailable</H3><PRE>public int[] <B>getCompressionAvailable</B>()                              throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns an integer (OSTypes) list containing the available compression types.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>an integer array containing the list of compression types.</DL></DD></DL><HR><A NAME="hasOptionsDialog()"><!-- --></A><H3>hasOptionsDialog</H3><PRE>public boolean <B>hasOptionsDialog</B>()                         throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns true if the current device supports an options dialog box and false if not.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a boolean</DL></DD></DL><HR><A NAME="showOptionsDialog()"><!-- --></A><H3>showOptionsDialog</H3><PRE>public void <B>showOptionsDialog</B>()                       throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Shows the options dialog if available.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()                         throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Returns the name of this device.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/SOUND/imsoundinput.1a.htm#pgfId=880">QuickTime::SPBGetDeviceInfo</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String</DL></DD></DL><HR><A NAME="getActiveLevels()"><!-- --></A><H3>getActiveLevels</H3><PRE>public int[] <B>getActiveLevels</B>()                      throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Get the current signal level for each active channel.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an short[] of the current signal level</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../quicktime/QTObject.html">QTObject</A></CODE></B></DD><DD>A String representation of the class.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/QTObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/QTObject.html">QTObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String representation of this object.</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/SPBDevice.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/sound/SPB.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SPBDevice.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 + -