Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1979685ybb; Sat, 21 Mar 2020 09:56:26 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvTwmPczhUF7i+HyxXmtCOUgDvMZSa3D+o8Go5zsLEyYa76TlMY7zgIMVDBCW7ytWIt8kfZ X-Received: by 2002:a9d:228:: with SMTP id 37mr12222099otb.52.1584809786774; Sat, 21 Mar 2020 09:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584809786; cv=none; d=google.com; s=arc-20160816; b=H2uB2VddFQHkROOwNk/XpSfuevZJ7x5e4SDGwnwzy+oS1piG2qGwYbuPw8BUt/a3+t G9DuoFppnvVgL40f2HyB2P+fYy6XC0Rc1DLKWPHqX2uqGcdGNVxaaZ/O/pRKBHImiG9b PJhBo3firsQczksCE+cXF8bzoXSp5FzSnjvXg0XgdIxNXQCc2MSzNmcRUzsjJ+KyjJAr qDIecW6eLfPTnAqrZ2+w0RAwgqrTkbP5PrVTxlkhcA8ptLR5J6ZiDbToH+vl+4FJkUe0 iBrQJcS94UmYVVpb8grg1+ZBtSVuqB42Tow6SM4SKOuqf4H04Os+o7vC0H+9TMiYYffw qcXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+Z9C2aPYvbuORVExRgoCw7kkRywT67u5qzBQLpOjpHo=; b=IK5ZTZNGTn0Hwa/9oHuJgN28whFOzgQ2X/Zqj68dvhU36LqIvR6xx8qdn/ecTcgolO PmbP61lPxVgzKtMNbSDl23/ZHYdZht0MMox/85Ibo4w22sJkB5jV+9cRgOzb67+MahfU 04I5S+ibI9hf8CbtE2TRZWKCNmZnhN+aiiYZTbSisWkyKVaOqXo3rQ1ctYluvBT9oEN1 44bzyMeQbTevns14mEM8WMZeDCgywqhaPkcBP8RvDS2XZe+ZHeOSEyPcC+37y21gWbgV lrBDCfIpxTeULqJg1w0aUOib6z9SXipffn5j+MndejWy9cNapUszs2qC5KBs2rOBY2In 5Osw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="N/5jFwyR"; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x136si4887896oif.122.2020.03.21.09.55.58; Sat, 21 Mar 2020 09:56:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="N/5jFwyR"; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727033AbgCUQz5 (ORCPT + 99 others); Sat, 21 Mar 2020 12:55:57 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40365 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbgCUQz5 (ORCPT ); Sat, 21 Mar 2020 12:55:57 -0400 Received: by mail-wr1-f67.google.com with SMTP id f3so11302380wrw.7 for ; Sat, 21 Mar 2020 09:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+Z9C2aPYvbuORVExRgoCw7kkRywT67u5qzBQLpOjpHo=; b=N/5jFwyRB5MTQzbrJOLNdC2NqzISVpKXk3jztZdKE1iM3Oe6yYewt24y6EVrYH1ftu sjmrxfAoHtgX1c6GbjII21bo23RpRJkTtZMUDqdcQRTkKA/CzUE5/hh5Ve+K5zoi3HiB SHn58SBNMNZcalefIlY/dqzSFn0JyynxC8YCKaGHQfA8tgifsOIlfj7/+WYj3prcs4OZ GTYv3UuUXXAU7ftzT5HY1SHG8hya09bLGFYg1iDi7YSasS58iRf7TApXBs8MsSfJTxVl gE771zZ57w6CfiBLUChiWxAeA+vxl/5K1s2tpJ0vTwAO+R+GNMxzX3MGk8vMyRDjzsbF s1XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=+Z9C2aPYvbuORVExRgoCw7kkRywT67u5qzBQLpOjpHo=; b=XVec9EqobcM4RDYCM5K1ipTKmgRMZ1A4xmgOBHJCEvn7/fKHSb7/7/3NJ1wijqN42U 2aoZ8a7QiAgtv2JlSyp6Ie/zzZZGFkSHpD0fqM+QJNWjrFXbiJ63FOXrr1s6jDi/8su3 98GwPf74r/njznvNi1i5duOEgudeBTC3jbuuVXsIx4Qy0kdAe+mFISiEhN+jHMw3NCOg 1yypnVvHY2xJkMlE+RoCpupiWXyF47rFgF53VWbLVTL4zQcxbEYdjnCxMhkkV0BR7EgQ SDPowz07nrf/uTYWTvRoAOSU4FrT4CKymrvpMll2G6lazCzTI6e8C/yVDBMCGPoow26c j0dw== X-Gm-Message-State: ANhLgQ0aDzycBplo7D/kVBnVZsZiyUghrfdwQahnSN6Hn562NUZoVNhH G17adC04NovLqMTyoAkpKWk= X-Received: by 2002:adf:c587:: with SMTP id m7mr18995749wrg.64.1584809753372; Sat, 21 Mar 2020 09:55:53 -0700 (PDT) Received: from heartofgold.home ([90.114.80.84]) by smtp.gmail.com with ESMTPSA id o4sm14074462wrp.84.2020.03.21.09.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Mar 2020 09:55:52 -0700 (PDT) From: Guillaume Martres To: sathish.narasimman@intel.com, marcel@holtmann.org Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH v6 2/2] bluetooth:btusb: handle msbc audio over USB Endpoints Date: Sat, 21 Mar 2020 17:55:51 +0100 Message-Id: <20200321165551.11928-1-smarter@ubuntu.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Guillaume Martres Hi Sathish, Marcel, > I would really prefer to have some Tested-by lines from people that can verify that this patch works. Here's my experience: a recent pulseaudio MR [1] added support for mSBC. When I tried it using my laptop (Intel AX200) and headphones (Bose Headphone 700), the voice quality was extremely bad. I eventually realized that this could be fixed by ignoring all zero-filled packets sent by the headphones when decoding mSBC [2], after that everything worked fine. Since then, I was made aware of the existence of this patchset, after applying this patch (and [3] which apparently only exists as v5 and not v6), my headphones stopped sending zero-filled packets, but: - the recorded audio quality is again extremely bad and robotic. - when audio is being played, the headphones do not emit any sound. Note that I applied this patchset on top of the current Ubuntu 20.04 kernel [4], let me know if it's worth retesting on top of the mainline kernel, or if there is something else I could try. Hope this helps, Guillaume [1]: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/254 [2]: https://gitlab.freedesktop.org/smarter/pulseaudio/-/commit/bb716b03002841e1092b4200935566d5c1a951fe [3]: https://www.spinics.net/lists/linux-bluetooth/msg82149.html [4]: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/?h=Ubuntu-5.4.0-18.22&id=93dfa5b8e12fed29933f3451db44d88c0e4b5aed