From patchwork Tue Oct 20 23:27:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 7453791 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 3BC489F36A for ; Tue, 20 Oct 2015 23:27:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6AEF920881 for ; Tue, 20 Oct 2015 23:27:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90442206B8 for ; Tue, 20 Oct 2015 23:27:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751404AbbJTX1c (ORCPT ); Tue, 20 Oct 2015 19:27:32 -0400 Received: from resqmta-po-09v.sys.comcast.net ([96.114.154.168]:52863 "EHLO resqmta-po-09v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbbJTX1b (ORCPT ); Tue, 20 Oct 2015 19:27:31 -0400 Received: from resomta-po-18v.sys.comcast.net ([96.114.154.242]) by resqmta-po-09v.sys.comcast.net with comcast id XbTX1r0045E3ZMc01bTXU3; Tue, 20 Oct 2015 23:27:31 +0000 Received: from mail.gonehiking.org ([73.181.52.62]) by resomta-po-18v.sys.comcast.net with comcast id XbTX1r0081LXgTt01bTX7R; Tue, 20 Oct 2015 23:27:31 +0000 Received: from lorien.internal (lorien-wl.internal [192.168.1.40]) by mail.gonehiking.org (Postfix) with ESMTP id D5DB6A1516; Tue, 20 Oct 2015 17:27:30 -0600 (MDT) From: Shuah Khan To: mchehab@osg.samsung.com, hans.verkuil@cisco.com Cc: Shuah Khan , linux-media@vger.kernel.org Subject: [PATCH] v4l-utils: mc_nextgen_test add ALSA capture, playback, and mixer Date: Tue, 20 Oct 2015 17:27:29 -0600 Message-Id: <1445383649-7848-1-git-send-email-shuahkh@osg.samsung.com> X-Mailer: git-send-email 2.1.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1445383651; bh=1Bwpv6/CNnD66o1dlvZny1hQmmLCniZa8bbzPjHNCCc=; h=Received:Received:Received:From:To:Subject:Date:Message-Id; b=bZuuvw0d8PmtifRx5fZmtLKc97Uh2i7Fgh9RN8PHdAx7cQb/2M2k1zaRdaCnca3uQ 62kjbWW9QzsSalDF47+Gj9NtWqhwXRwM05acDtR/HN64ZGoA90jtqOOG+ZCM1H/iuN 8WQdndzxHDSq9GvsSPhaSBm6VFemLaPpE9mewwCWdGMyvi0mxFC4pP8mY105AoKfRB 6r8T131yz0qDYi0+/uqsqzxuRT1TgOumTAJ8RENfxfsvVJtibtM79AzM4T+vtuBtoA nPpLgw7wz0NEpjffUpb8n5vVctdePFzHSLjmGwcmAo0wt89JYauOOu/KSfZLNxN3ST 330qYYT8qAC2w== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 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";