AudioElementSoundChannel constructor
AudioElementSoundChannel(
- AudioElementSound audioElementSound,
- num startTime,
- num duration,
- bool loop, [
- SoundTransform? soundTransform,
Implementation
AudioElementSoundChannel(AudioElementSound audioElementSound, num startTime,
num duration, bool loop,
[SoundTransform? soundTransform])
: _audioElementSound = audioElementSound {
_soundTransform = soundTransform ?? SoundTransform();
_startTime = startTime.toDouble();
_duration = duration.toDouble();
_loop = loop;
audioElementSound._requestAudioElement(this).then(_onAudioElement);
}