[alsa-devel] bug in alsa-plugins: #if SND_PCM_EXTPLUG_VERSION wrong

Ethan Grammatikidis eekee57 at fastmail.fm
Wed Mar 18 16:58:39 CET 2015


in alsa-plugins 1.0.28 and 1.0.29, mix/*.c contain the following line:

#if SND_PCM_EXTPLUG_VERSION >= 0x102

that 0x102 needs to be 0x10002. i have alsa-lib 1.0.26 installed. its headers define SND_PCM_EXTPLUG_VERSION to 0x10001, corresponding to version number 1.0.1. that #if effectively tests for >= 0.1.2, so attempting to build alsa-plugins 1.0.28 or 1.0.29 results in a long list of errors. SND_CHMAP_MONO, SND_CHMAP_FL, etc are undeclared and snd_pcm_chmap_query_t is an unknown type.

in alsa-plugins 1.0.26 SND_PCM_EXTPLUG_VERSION is not tested. i didn't look at 1.0.27

reporting here because the bug tracker is down.

-- 
Wir mussen wissen, wir werden wissen.


More information about the Alsa-devel mailing list