Lines Matching refs:Mixer

110  * method of <code>Mixer.Info</code>.
117 * <code>Mixer.Info</code> objects is retrieved
121 * all available <code>Mixer.Info</code> objects.
124 * <code>Mixer.Info</code> objects is searched:
126 * <code>Mixer</code> provides the
128 * If no matching <code>Mixer.Info</code> object
147 * <code>Mixer</code> with name
151 * <code>Mixer</code>that can be found in the list of all
163 * @see Mixer
195 public static Mixer.Info[] getMixerInfo() {
198 Mixer.Info[] allInfos = (Mixer.Info[]) infos.toArray(new Mixer.Info[infos.size()]);
205 * @param info a <code>Mixer.Info</code> object representing the desired
214 public static Mixer getMixer(Mixer.Info info) {
216 Mixer mixer = null;
240 Mixer.Info[] infos = provider.getMixerInfo();
256 throw new IllegalArgumentException("Mixer not supported: "
271 * @see Mixer#getSourceLineInfo(Line.Info)
278 Mixer mixer;
280 Mixer.Info[] infoArray = getMixerInfo();
311 * @see Mixer#getTargetLineInfo(Line.Info)
318 Mixer mixer;
320 Mixer.Info[] infoArray = getMixerInfo();
350 * @see Mixer#isLineSupported(Line.Info)
354 Mixer mixer;
355 Mixer.Info[] infoArray = getMixerInfo();
414 Mixer mixer = getDefaultMixer(providers, info);
429 Mixer.Info[] infos = provider.getMixerInfo();
433 Mixer mixer = provider.getMixer(infos[j]);
451 Mixer.Info[] infos = provider.getMixerInfo();
454 Mixer mixer = provider.getMixer(infos[j]);
511 * @see #getClip(Mixer.Info)
535 * @param mixerInfo a <code>Mixer.Info</code> object representing the
549 public static Clip getClip(Mixer.Info mixerInfo) throws LineUnavailableException{
555 Mixer mixer = AudioSystem.getMixer(mixerInfo);
598 * @see #getSourceDataLine(AudioFormat, Mixer.Info)
612 * specified by the <code>Mixer.Info</code> object.
627 * @param mixerinfo a <code>Mixer.Info</code> object representing
646 Mixer.Info mixerinfo)
649 Mixer mixer = AudioSystem.getMixer(mixerinfo);
692 * @see #getTargetDataLine(AudioFormat, Mixer.Info)
709 * specified by the <code>Mixer.Info</code> object.
724 * @param mixerinfo a <code>Mixer.Info</code> object representing the
743 Mixer.Info mixerinfo)
747 Mixer mixer = AudioSystem.getMixer(mixerinfo);
1421 /** Attempts to locate and return a default Mixer that provides lines
1427 * @return a Mixer that matches the requirements, or null if no default mixer found
1429 private static Mixer getDefaultMixer(List providers, Line.Info info) {
1433 Mixer mixer;
1475 This method never requires the returned Mixer to do mixing.
1493 /** Return a Mixer with a given name from a given MixerProvider.
1494 This method never requires the returned Mixer to do mixing.
1495 @param mixerName The name of the Mixer to be returned.
1497 @param info The type of line the returned Mixer is required to
1500 @return A Mixer matching the requirements, or null if none is found.
1502 private static Mixer getNamedMixer(String mixerName,
1505 Mixer.Info[] infos = provider.getMixerInfo();
1508 Mixer mixer = provider.getMixer(infos[i]);
1518 /** From a List of MixerProviders, return a Mixer with a given name.
1519 This method never requires the returned Mixer to do mixing.
1520 @param mixerName The name of the Mixer to be returned.
1522 @param info The type of line the returned Mixer is required to
1524 @return A Mixer matching the requirements, or null if none is found.
1526 private static Mixer getNamedMixer(String mixerName,
1531 Mixer mixer = getNamedMixer(mixerName, provider, info);
1540 /** From a given MixerProvider, return the first appropriate Mixer.
1542 @param info The type of line the returned Mixer is required to
1547 @return A Mixer that is considered appropriate, or null
1550 private static Mixer getFirstMixer(MixerProvider provider,
1553 Mixer.Info[] infos = provider.getMixerInfo();
1555 Mixer mixer = provider.getMixer(infos[j]);
1564 /** Checks if a Mixer is appropriate.
1565 A Mixer is considered appropriate if it support the given line type.
1573 private static boolean isAppropriateMixer(Mixer mixer,
1606 Mixer.Info[] someInfos; // per-mixer
1607 Mixer.Info[] allInfos; // for all mixers
1610 someInfos = (Mixer.Info[])