sound
Class MixerUtils
java.lang.Object
sound.MixerUtils
public class MixerUtils
- extends java.lang.Object
User: lyon
Date: Oct 24, 2006
Time: 9:45:52 AM
Copyright DocJava, Inc. 2005.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MixerUtils
public MixerUtils()
getMixerInfoGui
public static javax.sound.sampled.Mixer.Info getMixerInfoGui()
getMixerInfos
public static javax.sound.sampled.Mixer.Info[] getMixerInfos(javax.sound.sampled.Mixer[] m)
listMixersAndExit
public static void listMixersAndExit()
getMixerInfos
public static javax.sound.sampled.Mixer.Info[] getMixerInfos()
getMixers
public static javax.sound.sampled.Mixer[] getMixers()
getSourceLines
public static javax.sound.sampled.Line[] getSourceLines()
throws javax.sound.sampled.LineUnavailableException
- Throws:
javax.sound.sampled.LineUnavailableException
getSourceLineInfos
public static javax.sound.sampled.Line.Info[] getSourceLineInfos()
getTargetLineInfos
public static javax.sound.sampled.Line.Info[] getTargetLineInfos()
getTargetLineInfoGui
public static javax.sound.sampled.Line.Info getTargetLineInfoGui()
getSourceMixerInfoGui
public static java.lang.Object getSourceMixerInfoGui()
main
public static void main(java.lang.String[] args)
getMixerInfo
public static javax.sound.sampled.Mixer.Info getMixerInfo(java.lang.String strMixerName)
- This method tries to return a Mixer.Info whose name
matches the passed name. If no matching Mixer.Info is
found, null is returned.
listMixersAndExit
public static void listMixersAndExit(boolean bPlayback)
- List Mixers.
Only Mixers that support either TargetDataLines or SourceDataLines
are listed, depending on the value of bPlayback.