Page 1 of 1

How to incorporate third-party source code into ADF pipeline?

Posted: Mon Sep 02, 2019 10:18 am
by sshydlovskyi
My greetings, everybody!

Currently, I'm trying to add audio resampling library into ADF.

As I can see, for standard elements in the pipeline, all you need is to declare input/processing/output, connect them into pipeline and start the loop.

But I need to get audio samples from AUX input, resample and output the result into headphones output.
It seems that there should be some wrapper functions added so that my library will behave like other pipeline elements.

Is there some kind of guidelines for such case?

Thanks in advance for the replies.

Re: How to incorporate third-party source code into ADF pipeline?

Posted: Mon Sep 23, 2019 2:38 am
by jason.mao
Hi sshydlovskyi,

There are some examples for demonstration.
https://github.com/espressif/esp-adf-li ... resample.c