From patchwork Wed Jan 6 21:18:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 7971261 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 38E5B9F1CC for ; Wed, 6 Jan 2016 21:18:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 823F120173 for ; Wed, 6 Jan 2016 21:18:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 258CA20172 for ; Wed, 6 Jan 2016 21:18:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752145AbcAFVSV (ORCPT ); Wed, 6 Jan 2016 16:18:21 -0500 Received: from mailout.easymail.ca ([64.68.201.169]:52593 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751969AbcAFVSU (ORCPT ); Wed, 6 Jan 2016 16:18:20 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id F0480E7E2; Wed, 6 Jan 2016 16:18:19 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mailout.easymail.ca X-Spam-Score: -3.583 X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (easymail-mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sRCd12vAd63V; Wed, 6 Jan 2016 16:18:19 -0500 (EST) Received: from mail.gonehiking.org (c-73-181-52-62.hsd1.co.comcast.net [73.181.52.62]) by mailout.easymail.ca (Postfix) with ESMTPA id B571AE8BB; Wed, 6 Jan 2016 16:18:19 -0500 (EST) Received: from lorien.internal (lorien-wl.internal [192.168.1.40]) by mail.gonehiking.org (Postfix) with ESMTP id 5B1049F307; Wed, 6 Jan 2016 14:18:19 -0700 (MST) From: Shuah Khan To: mchehab@osg.samsung.com, hans.verkuil@cisco.com Cc: Shuah Khan , linux-media@vger.kernel.org Subject: [PATCH RESEND] v4l-utils: mc_nextgen_test add ALSA capture, playback, and mixer Date: Wed, 6 Jan 2016 14:18:18 -0700 Message-Id: <1452115098-6086-1-git-send-email-shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.5.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for ALSA capture, playback, and mixer entity functions. Signed-off-by: Shuah Khan --- 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";