📄 soundexception.html
字号:
<TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getChannelAvailable()">getChannelAvailable</A></B>()</CODE><BR> Get the maximum number of channels this device can record.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getNumberChannels()">getNumberChannels</A></B>()</CODE><BR> Returns the number of channels that this device is to record.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#setNumberChannels(int)">setNumberChannels</A></B>(int channels)</CODE><BR> Sets the number of channels that this device is to record.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getPlayThruOnOff()">getPlayThruOnOff</A></B>()</CODE><BR> Get the PlayThru level, 0 means it's off.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#setPlayThruOnOff(int)">setPlayThruOnOff</A></B>(int volume)</CODE><BR> Set the PlayThru level, 0 means it's off.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#setSampleRate(float)">setSampleRate</A></B>(float rate)</CODE><BR> Set the sample rate to be produced by this device.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getSampleRate()">getSampleRate</A></B>()</CODE><BR> Gets the sample rate produced by this device.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float[]</CODE></FONT></TD><TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getSampleRateAvailable()">getSampleRateAvailable</A></B>()</CODE><BR> Returns a float list containing the sample rates available.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#setSampleSize(int)">setSampleSize</A></B>(int sampleSize)</CODE><BR> Set the number of bits per sample.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getSampleSize()">getSampleSize</A></B>()</CODE><BR> Returns the number of bits per sample.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getSampleSizeAvailable()">getSampleSizeAvailable</A></B>()</CODE><BR> Returns an integer list containing the sample sizes available.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#setStereoInputGain(float, float)">setStereoInputGain</A></B>(float leftChannel, float rightChannel)</CODE><BR> Set the the current stereo sound input gain.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getStereoInputGainLeft()">getStereoInputGainLeft</A></B>()</CODE><BR> 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></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getStereoInputGainRight()">getStereoInputGainRight</A></B>()</CODE><BR> 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></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#setCompressionType(int)">setCompressionType</A></B>(int compType)</CODE><BR> Set the compression type.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getCompressionType()">getCompressionType</A></B>()</CODE><BR> Returns the current compression type.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getCompressionAvailable()">getCompressionAvailable</A></B>()</CODE><BR> Returns an integer (OSTypes) list containing the available compression types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#hasOptionsDialog()">hasOptionsDialog</A></B>()</CODE><BR> Returns true if the current device supports an options dialog box and false if not.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#showOptionsDialog()">showOptionsDialog</A></B>()</CODE><BR> Shows the options dialog if available.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getName()">getName</A></B>()</CODE><BR> Returns the name of this device.</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>SPBDevice.</B><B><A HREF="../../../quicktime/sound/SPBDevice.html#getActiveLevels()">getActiveLevels</A></B>()</CODE><BR> Get the current signal level for each active 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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#record(boolean)">record</A></B>(boolean flag)</CODE><BR> Record audio data into memory, either synchronously or asynchronously.</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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#pauseRecording()">pauseRecording</A></B>()</CODE><BR> Pause recording from a sound input device.</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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#resumeRecording()">resumeRecording</A></B>()</CODE><BR> Pause recording from a sound input device.</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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#stopRecording()">stopRecording</A></B>()</CODE><BR> End a recording from a sound input device.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#isRecording()">isRecording</A></B>()</CODE><BR> The status of the recording.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#meterLevel()">meterLevel</A></B>()</CODE><BR> The level of the meter.</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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#totalSamplesToRecord()">totalSamplesToRecord</A></B>()</CODE><BR> The total number of samples to record.</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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#numberOfSamplesRecorded()">numberOfSamplesRecorded</A></B>()</CODE><BR> The total number of samples recorded.</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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#totalMsecsToRecord()">totalMsecsToRecord</A></B>()</CODE><BR> The total number of msecs to record.</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>SPB.</B><B><A HREF="../../../quicktime/sound/SPB.html#numberOfMsecsRecorded()">numberOfMsecsRecorded</A></B>()</CODE><BR> The total number of msecs recorded.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B>SndInfo.</B><B><A HREF="../../../quicktime/sound/SndInfo.html#setupAIFFHeader(quicktime.io.OpenFile, int, float, int, int, long, long)">setupAIFFHeader</A></B>(<A HREF="../../../quicktime/io/OpenFile.html">OpenFile</A> file, int numChannels, float sampleRate, int sampleSize, int compressionType, long numBytes, long numFrames)</CODE><BR> The SetupAIFFHeader function creates an AIFF or AIFF-C file header, depending on the parameters passed to it:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -