toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AudioCodec.aac:
      return 'AAC';
    case AudioCodec.mp2:
      return 'MP2';
    case AudioCodec.mp3:
      return 'MP3';
    case AudioCodec.wav:
      return 'WAV';
    case AudioCodec.aiff:
      return 'AIFF';
    case AudioCodec.ac3:
      return 'AC3';
    case AudioCodec.eac3:
      return 'EAC3';
    case AudioCodec.eac3Atmos:
      return 'EAC3_ATMOS';
    case AudioCodec.vorbis:
      return 'VORBIS';
    case AudioCodec.opus:
      return 'OPUS';
    case AudioCodec.passthrough:
      return 'PASSTHROUGH';
  }
}