toAc3CodingMode method

Ac3CodingMode toAc3CodingMode()

Implementation

Ac3CodingMode toAc3CodingMode() {
  switch (this) {
    case 'CODING_MODE_1_0':
      return Ac3CodingMode.codingMode_1_0;
    case 'CODING_MODE_1_1':
      return Ac3CodingMode.codingMode_1_1;
    case 'CODING_MODE_2_0':
      return Ac3CodingMode.codingMode_2_0;
    case 'CODING_MODE_3_2_LFE':
      return Ac3CodingMode.codingMode_3_2Lfe;
  }
  throw Exception('$this is not known in enum Ac3CodingMode');
}