setBandAmp method

void setBandAmp(
  1. double band,
  2. double amp
)

Sets value of any particular band from Equalizer.bandAmps. Band whose amp needs to be changed, must be present in Equalizer.bandAmps.

Constraints: -20.0 < amp < 20.0

Implementation

void setBandAmp(double band, double amp) {
  EqualizerFFI.setBandAmp(this.id, band, amp);
  this.bandAmps[band] = amp;
}