|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.hogent.tarsos.sampled.SampledAudioUtilities
public final class SampledAudioUtilities
Method Summary | |
---|---|
static java.util.Vector<javax.sound.sampled.Mixer.Info> |
getMixerInfo(boolean supportsPlayback,
boolean supportsRecording)
Creates a list of Mixer.Info objects. |
static javax.sound.sampled.SourceDataLine |
getOpenLineFromConfiguredMixer(javax.sound.sampled.AudioFormat format)
Tries to open a line to the configured mixer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Vector<javax.sound.sampled.Mixer.Info> getMixerInfo(boolean supportsPlayback, boolean supportsRecording)
supportsPlayback
- Should the mixer support audio play back?supportsRecording
- Should the mixer support audio recording?
public static javax.sound.sampled.SourceDataLine getOpenLineFromConfiguredMixer(javax.sound.sampled.AudioFormat format) throws javax.sound.sampled.LineUnavailableException
format
- the format to open the line for.
javax.sound.sampled.LineUnavailableException
- if the configured mixer and the default mixer are not
available.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |