Package ca.phon.media

Class SampledPlaySegment

java.lang.Object
ca.phon.media.PlaySegment
ca.phon.media.SampledPlaySegment

public class SampledPlaySegment extends PlaySegment
  • Constructor Details

    • SampledPlaySegment

      public SampledPlaySegment(Sampled sampled)
    • SampledPlaySegment

      public SampledPlaySegment(Sampled sampled, VolumeModel volumeModel)
  • Method Details

    • getSampled

      public Sampled getSampled()
    • getAudioFormat

      public AudioFormat getAudioFormat()
    • getAudioFormat

      public AudioFormat getAudioFormat(float playbackRate)
    • stop

      public void stop()
      Description copied from class: PlaySegment
      Stop playing segment.
      Specified by:
      stop in class PlaySegment
    • playSegment

      public void playSegment(float startTime, float endTime, float playbackRate) throws IOException
      Description copied from class: PlaySegment
      Play segment
      Specified by:
      playSegment in class PlaySegment
      Throws:
      IOException - on error