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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>
Cc: Vinod Koul <vkoul@xxxxxxxxxx>
---
 sound/core/sound.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/core/sound.c b/sound/core/sound.c
index b75f78f2c4b8..302b6d12ab2b 100644
--- a/sound/core/sound.c
+++ b/sound/core/sound.c
@@ -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 "?";
 	}
-- 
2.29.2



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux