Fix generic channel_info callbacks

Fixed generic channel_info callbacks for many plugins.
The allocation of unnecessary internal buffers is avoided.
This commit is contained in:
Takashi Iwai 2005-05-19 16:50:24 +00:00
parent d81d6940ca
commit 18053076e2
6 changed files with 9 additions and 10 deletions

View file

@ -111,11 +111,6 @@ int snd_pcm_generic_prepare(snd_pcm_t *pcm)
}
int snd_pcm_generic_channel_info(snd_pcm_t *pcm, snd_pcm_channel_info_t *info)
{
return snd_pcm_channel_info_shm(pcm, info, -1);
}
int snd_pcm_generic_channel_info_slave(snd_pcm_t *pcm, snd_pcm_channel_info_t *info)
{
snd_pcm_generic_t *generic = pcm->private_data;
return snd_pcm_channel_info(generic->slave, info);