Skip to contentSkip to conversation

ALSA: core - add missing compress device type to /proc/asound/devices

PATCH Applied Jaroslav Kysela 3 participants 3 messages Feb 10, 2021 Sound

lore
Share & tools
lore

Jaroslav Kysela

author maintainer
#0 lore raw

PATCH 1/1 ALSA: core - add missing compress device type to /proc/asound/devices

---
 sound/core/sound.c | 2 ++
 1 file changed, 2 insertions(+)
sound/core/sound.c +2 -0
index b75f78f2c4b8..302b6d12ab2b 100644
@@ -337,6 +337,8 @@ static const char *snd_device_type_name(int type)
 		return "sequencer";
 	case SNDRV_DEVICE_TYPE_TIMER:
 		return "timer";
+	case SNDRV_DEVICE_TYPE_COMPRESS:
+		return "compress";
 	default:
 		return "?";
 	}
Signature · 1 line
2.29.2
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Jaroslav Kysela
Quoted 19 lines
---
 sound/core/sound.c | 2 ++
 1 file changed, 2 insertions(+)
sound/core/sound.c +2 -0
index b75f78f2c4b8..302b6d12ab2b 100644
@@ -337,6 +337,8 @@ static const char *snd_device_type_name(int type)
 		return "sequencer";
 	case SNDRV_DEVICE_TYPE_TIMER:
 		return "timer";
+	case SNDRV_DEVICE_TYPE_COMPRESS:
+		return "compress";
 	default:
 		return "?";
 	}
Signature · 1 line
2.29.2
Signature · 1 line
~Vinod