command property

String get command

Implementation

String get command {
  switch (this) {
    case NyxAudioCodec.mp3:
      return 'libmp3lame';
    case NyxAudioCodec.mp2:
      return 'mp2';
    case NyxAudioCodec.wma:
      return 'wmav2';
    case NyxAudioCodec.aac:
      return 'aac';
    case NyxAudioCodec.ogg:
      return 'libvorbis';
    case NyxAudioCodec.flac:
      return 'flac';
    case NyxAudioCodec.alac:
      return 'alas';
    case NyxAudioCodec.dsd:
      return 'dsd';
  }
}