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

📄 headspacemixer.html

📁 这是一个JAVA的代码
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DT><B>Returns:</B><DD>sound duration in milliseconds if this can be determined, otherwise (for non-cached streams) Sound.DURATION_UNKNOWN is returned</DL></DD></DL><HR><A NAME="getNumberOfChannelsUsed(int)"><!-- --></A><H3>getNumberOfChannelsUsed</H3><PRE>public int <B>getNumberOfChannelsUsed</B>(int&nbsp;index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE></B></DD><DD>Retrieves the number of channels (on executing audio device) that  this sound is using, if it is playing, or is expected to use  if it were begun to be played.  This form of this method takes the sound's current state (including whether it is muted or unmuted) into account.<P> For some AudioDevice3D implementations: <UL>     Muted sound take channels up on the systems mixer (because they're         rendered as samples playing with gain zero.<P>     A single sound could be rendered using multiple samples, each taking          up mixer channels.</UL> <P>  This method should only be called by Java3D Core and NOT by any application.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html#getNumberOfChannelsUsed(int)">getNumberOfChannelsUsed</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE><DT><B>Overrides:</B><DD><CODE>getNumberOfChannelsUsed</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3D</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference number to device driver sample<DT><B>Returns:</B><DD>number of channels used by sound if it were playing</DL></DD></DL><HR><A NAME="getNumberOfChannelsUsed(int, boolean)"><!-- --></A><H3>getNumberOfChannelsUsed</H3><PRE>public int <B>getNumberOfChannelsUsed</B>(int&nbsp;index,                                   boolean&nbsp;muted)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE></B></DD><DD>Retrieves the number of channels (on executing audio device) that  this sound is using, if it is playing, or is projected to use if it were to be started playing.  Rather than using the actual current muted/unmuted state of the sound, the muted parameter is used in making the determination. <P>  This method should only be called by Java3D Core and NOT by any application.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html#getNumberOfChannelsUsed(int, boolean)">getNumberOfChannelsUsed</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE><DT><B>Overrides:</B><DD><CODE>getNumberOfChannelsUsed</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3D</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference number to device driver sample<DD><CODE>muted</CODE> - flag to use as the current muted state ignoring current mute state<DT><B>Returns:</B><DD>number of channels used by sound if it were playing</DL></DD></DL><HR><A NAME="getStartTime(int)"><!-- --></A><H3>getStartTime</H3><PRE>public long <B>getStartTime</B>(int&nbsp;index)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE></B></DD><DD>Returns the system time of when the sound was last "started".  Note that this start time will be as accurate as the AudioDevice implementation can make it - but that it is not guaranteed to be exact. <P>  This method should only be called by Java3D Core and NOT by any application.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html#getStartTime(int)">getStartTime</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE><DT><B>Overrides:</B><DD><CODE>getStartTime</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3D</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference number to device driver sample<DT><B>Returns:</B><DD>system time in milliseconds of the last time sound was started</DL></DD></DL><HR><A NAME="setLoop(int, int)"><!-- --></A><H3>setLoop</H3><PRE>public void <B>setLoop</B>(int&nbsp;index,                    int&nbsp;count)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE></B></DD><DD>Sets a sound's loop count. A full description of this parameter and how it is used is in  the documentation for Sound.setLoop. <P>  This method should only be called by Java3D Core and NOT by any application.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html#setLoop(int, int)">setLoop</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE><DT><B>Overrides:</B><DD><CODE>setLoop</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3D</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference number to device driver sample<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Sound.html#setLoop(int)"><CODE>Sound.setLoop(int)</CODE></A></DL></DD></DL><HR><A NAME="setGain(float)"><!-- --></A><H3>setGain</H3><PRE>public void <B>setGain</B>(float&nbsp;scaleFactor)</PRE><DL><DD><B>Description copied from class: <CODE>com.sun.j3d.audioengines.AudioEngine3DL2</CODE></B></DD><DD>Set overall gain control of all sounds playing on the audio device.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html#setGain(float)">setGain</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html">AudioDevice3DL2</A></CODE><DT><B>Overrides:</B><DD><CODE>setGain</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3DL2</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scaleFactor</CODE> - scale factor applied to calculated amplitudes for all sounds playing on this device</DL></DD></DL><HR><A NAME="pause()"><!-- --></A><H3>pause</H3><PRE>public void <B>pause</B>()</PRE><DL><DD>Pauses audio device engine without closing the device and associated threads. Causes all cached sounds to be paused and all streaming sounds to be stopped.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html#pause()">pause</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html">AudioDevice3DL2</A></CODE><DT><B>Overrides:</B><DD><CODE>pause</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3DL2</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="resume()"><!-- --></A><H3>resume</H3><PRE>public void <B>resume</B>()</PRE><DL><DD>Resumes audio device engine (if previously paused) without reinitializing     * the device. Causes all paused cached sounds to be resumed and all streaming sounds restarted.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html#resume()">resume</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html">AudioDevice3DL2</A></CODE><DT><B>Overrides:</B><DD><CODE>resume</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3DL2</CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setRateScaleFactor(int, float)"><!-- --></A><H3>setRateScaleFactor</H3><PRE>public void <B>setRateScaleFactor</B>(int&nbsp;index,                               float&nbsp;rateScaleFactor)</PRE><DL><DD><B>Description copied from class: <CODE>com.sun.j3d.audioengines.AudioEngine3DL2</CODE></B></DD><DD>Set scale factor applied to sample playback rate for a particular sound associated with the audio device. Changing the device sample rate affects both the pitch and speed. This scale factor is applied to ALL sound types. Changes (scales) the playback rate of a sound independent of Doppler rate changes.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html#setRateScaleFactor(int, float)">setRateScaleFactor</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3DL2.html">AudioDevice3DL2</A></CODE><DT><B>Overrides:</B><DD><CODE>setRateScaleFactor</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3DL2</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference to device driver sample<DD><CODE>rateScaleFactor</CODE> - non-negative factor applied to calculated  amplitudes for all sounds playing on this device<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/Sound.html#setRateScaleFactor(float)"><CODE>Sound.setRateScaleFactor(float)</CODE></A></DL></DD></DL><HR><A NAME="setRolloff(float)"><!-- --></A><H3>setRolloff</H3><PRE>public void <B>setRolloff</B>(float&nbsp;rolloff)</PRE><DL><DD>Set rolloff value for current aural attribute applied to all samples. For each sample, recalculate rate and force this new rate to be applied.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html#setRolloff(float)">setRolloff</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE><DT><B>Overrides:</B><DD><CODE>setRolloff</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3D</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rolloff</CODE> - scale factor applied to standard speed of sound.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/AuralAttributes.html#setRolloff(float)"><CODE>AuralAttributes.setRolloff(float)</CODE></A></DL></DD></DL><HR><A NAME="setFrequencyScaleFactor(float)"><!-- --></A><H3>setFrequencyScaleFactor</H3><PRE>public void <B>setFrequencyScaleFactor</B>(float&nbsp;scaleFactor)</PRE><DL><DD>Set frequency scale factor for current aural attribute applied to all samples. For each sample, recalculate rate and force this new rate to be applied.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html#setFrequencyScaleFactor(float)">setFrequencyScaleFactor</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE><DT><B>Overrides:</B><DD><CODE>setFrequencyScaleFactor</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3D</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scaleFactor</CODE> - frequency scale factor applied to samples normal playback rate.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/AuralAttributes.html#setFrequencyScaleFactor(float)"><CODE>AuralAttributes.setFrequencyScaleFactor(float)</CODE></A></DL></DD></DL><HR><A NAME="setVelocityScaleFactor(float)"><!-- --></A><H3>setVelocityScaleFactor</H3><PRE>public void <B>setVelocityScaleFactor</B>(float&nbsp;scaleFactor)</PRE><DL><DD>Set velocity scale factor for current aural attribute applied to all samples when Doppler is calculated. For each sample, recalculate rate and force this new rate to be applied.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html#setVelocityScaleFactor(float)">setVelocityScaleFactor</A></CODE> in interface <CODE><A HREF="../../../../../javax/media/j3d/AudioDevice3D.html">AudioDevice3D</A></CODE><DT><B>Overrides:</B><DD><CODE>setVelocityScaleFactor</CODE> in class <CODE>com.sun.j3d.audioengines.AudioEngine3D</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scaleFactor</CODE> - scale factor applied to postional samples' listener-to-soundSource velocity. playback rate.<DT><B>See Also:</B><DD><A HREF="../../../../../javax/media/j3d/AuralAttributes.html#setVelocityScaleFactor(float)"><CODE>AuralAttributes.setVelocityScaleFactor(float)</CODE></A></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=3 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="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tr

⌨️ 快捷键说明

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