summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-10-27 16:58:40 +0000
committerTakashi Iwai <tiwai@suse.de>2005-10-27 16:58:40 +0000
commit69194a1f99341106db8517799825d83d2b9cdd04 (patch)
treecce52132af834e51f9b63d529d9816959809a3a4
parent37dee92d73d033c6d4d807eaf007b53afaf11b12 (diff)
Fix channel_info callback of plugins
Fixed channel_info callback of plugins with different src/dest sizes.
-rw-r--r--src/pcm/pcm_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/pcm_generic.c b/src/pcm/pcm_generic.c
index 295cca6c..ffef8fe4 100644
--- a/src/pcm/pcm_generic.c
+++ b/src/pcm/pcm_generic.c
@@ -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);
}
}