[ALSA] Add pcm_class attribute to PCM sysfs entry
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Sep 2006 12:27:46 +0000 (14:27 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:46:32 +0000 (10:46 +0200)
commit9d19f48cfe2570562c2c6226780a7ca627b0f1f1
treedffe11da7daa0b27225c08badee58628923d961b
parenta7da6ce564a80952d9c0b210deca5a8cd3474a31
[ALSA] Add pcm_class attribute to PCM sysfs entry

This patch adds a new attribute, pcm_class, to each PCM sysfs entry.
It's useful to detect what kind of PCM stream is, for example, HAL
can check whether it's a modem or not.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
include/sound/core.h
sound/core/pcm.c
sound/core/sound.c