/[svn]/jsampler/trunk/src/org/jsampler/SamplerModel.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/SamplerModel.java

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

revision 1204 by iliev, Thu May 24 21:43:45 2007 UTC revision 1341 by iliev, Mon Sep 10 22:29:09 2007 UTC
# Line 236  public interface SamplerModel { Line 236  public interface SamplerModel {
236          public MidiInstrumentMap[] getMidiInstrumentMaps();          public MidiInstrumentMap[] getMidiInstrumentMaps();
237                    
238          /**          /**
239             * Gets the position of the specified MIDI instrument map in the list.
240             * @param map The map whose index should be returned.
241             * @return The position of the specified map in the list,
242             * or -1 if <code>map</code> is <code>null</code> or
243             * the map list does not contain the specified map.
244             */
245            public int getMidiInstrumentMapIndex(MidiInstrumentMap map);
246            
247            /**
248           * Adds the specified MIDI instrument map.           * Adds the specified MIDI instrument map.
249           * @param map The MIDI instrument map to be added.           * @param map The MIDI instrument map to be added.
250           */           */
# Line 365  public interface SamplerModel { Line 374  public interface SamplerModel {
374          public void updateChannel(SamplerChannel channel);          public void updateChannel(SamplerChannel channel);
375                    
376          /**          /**
377             * Schedules a new task for starting an instrument editor for editing
378             * the loaded instrument on the specified sampler channel.
379             * @param channelId The sampler channel number.
380             */
381            public void editBackendInstrument(int channelId);
382            
383            /**
384           * Determines whether there is at least one solo channel in the current list           * Determines whether there is at least one solo channel in the current list
385           * of sampler channels.           * of sampler channels.
386           * @return <code>true</code> if there is at least one solo channel in the current list of           * @return <code>true</code> if there is at least one solo channel in the current list of

Legend:
Removed from v.1204  
changed lines
  Added in v.1341

  ViewVC Help
Powered by ViewVC