|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SoundException | |
quicktime.sound | |
quicktime.std.clocks |
Uses of SoundException in quicktime.sound |
Methods in quicktime.sound that throw SoundException | |
static void |
SoundException.checkError(int err)
This method will throw an exception if the incoming err argument is a non-zero value. |
static CompressionInfo |
CompressionInfo.get(int compressionID,
int format,
int numChannels,
int sampleSize)
Gets the CompressionInfo structure given the supplied information QuickTime::GetCompressionInfo |
void |
SoundComponentData.setBuffer(QTPointer buffer)
The buffer that contains the sound data. |
int |
SndHandle.setupHeader(int numChannels,
float sampleRate,
int sampleSize,
int compressionType,
int numBytes)
You can use the SetupSndHeader function to construct a sound resource containing sampled sound that can be passed to the SndPlay function. |
int |
SndHandle.setupHeader(int numChannels,
float sampleRate,
int sampleSize,
int compressionType,
int baseNote,
int numBytes)
You can use the SetupSndHeader function to construct a sound resource containing sampled sound that can be passed to the SndPlay function. |
int |
SndHandle.getSoundHeaderOffset()
The number of bytes from the beginning of the sound resource specified by the sndHdl parameter to the sound header that is contained within. |
SndInfo |
SndHandle.parseSndHeader()
You use this function to retrieve information about a SndHandle. |
static java.lang.String |
SPBDevice.getIndexedDevice(int count)
You can use the SPBGetIndexedDevice function to help generate a list of sound input devices. |
int |
SPBDevice.millisecondsToBytes(int msecs)
Reports how many bytes are required to store a recording of duration milliseconds, given the input deviceÕs current sample rate, sample size, number of channels, and compression factor. |
int |
SPBDevice.bytesToMilliseconds(int bytes)
Reports how many milliseconds are required to record the specified bytes amount of sound data, given the input deviceÕs current sample rate, sample size, number of channels, and compression factor. |
void |
SPBDevice.setLevelMeterOnOff(boolean flag)
Set the current state of the level meter. |
boolean |
SPBDevice.getLevelMeterOnOff()
Get the current state of the level meter. |
int |
SPBDevice.getLevelMeterLevel()
Get the current level of the level meter. |
void |
SPBDevice.setAutomaticGainControl(boolean flag)
Set the state of the automatic gain control. |
boolean |
SPBDevice.getAutomaticGainControl()
Get the state of the automatic gain control. |
void |
SPBDevice.setInputGain(float gain)
Set the input gain level. |
float |
SPBDevice.getInputGain()
Get the input gain level. |
int |
SPBDevice.getInputSource()
Get the input Source Index. |
void |
SPBDevice.setInputSource(int source)
sets the input Source to the passed in (index) source. |
java.lang.String[] |
SPBDevice.getInputSourceNames()
Get a list of the names of all the sound input sources supported by the sound input device |
int |
SPBDevice.getChannelAvailable()
Get the maximum number of channels this device can record. |
int |
SPBDevice.getNumberChannels()
Returns the number of channels that this device is to record. |
void |
SPBDevice.setNumberChannels(int channels)
Sets the number of channels that this device is to record. |
int |
SPBDevice.getPlayThruOnOff()
Get the PlayThru level, 0 means it's off. |
void |
SPBDevice.setPlayThruOnOff(int volume)
Set the PlayThru level, 0 means it's off. |
void |
SPBDevice.setSampleRate(float rate)
Set the sample rate to be produced by this device. |
float |
SPBDevice.getSampleRate()
Gets the sample rate produced by this device. |
float[] |
SPBDevice.getSampleRateAvailable()
Returns a float list containing the sample rates available. |
void |
SPBDevice.setSampleSize(int sampleSize)
Set the number of bits per sample. |
int |
SPBDevice.getSampleSize()
Returns the number of bits per sample. |
int[] |
SPBDevice.getSampleSizeAvailable()
Returns an integer list containing the sample sizes available. |
void |
SPBDevice.setStereoInputGain(float leftChannel,
float rightChannel)
Set the the current stereo sound input gain. |
float |
SPBDevice.getStereoInputGainLeft()
Returns the current gain setting for the left channel of a stereo device QuickTime::SPBGetDeviceInfo |
float |
SPBDevice.getStereoInputGainRight()
Returns the current gain setting for the right channel of a stereo device QuickTime::SPBGetDeviceInfo |
void |
SPBDevice.setCompressionType(int compType)
Set the compression type. |
int |
SPBDevice.getCompressionType()
Returns the current compression type. |
int[] |
SPBDevice.getCompressionAvailable()
Returns an integer (OSTypes) list containing the available compression types. |
boolean |
SPBDevice.hasOptionsDialog()
Returns true if the current device supports an options dialog box and false if not. |
void |
SPBDevice.showOptionsDialog()
Shows the options dialog if available. |
java.lang.String |
SPBDevice.getName()
Returns the name of this device. |
int[] |
SPBDevice.getActiveLevels()
Get the current signal level for each active channel. |
void |
SPB.record(boolean flag)
Record audio data into memory, either synchronously or asynchronously. |
void |
SPB.pauseRecording()
Pause recording from a sound input device. |
void |
SPB.resumeRecording()
Pause recording from a sound input device. |
void |
SPB.stopRecording()
End a recording from a sound input device. |
boolean |
SPB.isRecording()
The status of the recording. |
short |
SPB.meterLevel()
The level of the meter. |
int |
SPB.totalSamplesToRecord()
The total number of samples to record. |
int |
SPB.numberOfSamplesRecorded()
The total number of samples recorded. |
int |
SPB.totalMsecsToRecord()
The total number of msecs to record. |
int |
SPB.numberOfMsecsRecorded()
The total number of msecs recorded. |
static void |
SndInfo.setupAIFFHeader(OpenFile file,
int numChannels,
float sampleRate,
int sampleSize,
int compressionType,
long numBytes,
long numFrames)
The SetupAIFFHeader function creates an AIFF or AIFF-C file header, depending on the parameters passed to it: Uncompressed sounds of any type are stored in AIFF format (that is, the compressionType parameter is 'NONE'). |
static SndInfo |
SndInfo.parseAIFFHeader(OpenFile file)
You use this function to retrieve information about from a AIFF Sound File. |
void |
SndChannel.play(SndHandle sndHdl)
Plays a sound asynchronously from memory. |
boolean |
SndChannel.isFinished()
Returns true if the channel is both NOT busy and NOT paused - ie. |
boolean |
SndChannel.isPaused()
Returns true if the channel is currently paused. |
SCStatus |
SndChannel.status()
The fields of the record returned by this call accurately describe the sound channel specified. |
void |
SndChannel.doCommand(SndCommand cmd)
The SndDoCommand function sends the sound command specified in the cmd parameter to the end of the command queue of the channel specified in the chan parameter. |
void |
SndChannel.doCommand(SndCommand cmd,
boolean noWait)
The SndDoCommand function sends the sound command specified in the cmd parameter to the end of the command queue of the channel specified in the chan parameter. |
void |
SndChannel.doImmediate(SndCommand cmd)
The SndDoImmediate function operates much like SndDoCommand, except that it bypasses the existing command queue of the sound channel and sends the specified command directly to the Sound Manager for immediate processing. |
boolean |
SndChannel.getLevelMeterOnOff()
Gets Level Meter state. |
void |
SndChannel.setLevelMeterOnOff(boolean enabled)
Sets Level Meter state. |
void |
SndChannel.enableClock(boolean flag)
Returns the current clock of the SoundClock. |
Clock |
SndChannel.getClock()
Returns the current clock of the SoundClock. |
LevelMeterInfo |
SndChannel.getActiveLevels()
Gets the level values. |
MediaEQSpectrumBands |
SndChannel.getEQSpectrumBands(int count)
Pass in the count of bands you expect to get back, it would return the the actual value of bands available with their frequncy limits. |
void |
SndChannel.setEQSpectrumBands(MediaEQSpectrumBands spectrumInfo)
Set the array of fequencies that are used to calculate spectral information. |
int[] |
SndChannel.getEQSpectrumLevels(int count)
Gets the Equalizer Band Levels. |
boolean |
SndChannel.getEQToneControlOnOff()
Returns true if the tone control (bass and treble) are enabled. |
void |
SndChannel.setEQToneControlOnOff(boolean flag)
If true enables the tone control (bass and treble). |
void |
SndChannel.setEQToneControlGain(int bass,
int treble)
Sets the values of the bass and treble tone control gain values. |
int[] |
SndChannel.getEQToneControlGain()
Gets the values of the bass and treble tone control gain values. |
static void |
Sound.play(SndHandle sndHdl)
Plays a sound from memory. |
Constructors in quicktime.sound that throw SoundException | |
SPBDevice(java.lang.String deviceName,
int permission)
The SPBOpenDevice function attempts to open a sound input device having the name indicated by the deviceName parameter. |
Uses of SoundException in quicktime.std.clocks |
Methods in quicktime.std.clocks that throw SoundException | |
static Clock |
Clock.fromSndChannel(SndChannel sc)
Returns the clock of the SndChannel. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |