setGain method
Sets the gain for this band in decibels.
Implementation
Future<void> setGain(double gain) async {
_gainSubject.add(gain);
if (_player._active) {
await (await _player._platform).androidEqualizerBandSetGain(
AndroidEqualizerBandSetGainRequest(bandIndex: index, gain: gain));
}
}