Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: SF2Sample [javadoc | source]
java.lang.Object
   javax.sound.midi.SoundbankResource
      com.sun.media.sound.SF2Sample
Soundfont sample storage.
Field Summary
protected  String name     
protected  long startLoop     
protected  long endLoop     
protected  long sampleRate     
protected  int originalPitch     
protected  byte pitchCorrection     
protected  int sampleLink     
protected  int sampleType     
protected  ModelByteBuffer data     
protected  ModelByteBuffer data24     
Constructor:
 public SF2Sample() 
 public SF2Sample(Soundbank soundBank) 
Method from com.sun.media.sound.SF2Sample Summary:
getData,   getData24Buffer,   getDataBuffer,   getEndLoop,   getFormat,   getName,   getOriginalPitch,   getPitchCorrection,   getSampleLink,   getSampleRate,   getSampleType,   getStartLoop,   setData,   setData,   setData,   setData24,   setData24,   setData24,   setEndLoop,   setName,   setOriginalPitch,   setPitchCorrection,   setSampleLink,   setSampleRate,   setSampleType,   setStartLoop,   toString
Methods from javax.sound.midi.SoundbankResource:
getData,   getDataClass,   getName,   getSoundbank
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.SF2Sample Detail:
 public Object getData() 
 public ModelByteBuffer getData24Buffer() 
 public ModelByteBuffer getDataBuffer() 
 public long getEndLoop() 
 public AudioFormat getFormat() 
 public String getName() 
 public int getOriginalPitch() 
 public byte getPitchCorrection() 
 public int getSampleLink() 
 public long getSampleRate() 
 public int getSampleType() 
 public long getStartLoop() 
 public  void setData(ModelByteBuffer data) 
 public  void setData(byte[] data) 
 public  void setData(byte[] data,
    int offset,
    int length) 
 public  void setData24(ModelByteBuffer data24) 
 public  void setData24(byte[] data24) 
 public  void setData24(byte[] data24,
    int offset,
    int length) 
 public  void setEndLoop(long endLoop) 
 public  void setName(String name) 
 public  void setOriginalPitch(int originalPitch) 
 public  void setPitchCorrection(byte pitchCorrection) 
 public  void setSampleLink(int sampleLink) 
 public  void setSampleRate(long sampleRate) 
 public  void setSampleType(int sampleType) 
 public  void setStartLoop(long startLoop) 
 public String toString()