Exemplo n.º 1
0
 /// <summary>
 /// FFT値を取得
 /// </summary>
 /// <param name="buffer"></param>
 /// <param name="fftopt"></param>
 /// <returns></returns>
 internal static uint FFTData(float[] buffer, Controller.FFTNum fftopt)
 {
     if (OutputDevice != null)
     {
         return(OutputDevice.GetDataFFT(buffer, fftopt));
     }
     else
     {
         Array.Clear(buffer, 0, buffer.Length);
     }
     return(0);
 }