WebAudioApiSoundChannel(WebAudioApiSound webAudioApiSound, num startTime, num duration, bool loop, SoundTransform soundTransform)

Source

WebAudioApiSoundChannel(WebAudioApiSound webAudioApiSound,
                        num startTime, num duration, bool loop,
                        SoundTransform soundTransform) {

  if (soundTransform == null) soundTransform = new SoundTransform();

  _webAudioApiSound = webAudioApiSound;
  _startTime = startTime.toDouble();
  _duration = duration.toDouble();
  _soundTransform = soundTransform;
  _loop = loop;

  _webAudioApiMixer = new WebAudioApiMixer(SoundMixer._webAudioApiMixer.inputNode);
  _webAudioApiMixer.applySoundTransform(_soundTransform);

  this.paused = false;
}