]> git.alsa-project.org Git - alsa-lib.git/commit
Add snd_{ctl|pcm}_open_fallback() functions
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 Jul 2011 11:10:24 +0000 (13:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Jul 2011 13:24:13 +0000 (15:24 +0200)
commitacb423d937111d682706169bcdcb58c70fdfa84d
treefeea1ea7d719c0246782754fbdda7b5935b72e1d
parente6f990e5c9be5cac6f36924d20a75d0f69d27297
Add snd_{ctl|pcm}_open_fallback() functions

This patch adds new API functions, snd_ctl_open_fallback() and
snd_pcm_open_fallback().  These are just like snd_*_open_lconf() but
used to open a fallback PCM/control.  The difference is that it replaces
the name string with the given original name, so that hctl and other
upper-layers will recognize it as an alias.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/control.h
include/pcm.h
src/control/control.c
src/pcm/pcm.c