Improving performance of for loop when decimating a buffer

后端 未结 3 1617
无人共我
无人共我 2021-01-28 07:13

I am collecting 16384 double values from a hardware device using a signal processing library. The 16384 values I receive are the output of a low pass filter. I want to down sa

3条回答
  •  [愿得一人]
    2021-01-28 07:19

    This is solved. The libraries I use have a function which will assign all values from a double[] to it's internal real buffer

     realbuffer.Equals(finalBuffer);
    

    This takes 50us... Thanks for all the help.

提交回复
热议问题