/[classpath]/classpath/javax/sound/midi/Synthesizer.java
ViewVC logotype

Diff of /classpath/javax/sound/midi/Synthesizer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by green, Mon Sep 26 16:35:00 2005 UTC revision 1.2 by green, Mon Sep 26 17:24:00 2005 UTC
# Line 91  public interface Synthesizer extends Mid Line 91  public interface Synthesizer extends Mid
91     * @return true if the instrument was loaded and false otherwise     * @return true if the instrument was loaded and false otherwise
92     * @throws IllegalArgumentException if this synth doesn't support instrument     * @throws IllegalArgumentException if this synth doesn't support instrument
93     */     */
94    public boolean loadInstrument(Instrument instrument)    public boolean loadInstrument(Instrument instrument);
     throws IllegalArgumentException;  
95        
96    /**    /**
97     * Unload an instrument from this synth.     * Unload an instrument from this synth.
# Line 100  public interface Synthesizer extends Mid Line 99  public interface Synthesizer extends Mid
99     * @param instrument the Instrument to unload     * @param instrument the Instrument to unload
100     * @throws IllegalArgumentException if this synth doesn't support instrument     * @throws IllegalArgumentException if this synth doesn't support instrument
101     */     */
102    public void unloadInstrument(Instrument instrument)    public void unloadInstrument(Instrument instrument);
     throws IllegalArgumentException;  
103        
104    /**    /**
105     * Move an intrument from one place to another.  The instrument at the     * Move an intrument from one place to another.  The instrument at the
# Line 112  public interface Synthesizer extends Mid Line 110  public interface Synthesizer extends Mid
110     * @return if from was remapped     * @return if from was remapped
111     * @throws IllegalArgumentException     * @throws IllegalArgumentException
112     */     */
113    public boolean remapInstrument(Instrument from, Instrument to)    public boolean remapInstrument(Instrument from, Instrument to);
     throws IllegalArgumentException;  
114        
115    /**    /**
116     * Get the default Soundbank for this synth.  Return null if there is no     * Get the default Soundbank for this synth.  Return null if there is no
# Line 144  public interface Synthesizer extends Mid Line 141  public interface Synthesizer extends Mid
141     * @return true if all instruments were loaded, false othewise     * @return true if all instruments were loaded, false othewise
142     * @throws IllegalArgumentException if the soundbank isn't supported by this     * @throws IllegalArgumentException if the soundbank isn't supported by this
143     */     */
144    public boolean loadAllInstruments(Soundbank soundbank)    public boolean loadAllInstruments(Soundbank soundbank);
     throws IllegalArgumentException;  
145        
146    /**    /**
147     * Unload all soundbank instruments from this synthesizer.     * Unload all soundbank instruments from this synthesizer.
# Line 153  public interface Synthesizer extends Mid Line 149  public interface Synthesizer extends Mid
149     * @param soundbank the Soundbank containing the instruments to unload     * @param soundbank the Soundbank containing the instruments to unload
150     * @throws IllegalArgumentException if the soundbank isn't supported by this     * @throws IllegalArgumentException if the soundbank isn't supported by this
151     */     */
152    public void unloadAllInstruments(Soundbank soundbank)    public void unloadAllInstruments(Soundbank soundbank);
     throws IllegalArgumentException;  
153        
154    /**    /**
155     * Load a subset of soundbank instruments into this synthesizer.  The     * Load a subset of soundbank instruments into this synthesizer.  The
# Line 165  public interface Synthesizer extends Mid Line 160  public interface Synthesizer extends Mid
160     * @return true if instruments were loaded, false otherwise     * @return true if instruments were loaded, false otherwise
161     * @throws IllegalArgumentException if the soundbank isn't supported by this     * @throws IllegalArgumentException if the soundbank isn't supported by this
162     */     */
163    public boolean loadInstruments(Soundbank soundbank, Patch[] patchList)    public boolean loadInstruments(Soundbank soundbank, Patch[] patchList);
     throws IllegalArgumentException;  
164        
165    /**    /**
166     * Unload a subset of soundbank instruments from this synthesizer.     * Unload a subset of soundbank instruments from this synthesizer.
# Line 175  public interface Synthesizer extends Mid Line 169  public interface Synthesizer extends Mid
169     * @param patchList the array of patches identifying instruments to unload     * @param patchList the array of patches identifying instruments to unload
170     * @throws IllegalArgumentException if the soundbank isn't supported by this     * @throws IllegalArgumentException if the soundbank isn't supported by this
171     */     */
172    public void unloadInstruments(Soundbank soundbank, Patch[] patchList)    public void unloadInstruments(Soundbank soundbank, Patch[] patchList);
     throws IllegalArgumentException;  
173  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26