diff mbox

v4l-utils: mc_nextgen_test add ALSA capture, playback, and mixer

Message ID 1445383649-7848-1-git-send-email-shuahkh@osg.samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Shuah Khan Oct. 20, 2015, 11:27 p.m. UTC
Add support for ALSA capture, playback, and mixer entity functions.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
---
 contrib/test/mc_nextgen_test.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/contrib/test/mc_nextgen_test.c b/contrib/test/mc_nextgen_test.c
index e287096..e0d0ad2 100644
--- a/contrib/test/mc_nextgen_test.c
+++ b/contrib/test/mc_nextgen_test.c
@@ -227,6 +227,12 @@  static inline const char *ent_function(uint32_t function)
 		return "ATV decoder";
 	case MEDIA_ENT_F_TUNER:
 		return "tuner";
+	case MEDIA_ENT_F_AUDIO_CAPTURE:
+		return "Audio Capture";
+	case MEDIA_ENT_F_AUDIO_PLAYBACK:
+		return "Audio Playback";
+	case MEDIA_ENT_F_AUDIO_MIXER:
+		return "Audio Mixer";
 	case MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN:
 	default:
 		return "unknown entity type";