/[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 1341 by iliev, Mon Sep 10 22:29:09 2007 UTC revision 1545 by iliev, Tue Dec 4 18:28:29 2007 UTC
# Line 113  public interface SamplerModel { Line 113  public interface SamplerModel {
113           */           */
114          public AudioOutputDriver[] getAudioOutputDrivers();          public AudioOutputDriver[] getAudioOutputDrivers();
115                    
116            
117            
118            /**
119             * Gets the model of the audio device at the specified position.
120             * @param index The position of the audio device to return.
121             * @return The model of the audio device at the specified position.
122             * @see #getAudioDeviceCount
123             */
124            public AudioDeviceModel getAudioDevice(int index);
125            
126          /**          /**
127           * Gets the model of the audio device with ID <code>deviceId</code>.           * Gets the model of the audio device with ID <code>deviceId</code>.
128           * @param deviceId The ID of the audio device whose model should be obtained.           * @param deviceId The ID of the audio device whose model should be obtained.
# Line 162  public interface SamplerModel { Line 172  public interface SamplerModel {
172          public MidiInputDriver[] getMidiInputDrivers();          public MidiInputDriver[] getMidiInputDrivers();
173                    
174          /**          /**
175             * Gets the model of the MIDI device at the specified position.
176             * @param index The position of the MIDI device to return.
177             * @return The model of the MIDI device at the specified position.
178             */
179            public MidiDeviceModel getMidiDevice(int index);
180            
181            /**
182           * Gets the model of the MIDI device with ID <code>deviceId</code>.           * Gets the model of the MIDI device with ID <code>deviceId</code>.
183           * @param deviceId The ID of the MIDI device whose model should be obtained.           * @param deviceId The ID of the MIDI device whose model should be obtained.
184           * @return The model of the specified MIDI device or <code>null</code>           * @return The model of the specified MIDI device or <code>null</code>
# Line 323  public interface SamplerModel { Line 340  public interface SamplerModel {
340          public SamplerChannelModel[] getChannels();          public SamplerChannelModel[] getChannels();
341                    
342          /**          /**
343             * Gets the model of the sampler channel in the specified position.
344             * @param index The position of the channel to return.
345             * @return The model of the specified sampler channel.
346             * @see #getchannelCount
347             */
348            public SamplerChannelModel getChannel(int index);
349            
350            /**
351           * Gets the model of the sampler channel with ID <code>channelId</code>.           * Gets the model of the sampler channel with ID <code>channelId</code>.
352           * @param channelId The ID of the sampler channel whose model should be obtained.           * @param channelId The ID of the sampler channel whose model should be obtained.
353           * @return The model of the specified sampler channel or <code>null</code>           * @return The model of the specified sampler channel or <code>null</code>
# Line 408  public interface SamplerModel { Line 433  public interface SamplerModel {
433          public int getMutedBySoloChannelCount();          public int getMutedBySoloChannelCount();
434                    
435          /**          /**
436             * Gets the total number of active streams.
437             * @return The total number of active streams.
438             */
439            public int getTotalStreamCount();
440            
441            /**
442           * Gets the total number of active voices.           * Gets the total number of active voices.
443           * @return The total number of active voices.           * @return The total number of active voices.
444           */           */
# Line 443  public interface SamplerModel { Line 474  public interface SamplerModel {
474          public void resetBackend();          public void resetBackend();
475                    
476          /**          /**
477             * Updates the current number of active disk streams in the sampler.
478             * @param count The new number of active streams.
479             */
480            public void updateActiveStreamsInfo(int count);
481            
482            /**
483           * Updates the current and the maximum number of active voices in the sampler.           * Updates the current and the maximum number of active voices in the sampler.
484           * @param count The new number of active voices.           * @param count The new number of active voices.
485           * @param countMax The maximum number of active voices.           * @param countMax The maximum number of active voices.

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

  ViewVC Help
Powered by ViewVC