alsa-project / alsa-plugins

The Advanced Linux Sound Architecture (ALSA) - plugins
GNU Lesser General Public License v2.1
41 stars 28 forks source link

Any way to fuse static libasound with alsa-plugins so no dlopens are performed? #45

Closed MIvanchev closed 2 years ago

MIvanchev commented 2 years ago

See title. I have a project that might benefit from such a mix.

perexg commented 2 years ago

This combo is not supported but it's doable.

MIvanchev commented 2 years ago

Can you give me some directions regarding the easiest way to achieve it?

perexg commented 2 years ago

Look to the snd_dlsym() function - "we are looking for a symbol in a static library" comment in alsa-lib.