On Wed, 30 Aug 2017 09:59:59 +0200, boozer asm wrote: > > Hi Takashi, > > i think mix is same as ext->data instead ext. ext is of extplug_priv_t *; > so it is definitely not mix which is of snd_pcm_upmix_t > > 33 struct snd_pcm_upmix { > 34 snd_pcm_extplug_t ext; > > typedef struct snd_pcm_extplug_priv { > snd_pcm_plugin_t plug; > snd_pcm_extplug_t *data; > between upmix and extplug_priv, there is a gap plug, which forbid ext to be > converted to mix directly. > so free(ext) in snd_pcm_extplug_close does NOT promise it will free mix too. OK, then care to submit patches? thanks, Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel