Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0086FC6194 for ; Thu, 7 Nov 2019 02:03:17 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6EBA0217D7 for ; Thu, 7 Nov 2019 02:03:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="TRTuYLSm"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GT1nvnSj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EBA0217D7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B66CB1690; Thu, 7 Nov 2019 03:02:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B66CB1690 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1573092195; bh=Uqws3t5nY+/kgWUCa8AT4CfmYjrbGI1+y7tm7YUYmdI=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TRTuYLSmmjvdiSomHAwM6OKSib2t9oABTj/Dr+jn5gETfmrnWsvW4gV+bZ5vWOUUg kDsWuFCvToNkRs0dXTAhbnHwRygAJswTwM30ze24hYBMiYIG75v4Hzr4pT/0+AIblo K8Ww+s1NY98CDkEROuD0T4+GE7zQv1A5InUbKLrw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D4D86F8065B; Thu, 7 Nov 2019 02:58:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 19413F80321; Thu, 7 Nov 2019 02:58:41 +0100 (CET) Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 19B1EF8048D for ; Thu, 7 Nov 2019 02:58:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 19B1EF8048D Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GT1nvnSj" Received: by mail-pl1-x644.google.com with SMTP id e3so334068plt.7 for ; Wed, 06 Nov 2019 17:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NMWAjpmwWtLHCGG+HdeGxWJERp3gGXJOhp0sqZ3EHm4=; b=GT1nvnSj7hvDG6uK+NOaJEYqlw6TARN+ZMPH0bLIYayDjOSamJXuh9aiqDuIZRy8OH agE1ZKvDQ1rMuWlSScOsg2onMRNMx177rwiRIFjHdsEk8bXCh5yQdet8hA65MajW3IGy F3JqznqUUdwRjochG/w3KscGtK2hLyezt9doM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NMWAjpmwWtLHCGG+HdeGxWJERp3gGXJOhp0sqZ3EHm4=; b=lEc/vHZ1FAvdrb2nhllcYC2g6fAk6RCouWqzxRh+dZtwz7GtXG2W+qtbZwcARq1vix yqEY4lTZW0vyJerp3qAwLUXr/BxlbqjdOF+big0r/rPLKweynwg8P6z0yX1ioezXrvDr Z0vLNwOs246RH0xthE2cPg5tgJvmQRYtmUmwMUUHX0Ew99YzH1xfg5ZvPWrB3nHuk+hP 6Z2V54y8SKf7YYp6AurNCbtoQlG1vQzkgyWWu320MYRf5UxmbXaril/JzgHrKCeC8p8f biJSIq++hqkPDOAfgBVzMXDvQWoOCIu4IdgpI0djTTMK1NJdX/tzqNE5gHfFMSxrW5Yz hXBw== X-Gm-Message-State: APjAAAXytgwz+MnntTrhmf7TOWtdiv9HG86++qGe7k7iot090ReOGglp 7xaOClPH8l8qwYbLhFhaVkA3aPKvgLnA X-Google-Smtp-Source: APXvYqzUzF5Rkbb+nVLYFin7HZb7lgKx/7OaR7wM4k3Xq0rOP6fdb8gnDwDDE5bG+V58R/jB84hQ3g== X-Received: by 2002:a17:902:161:: with SMTP id 88mr818651plb.253.1573091915855; Wed, 06 Nov 2019 17:58:35 -0800 (PST) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id a25sm289748pff.50.2019.11.06.17.58.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Nov 2019 17:58:35 -0800 (PST) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Wed, 6 Nov 2019 17:58:03 -0800 Message-Id: <20191107015808.26844-6-cujomalainey@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog In-Reply-To: <20191107015808.26844-1-cujomalainey@chromium.org> References: <20191107015808.26844-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Curtis Malainey , broonie@kernel.org Subject: [alsa-devel] [PATCH 06/11] ucm: docs: Add DisableSoftwareVolume X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Some userspace audio servers might default to software volume, this allows the ucm to force its behaviour Signed-off-by: Curtis Malainey --- include/use-case.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/use-case.h b/include/use-case.h index 05628303..1aeaf9d4 100644 --- a/include/use-case.h +++ b/include/use-case.h @@ -334,6 +334,8 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, * - This is used on platform where reported buffer level is not accurate. * E.g. "512", which holds 512 samples in device buffer. Note: this will * increase latency. + * - DisableSoftwareVolume + * - Set to "1" to force userspace to use hardware volume controls */ int snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier, -- 2.24.0.432.g9d3f5f5b63-goog _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel