Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1587443pxb; Tue, 8 Feb 2022 23:14:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxm8oiewly8LwyA59eapaFjR3tV6fVYKCp4UxQr/Tzq743hJQAupxxCdm1J5g0AxWDa9kXw X-Received: by 2002:a05:6402:2792:: with SMTP id b18mr1033290ede.344.1644390875891; Tue, 08 Feb 2022 23:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644390875; cv=none; d=google.com; s=arc-20160816; b=L3aOFMzZWbkWzj2WtsUr48PAWInItKWYvc8a9LBVxaTb2YGzaPWduYZOsM3ONzXV1q BjSYHRDiFNEoeovxxxA9hHQ4nmgbp2DkrLAYfktZRnXNCHbOVTtuvbkoXzWhz0zUtCPX qNPqXZMF6/aUAPpGz2gvUeVijX7s1+xzuUyZOngpgyScAYjmJFzv/ZKQ4auX15ut7OYu RZCcIeZwXSI9gerQxb/iWNGV5UU8RjHgifCYzY+5ncmvSiwCkDzobWPMwwrtD/1WL3hH ZWcYsXglx3tFAuORSeqSchTiCFW2gS2oHzs6+CuA7viI4c9LVYiioZQFBYcQdo8MLUp1 frkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organization:content-disposition :mime-version:mail-followup-to:message-id:subject:cc:to:from:date; bh=rCYOxyS5rNaacmsJARPRhA3CZW9KJRCnzz6MQV3Fq14=; b=bsEl2GSziiWW6XgXjIXurhW3eooqFyCUnYcW6xd5YiwdrANceJlRrCVIvMlbKua6nv N6Ef+WP6qoGZBDapWaYKQ7eIvArX3uD74kb2Pquj92WHa2Oz+xP2uMwvz0CsMbQH2lKa nzghVXrEEn1Ih+9Ks+DKfGO26lji2inLXRScKlJNOAF/gRiaDCrCIJmrwXbuyE7GblC7 2j13hizuMV/HlDcQ2uf123QY2nIH1xZGAYtkQd5ZHjjJQXSUoyjkpvbf4WPQeFlESMUl uPptJ7yVNrQGtvy+MRyt67CD/+ic1EOBdW5u4cU0zhwTky/vI4NwpQxxolNBT6YaBAcY YmXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hw8si161309ejc.600.2022.02.08.23.14.10; Tue, 08 Feb 2022 23:14:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381214AbiBFB4h (ORCPT + 99 others); Sat, 5 Feb 2022 20:56:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234916AbiBFB4h (ORCPT ); Sat, 5 Feb 2022 20:56:37 -0500 Received: from hera.aquilenet.fr (hera.aquilenet.fr [IPv6:2a0c:e300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA63FC043186 for ; Sat, 5 Feb 2022 17:56:35 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4B3522A0; Sun, 6 Feb 2022 02:56:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z9cfu_kIm-6v; Sun, 6 Feb 2022 02:56:30 +0100 (CET) Received: from begin (unknown [IPv6:2a01:cb19:956:1b00:de41:a9ff:fe47:ec49]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 463C363; Sun, 6 Feb 2022 02:56:29 +0100 (CET) Received: from samy by begin with local (Exim 4.95) (envelope-from ) id 1nGWmw-000EUA-Tu; Sun, 06 Feb 2022 02:56:26 +0100 Date: Sun, 6 Feb 2022 02:56:26 +0100 From: Samuel Thibault To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, speakup@linux-speakup.org Subject: [PATCH] [speakup-dectlk] Restore pitch setting Message-ID: <20220206015626.aesbhvvdkmqsrbaw@begin> Mail-Followup-To: Samuel Thibault , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, speakup@linux-speakup.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 4B3522A0 X-Spamd-Result: default: False [0.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; MID_RHS_NOT_FQDN(0.50)[] X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org d97a9d7aea04 ("staging/speakup: Add inflection synth parameter") introduced the inflection parameter, but happened to drop the pitch parameter from the dectlk driver. This restores it. Cc: stable@vger.kernel.org Signed-off-by: Samuel Thibault diff --git a/drivers/accessibility/speakup/speakup_dectlk.c b/drivers/accessibility/speakup/speakup_dectlk.c index 580ec796816b..78ca4987e619 100644 --- a/drivers/accessibility/speakup/speakup_dectlk.c +++ b/drivers/accessibility/speakup/speakup_dectlk.c @@ -44,6 +44,7 @@ static struct var_t vars[] = { { CAPS_START, .u.s = {"[:dv ap 160] " } }, { CAPS_STOP, .u.s = {"[:dv ap 100 ] " } }, { RATE, .u.n = {"[:ra %d] ", 180, 75, 650, 0, 0, NULL } }, + { PITCH, .u.n = {"[:dv ap %d] ", 122, 50, 350, 0, 0, NULL } }, { INFLECTION, .u.n = {"[:dv pr %d] ", 100, 0, 10000, 0, 0, NULL } }, { VOL, .u.n = {"[:dv g5 %d] ", 86, 60, 86, 0, 0, NULL } }, { PUNCT, .u.n = {"[:pu %c] ", 0, 0, 2, 0, 0, "nsa" } },