Add support for ALSA capture, playback, and mixer entity functions.

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

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";
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to