toAacRateControlMode method

AacRateControlMode toAacRateControlMode()

Implementation

AacRateControlMode toAacRateControlMode() {
  switch (this) {
    case 'CBR':
      return AacRateControlMode.cbr;
    case 'VBR':
      return AacRateControlMode.vbr;
  }
  throw Exception('$this is not known in enum AacRateControlMode');
}