Fix channel_info callback of plugins

Fixed channel_info callback of plugins with different src/dest sizes.
This commit is contained in:
Takashi Iwai 2005-10-27 16:58:40 +00:00
parent 37dee92d73
commit 69194a1f99

View file

@ -121,7 +121,7 @@ int snd_pcm_generic_channel_info(snd_pcm_t *pcm, snd_pcm_channel_info_t *info)
return snd_pcm_channel_info(generic->slave, info);
} else {
/* Allocate own buffer */
return snd_pcm_channel_info_shm(generic->slave, info, -1);
return snd_pcm_channel_info_shm(pcm, info, -1);
}
}