/* * @(#)MixerProvider.java 1.18 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package javax.sound.sampled.spi; import javax.sound.sampled.Mixer; /** * A provider or factory for a particular mixer type. * This mechanism allows the implementation to determine * how resources are managed in creation / management of * a mixer. * * @version 1.18 03/12/19 * @author Kara Kytle * @since 1.3 */ public abstract class MixerProvider { /** * Indicates whether the mixer provider supports the mixer represented by * the specified mixer info object. * @param info an info object that describes the mixer for which support is queried * @return true if the specified mixer is supported, * otherwise false */ public boolean isMixerSupported(Mixer.Info info) { Mixer.Info infos[] = getMixerInfo(); for(int i=0; i