mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-09 13:30:03 -05:00
Fix channel_info callback of plugins
Fixed channel_info callback of plugins with different src/dest sizes.
This commit is contained in:
parent
37dee92d73
commit
69194a1f99
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
return snd_pcm_channel_info(generic->slave, info);
|
||||||
} else {
|
} else {
|
||||||
/* Allocate own buffer */
|
/* Allocate own buffer */
|
||||||
return snd_pcm_channel_info_shm(generic->slave, info, -1);
|
return snd_pcm_channel_info_shm(pcm, info, -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue