]> git.alsa-project.org Git - alsa-lib.git/commit
Allow hint for ctl, hwdep, timer and seq
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2015 12:52:35 +0000 (14:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2015 12:52:35 +0000 (14:52 +0200)
commit7d9972c6ad154bc55ccecb555ec84c01a694a050
treeb53cf4b1b3bf4f71fffd7352b3dda3fa30996cd3
parent46d98392d0f832e46693c8c06b4927a5eb6f4b28
Allow hint for ctl, hwdep, timer and seq

Like pcm and rawmidi, each object parser needs to accept the hint
component.  Now a new local function _snd_conf_generic_id() was
introduced to replace each call of "comment" and "type" field checks.

Also, the two existing identical functions for pcm and rawmidi are
removed and the new function is used commonly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 files changed:
include/local.h
src/confmisc.c
src/control/control_hw.c
src/control/control_shm.c
src/hwdep/hwdep_hw.c
src/pcm/pcm.c
src/pcm/pcm_local.h
src/rawmidi/rawmidi.c
src/rawmidi/rawmidi_local.h
src/seq/seq_hw.c
src/timer/timer_hw.c
src/timer/timer_query_hw.c