public static void ConvertAudioMP3ToWAV() { switch (EditorUtility.DisplayDialogComplex("Convert", "Convert selected to WAV?", "Yes - Suffix", "No", "Yes")) { case 0: FFMpeg.ConvertSelectedAudio("_wav", "wav", "mp3"); break; case 1: break; case 2: FFMpeg.ConvertSelectedAudio("", "wav", "mp3"); break; } }
public static void ConvertAudioAIFToOGG() { switch (EditorUtility.DisplayDialogComplex("Convert", "Convert selected to OGG?", "Yes - Suffix", "No", "Yes")) { case 0: FFMpeg.ConvertSelectedAudio("_ogg", "ogg", "aif"); break; case 1: break; case 2: FFMpeg.ConvertSelectedAudio("", "ogg", "aif"); break; } }
public static void ConvertAudioToMono() { switch (EditorUtility.DisplayDialogComplex("Convert", "Convert selected audio to MONO?", "Yes - Suffix", "No", "Yes")) { case 0: FFMpeg.ConvertSelectedAudioToMono("_mono"); break; case 1: break; case 2: FFMpeg.ConvertSelectedAudioToMono(""); break; } }