toAudioNormalizationAlgorithm method

AudioNormalizationAlgorithm toAudioNormalizationAlgorithm()

Implementation

AudioNormalizationAlgorithm toAudioNormalizationAlgorithm() {
  switch (this) {
    case 'ITU_1770_1':
      return AudioNormalizationAlgorithm.itu_1770_1;
    case 'ITU_1770_2':
      return AudioNormalizationAlgorithm.itu_1770_2;
  }
  throw Exception('$this is not known in enum AudioNormalizationAlgorithm');
}