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

@ -126,7 +126,7 @@ static snd_pcm_ops_t snd_pcm_hooks_ops = {
.hw_params = snd_pcm_hooks_hw_params,
.hw_free = snd_pcm_hooks_hw_free,
.sw_params = snd_pcm_generic_sw_params,
.channel_info = snd_pcm_generic_channel_info_slave,
.channel_info = snd_pcm_generic_channel_info,
.dump = snd_pcm_hooks_dump,
.nonblock = snd_pcm_generic_nonblock,
.async = snd_pcm_generic_async,