toSmoothGroupAudioOnlyTimecodeControl method

SmoothGroupAudioOnlyTimecodeControl toSmoothGroupAudioOnlyTimecodeControl()

Implementation

SmoothGroupAudioOnlyTimecodeControl toSmoothGroupAudioOnlyTimecodeControl() {
  switch (this) {
    case 'PASSTHROUGH':
      return SmoothGroupAudioOnlyTimecodeControl.passthrough;
    case 'USE_CONFIGURED_CLOCK':
      return SmoothGroupAudioOnlyTimecodeControl.useConfiguredClock;
  }
  throw Exception(
      '$this is not known in enum SmoothGroupAudioOnlyTimecodeControl');
}