Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
462 stars 289 forks source link

Add interface module to avtp pipeline #859

Closed chris-kuhr closed 5 years ago

chris-kuhr commented 5 years ago

Hi *,

I want to write a JACK interface module for the avtp pipeline. The alsa interface serves as a template, I added the JACK build parameters in (nearly) all relevant CMakeLists and created an .ini file.

The compilation works, but the openavb_host still shows the symbols of the ALSA interface.

What do I have to edit in order to compile the executable correctly?

BR, Ck

chris-kuhr commented 5 years ago

hi,

can anyone help? I am stuck and am not able to find the missing link...

Best, Ck

JakubMielczarek81 commented 5 years ago

Hi,

You need to register the interface module in openavb_host and harness by calling "registerStaticIntfModule()". For example:

registerStaticIntfModule(openavbIntfEchoInitialize);

Have a look at host and harness and how they register the existing interfaces and mappings.

Best regards, Jakub

chris-kuhr commented 5 years ago

Jakub,

thank you very much! This was the last missing link.

Now everything looks fine.

This issue is solved. Best, Ck