diff options
Diffstat (limited to 'src/pcm/pcm_generic.c')
-rw-r--r-- | src/pcm/pcm_generic.c | 2 |
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); } } |