toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AudioChannelTag.l:
      return 'L';
    case AudioChannelTag.r:
      return 'R';
    case AudioChannelTag.c:
      return 'C';
    case AudioChannelTag.lfe:
      return 'LFE';
    case AudioChannelTag.ls:
      return 'LS';
    case AudioChannelTag.rs:
      return 'RS';
    case AudioChannelTag.lc:
      return 'LC';
    case AudioChannelTag.rc:
      return 'RC';
    case AudioChannelTag.cs:
      return 'CS';
    case AudioChannelTag.lsd:
      return 'LSD';
    case AudioChannelTag.rsd:
      return 'RSD';
    case AudioChannelTag.tcs:
      return 'TCS';
    case AudioChannelTag.vhl:
      return 'VHL';
    case AudioChannelTag.vhc:
      return 'VHC';
    case AudioChannelTag.vhr:
      return 'VHR';
  }
}