From patchwork Thu Mar 5 00:38:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: han.lu@intel.com X-Patchwork-Id: 5941661 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7EF8DBF440 for ; Thu, 5 Mar 2015 00:43:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BABD320361 for ; Thu, 5 Mar 2015 00:43:33 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id CC848202B8 for ; Thu, 5 Mar 2015 00:43:32 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 65D2A2652CC; Thu, 5 Mar 2015 01:43:30 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 532B32652E5; Thu, 5 Mar 2015 01:43:23 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0B6A92652E5; Thu, 5 Mar 2015 01:43:20 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by alsa0.perex.cz (Postfix) with ESMTP id A5D892652C3; Thu, 5 Mar 2015 01:43:14 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 04 Mar 2015 16:38:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,344,1422950400"; d="scan'208";a="462669380" Received: from hanlu-bdw2.sh.intel.com ([10.239.159.159]) by FMSMGA003.fm.intel.com with ESMTP; 04 Mar 2015 16:36:54 -0800 From: han.lu@intel.com To: patch@alsa-project.org Date: Thu, 5 Mar 2015 08:38:54 +0800 Message-Id: <1425515935-12604-1-git-send-email-han.lu@intel.com> X-Mailer: git-send-email 2.1.0 Cc: liam.r.girdwood@linux.intel.com, "Lu, Han" , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH v2 1/2] ucm: document some standard values X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Lu, Han" add standard value JackDev, JackControl and JackHWMute for speaker mute control on jack insertion. These values will be applied on pulseaudio. Signed-off-by: Lu, Han diff --git a/include/use-case.h b/include/use-case.h index 697377a..3728906 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -284,6 +284,10 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * PlaybackMixerID - mixer playback ID * CaptureMixer - name of capture mixer * CaptureMixerID - mixer capture ID + * JackDev - jack device name + * JackControl - jack control name + * JackHWMute - indicate if the HW mutes a device on jack insertion + * or not. */ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier,