Exemplo n.º 1
0
 //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);
     }
 }
Exemplo n.º 2
0
 //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);
     }
 }