volume property

double get volume

Audio volume value

Implementation

double get volume => _volume;
set volume (double value)

Set audio volume value. 1.0 is source value

Implementation

set volume(double value) {
  _volume = value;
  _player.ref.setVolume
          .asFunction<void Function(Pointer<mdkPlayer>, double)>()(
      _player.ref.object, value);
}