This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using DSP-Lib



Hello,

i am actually starting using the DSP-Lib and i have a question about the buffer structure. I will use a FIR-Filter. The possible buffer structure are:

1) Using a ping-pong buffer: In this case the previously elements are needed. For a correct function i must copy the previously elements and the new elements to a new buffer for calculating the output data. For this structure a additional buffer copy is needed.

2) Using a circular buffer: In this case the previously elements exists, but if the actual pointer do not point to the first element of the buffer, the DSP-Lib must be able to switch from the end to the beginning of the buffer automatically. If i understand the DSP-Lib documentation correct, circular buffers are not supported. So an additionally buffer copy is also needed.

Is it possible to use it without an additional buffer copy? If yes, which is the right buffer structure for the DSP-Lib?