//Audio2AAC public static bool TransAudioToAac(string audioPath, string aacPath) { if (IntPtr.Size == 4) { return(AudioConverterWrapperX86.TransAudioToAac(audioPath, aacPath)); } else if (IntPtr.Size == 8) { return(AudioConverterWrapperX64.TransAudioToAac(audioPath, aacPath)); } else { return(false); } }
//AAC2WAV public static bool TransAacToWav(string aacPath, string wavPath) { if (IntPtr.Size == 4) { return(AudioConverterWrapperX86.TransAacToWav(aacPath, wavPath)); } else if (IntPtr.Size == 8) { return(AudioConverterWrapperX64.TransAacToWav(aacPath, wavPath)); } else { return(false); } }