[alsa-devel] [PATCH lib 5/5] conf: Add hint descriptions to ctl, hwdep, seq and timer devices

Takashi Iwai tiwai at suse.de
Thu Apr 30 15:06:18 CEST 2015


Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 src/conf/alsa.conf | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf
index 5c928e8afbcd..f22918fbbf83 100644
--- a/src/conf/alsa.conf
+++ b/src/conf/alsa.conf
@@ -345,6 +345,7 @@ ctl.sysdefault {
 			name defaults.ctl.card
 		}
 	}
+	hint.description "Default control device"
 }
 ctl.default ctl.sysdefault
 
@@ -366,6 +367,7 @@ ctl.hw {
 	}
 	type hw
 	card $CARD
+	hint.description "Direct control device"
 }
 
 ctl.shm {
@@ -408,6 +410,7 @@ rawmidi.default {
 			name defaults.rawmidi.device
 		}
 	}
+	hint.description "Default raw MIDI device"
 }
 
 rawmidi.hw {
@@ -469,6 +472,7 @@ rawmidi.virtual {
 
 seq.default {
 	type hw
+	hint.description "Default sequencer device"
 }
 
 seq.hw {
@@ -502,6 +506,7 @@ hwdep.default {
 			name defaults.hwdep.device
 		}
 	}
+	hint.description "Default hardware dependent device"
 }
 
 hwdep.hw {
@@ -536,6 +541,10 @@ hwdep.hw {
 	type hw
 	card $CARD
 	device $DEV
+	hint {
+		description "Direct hardware dependent device"
+		device $DEV
+	}
 }
 
 #
@@ -572,7 +581,7 @@ timer.default {
 		@func refer
 		name defaults.timer.subdevice
 	}
-	hint.description "Default direct hardware timer device"
+	hint.description "Default timer device"
 }
 
 timer.hw {
@@ -618,4 +627,8 @@ timer.hw {
 	card $CARD
 	device $DEV
 	subdevice $SUBDEV
+	hint {
+		description "Direct timer device"
+		device $DEV
+	}
 }
-- 
2.3.6



More information about the Alsa-devel mailing list