📄 sndcommand.html
字号:
</TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size (the number of bytes) that are required for this class</DL><!-- ========= 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="SndCommand(int)"><!-- --></A><H3>SndCommand</H3><PRE>public <B>SndCommand</B>(int cmd) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a SndCommand object and performs initialization<DD><DL><DT><B>Parameters:</B><DD><CODE>cmd</CODE> - the sound command (from StdQTConstants)</DL></DD></DL><HR><A NAME="SndCommand(int, int, int)"><!-- --></A><H3>SndCommand</H3><PRE>public <B>SndCommand</B>(int cmd, int param1, int param2) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a SndCommand object and performs initialization<DD><DL><DT><B>Parameters:</B><DD><CODE>cmd</CODE> - the sound command (from SoundConstants)<DD><CODE>param1</CODE> - optional command parameter<DD><CODE>param2</CODE> - optional command parameter</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="setCmd(int)"><!-- --></A><H3>setCmd</H3><PRE>public void <B>setCmd</B>(int cmd)</PRE><DL><DD>Sets the command.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cmd</CODE> - the sound command (from StdQTConstants)</DL></DD></DL><HR><A NAME="getCmd()"><!-- --></A><H3>getCmd</H3><PRE>public int <B>getCmd</B>()</PRE><DL><DD>Retrieves the command.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>cmd the sound command</DL></DD></DL><HR><A NAME="setParam1(int)"><!-- --></A><H3>setParam1</H3><PRE>public void <B>setParam1</B>(int param1)</PRE><DL><DD>Sets the first optional parameter.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>param1</CODE> - optional command parameter</DL></DD></DL><HR><A NAME="getParam1()"><!-- --></A><H3>getParam1</H3><PRE>public int <B>getParam1</B>()</PRE><DL><DD>Retrieves the first optional parameter.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>optional command parameter</DL></DD></DL><HR><A NAME="setParam2(int)"><!-- --></A><H3>setParam2</H3><PRE>public void <B>setParam2</B>(int param2)</PRE><DL><DD>Sets the second optional parameter.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>param2</CODE> - optional command parameter</DL></DD></DL><HR><A NAME="getParam2()"><!-- --></A><H3>getParam2</H3><PRE>public int <B>getParam2</B>()</PRE><DL><DD>Retrieves the second optional parameter.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>optional command parameter</DL></DD></DL><HR><A NAME="setBuffer(quicktime.sound.ExtScheduledSoundHeader)"><!-- --></A><H3>setBuffer</H3><PRE>public void <B>setBuffer</B>(<A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html">ExtScheduledSoundHeader</A> buffer)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getBuffer()"><!-- --></A><H3>getBuffer</H3><PRE>public <A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html">ExtScheduledSoundHeader</A> <B>getBuffer</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setVolumes(float, float)"><!-- --></A><H3>setVolumes</H3><PRE>public void <B>setVolumes</B>(float leftVol, float rightVol)</PRE><DL><DD>Gets the value of the right volume IFF the cmd field is volumeCmd otherwise this call returns.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>vol</CODE> - the new volume for the right channel</DL></DD></DL><HR><A NAME="getRightVolume()"><!-- --></A><H3>getRightVolume</H3><PRE>public float <B>getRightVolume</B>()</PRE><DL><DD>Gets the value of the right volume IFF the cmd field is getVolumeCmd or volumeCmd otherwise this call returns 0.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the right volume value</DL></DD></DL><HR><A NAME="getLeftVolume()"><!-- --></A><H3>getLeftVolume</H3><PRE>public float <B>getLeftVolume</B>()</PRE><DL><DD>Gets the value of the left volume IFF the cmd field is getVolumeCmd or volumeCmd otherwise this call returns 0.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the right volume value</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a string representation of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTPointerRef.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String</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> </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/SndCommand.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/sound/SndChannel.html"><B>PREV CLASS</B></A> <A HREF="../../quicktime/sound/SndHandle.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="SndCommand.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -