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

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

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

revision 1466 by iliev, Mon Sep 10 22:29:09 2007 UTC revision 1467 by iliev, Sat Nov 3 13:14:31 2007 UTC
# Line 210  public class DefaultSamplerModel impleme Line 210  public class DefaultSamplerModel impleme
210          setAudioOutputDrivers(AudioOutputDriver[] drivers) { aoDrvS = drivers; }          setAudioOutputDrivers(AudioOutputDriver[] drivers) { aoDrvS = drivers; }
211                    
212          /**          /**
213             * Gets the model of the audio device at the specified position.
214             * @param index The position of the audio device to return.
215             * @return The model of the audio device at the specified position.
216             * @see #getAudioDeviceCount
217             */
218            public AudioDeviceModel
219            getAudioDevice(int index) {
220                    return audioDeviceModels.get(index);
221            }
222            
223            /**
224           * Gets the model of the audio device with ID <code>deviceId</code>.           * Gets the model of the audio device with ID <code>deviceId</code>.
225           * @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.
226           * @return The model of the specified audio device or <code>null</code>           * @return The model of the specified audio device or <code>null</code>
# Line 298  public class DefaultSamplerModel impleme Line 309  public class DefaultSamplerModel impleme
309          setMidiInputDrivers(MidiInputDriver[] drivers) { miDrvS = drivers; }          setMidiInputDrivers(MidiInputDriver[] drivers) { miDrvS = drivers; }
310                    
311          /**          /**
312             * Gets the model of the MIDI device at the specified position.
313             * @param index The position of the MIDI device to return.
314             * @return The model of the MIDI device at the specified position.
315             */
316            public MidiDeviceModel
317            getMidiDevice(int index) {
318                    return midiDeviceModels.get(index);
319            }
320            
321            /**
322           * Gets the model of the MIDI device with ID <code>deviceId</code>.           * Gets the model of the MIDI device with ID <code>deviceId</code>.
323           * @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.
324           * @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 603  public class DefaultSamplerModel impleme Line 624  public class DefaultSamplerModel impleme
624          setEngines(SamplerEngine[] engines) { this.engines = engines; }          setEngines(SamplerEngine[] engines) { this.engines = engines; }
625                    
626          /**          /**
627             * Gets the model of the sampler channel in the specified position.
628             * @param index The position of the channel to return.
629             * @return The model of the specified sampler channel.
630             * @see #getchannelCount
631             */
632            public SamplerChannelModel
633            getChannel(int index) {
634                    return channelModels.get(index);
635            }
636            
637            /**
638           * Gets the model of the sampler channel with ID <code>channelId</code>.           * Gets the model of the sampler channel with ID <code>channelId</code>.
639           * @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.
640           * @return The model of the specified sampler channel or <code>null</code>           * @return The model of the specified sampler channel or <code>null</code>

Legend:
Removed from v.1466  
changed lines
  Added in v.1467

  ViewVC Help
Powered by ViewVC