SilentSound constructor

SilentSound({
  1. required SilentSoundChannel channel,
  2. double gain = 0.7,
  3. bool looping = false,
  4. double pitchBend = 1.0,
  5. double position = 0.0,
  6. bool keepAlive = false,
})

Create an instance.

Implementation

SilentSound({
  required this.channel,
  this.gain = 0.7,
  this.looping = false,
  this.pitchBend = 1.0,
  this.position = 0.0,
  this.keepAlive = false,
});