Fix channel_info callbacks of hooks, file and plug plugins

Fixed channel_info callbacks of hooks, file and plug plugins (BTS #1034).
snd_pcm_generic_channel_info_slave() is added.
This commit is contained in:
Takashi Iwai 2005-04-05 15:48:01 +00:00
parent 38f4e69b0c
commit e5b91844bf
5 changed files with 10 additions and 3 deletions

View file

@ -343,7 +343,7 @@ static snd_pcm_ops_t snd_pcm_file_ops = {
.hw_params = snd_pcm_file_hw_params,
.hw_free = snd_pcm_file_hw_free,
.sw_params = snd_pcm_generic_sw_params,
.channel_info = snd_pcm_generic_channel_info,
.channel_info = snd_pcm_generic_channel_info_slave,
.dump = snd_pcm_file_dump,
.nonblock = snd_pcm_generic_nonblock,
.async = snd_pcm_generic_async,