Re: [pulseaudio-discuss] Question about Pulseaudio hardware abstraction

2020-04-29 Thread Pali Rohár
0" it will directly access sound card 0 (via /dev/snd/...) and show state of sound card 0. -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-28 Thread Pali Rohár
On Tuesday 28 April 2020 21:52:55 Georg Chini wrote: > On 28.04.20 21:06, Pali Rohár wrote: > > On Tuesday 28 April 2020 20:50:33 Georg Chini wrote: > > > Personally I don't see a problem to remove the AG role support from > > > the ofono backend because nobody uses

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-28 Thread Pali Rohár
wants to listen on port 1234 and both want to accept new connections. Without full cooperative environment it does not work. hsphfpd daemon is there to accept new connections from both RFCOMM and SCO sockets and do all needed stuff with it (pass to other application, or process data on it direct

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-28 Thread Pali Rohár
ll trying to keep this ofono backend as is as we know that is cause interopability problems, have broken API for audio, ofono community is not willing to fix it and maintain it and moreover there is replacement in my new hsphpfd design? -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-28 Thread Pali Rohár
On Tuesday 28 April 2020 16:33:01 Tanu Kaskinen wrote: > On Tue, 2020-04-28 at 13:08 +0200, Pali Rohár wrote: > > On Tuesday 28 April 2020 13:57:42 Tanu Kaskinen wrote: > > > Just to chime in on the ofono removal issue: I'm also of the opinion > > > that removing ofo

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-28 Thread Pali Rohár
button support, etc...) And... what is the purpose of buggy ofono backend support in pulseaudio, now when I provided better code HSP and HFP profiles? -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pulseaudio-d

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-27 Thread Pali Rohár
On Monday 27 April 2020 22:18:38 Georg Chini wrote: > On 27.04.20 22:12, Pali Rohár wrote: > > On Monday 27 April 2020 22:06:29 Georg Chini wrote: > > > On 27.04.20 21:45, Georg Chini wrote: > > > > On 27.04.20 01:44, Pali Rohár wrote: > > > > > On Tue

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-27 Thread Pali Rohár
On Monday 27 April 2020 22:06:29 Georg Chini wrote: > On 27.04.20 21:45, Georg Chini wrote: > > On 27.04.20 01:44, Pali Rohár wrote: > > > On Tuesday 31 March 2020 09:36:21 Georg Chini wrote: > > > > One comment here: The hsphfpd should be able to co-exist with >

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-27 Thread Pali Rohár
On Monday 27 April 2020 21:45:47 Georg Chini wrote: > On 27.04.20 01:44, Pali Rohár wrote: > > On Tuesday 31 March 2020 09:36:21 Georg Chini wrote: > > > One comment here: The hsphfpd should be able to co-exist with > > > ofono. ofono + PA currently is the only

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-26 Thread Pali Rohár
to correctly unregister when hsphfpd appear in the system and register when hsphfpd disappear in the system. So at least internal HSP AG implementation with lot of my patches could be compatible with hsphfpd. -- Pali Rohár pali.ro...@gmail.com ___ pul

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-04-26 Thread Pali Rohár
On Tuesday 17 March 2020 13:06:52 Pali Rohár wrote: > On Monday 16 March 2020 18:19:47 Tanu Kaskinen wrote: > > On Sun, 2020-03-15 at 14:37 +0100, Pali Rohár wrote: > > > Hello! One month passed and I have not answer which solution would > > > pulseaudio choose for HSP

[pulseaudio-discuss] [PATCH v15 10/10] bluetooth: Add more variants of SBC codec

2020-04-15 Thread Pali Rohár
Specify configuration for Low, Middle, High and eXtreme Quality of SBC codec. SBC codec in eXtreme Quality has higher quality than aptX. Automatic Quality mode matches configuration of SBC codec which was used before this change. Which means that it accept configuration between Low and High

[pulseaudio-discuss] [PATCH v15 08/10] bluetooth: Add A2DP aptX and aptX HD codecs support

2020-04-15 Thread Pali Rohár
FLAGS) +libbluez5_util_la_LDFLAGS += $(OPENAPTX_LDFLAGS) +endif + module_bluez5_discover_la_SOURCES = modules/bluetooth/module-bluez5-discover.c module_bluez5_discover_la_LDFLAGS = $(MODULE_LDFLAGS) module_bluez5_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluez5-util.la diff --gi

[pulseaudio-discuss] [PATCH v15 09/10] bluetooth: Add A2DP FastStream codec support

2020-04-15 Thread Pali Rohár
@ -0,0 +1,566 @@ +/*** + This file is part of PulseAudio. + + Copyright 2018-2019 Pali Rohár + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either versi

[pulseaudio-discuss] [PATCH v15 07/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2020-04-15 Thread Pali Rohár
Previously module-bluetooth-policy was switching from A2DP to HSP profile when VOIP application started recording of source. Now it switch to profile with the highest priority which has both sink and source. In most cases it is HSP profile, but it can be also bi-directional A2DP profile (e.g.

[pulseaudio-discuss] [PATCH v15 04/10] bluetooth: policy: Reflect a2dp profile names

2020-04-15 Thread Pali Rohár
In next patches, codec name is appended end the end of a2dp profile names. --- src/modules/bluetooth/module-bluetooth-policy.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-policy.c

[pulseaudio-discuss] [PATCH v15 01/10] bluetooth: Add missing newlines into inline XML document

2020-04-15 Thread Pali Rohár
When calling introspection function, newlines in XML document makes it better readable. There are already leading spaces for indentation but newlines were probably forgotten. --- src/modules/bluetooth/bluez5-util.c | 44 ++--- 1 file changed, 22 insertions(+), 22

[pulseaudio-discuss] [PATCH v15 06/10] bluetooth: Set initial A2DP profile which bluez already activated

2020-04-15 Thread Pali Rohár
Bluez and remote device decide which A2DP codec would use. Use this selected A2DP codec as initial profile in pulseaudio. In most cases it is either last used codec or codec with higher priority by defined by remote device. To detect which A2DP profile was activated by bluez, look at bluez

[pulseaudio-discuss] [PATCH v15 05/10] bluetooth: Implement A2DP codec switching and backchannel support

2020-04-15 Thread Pali Rohár
Some A2DP codecs (like FastStream or aptX Low Latency) are bi-directional and can be used for both music playback and audio calls. This patch implements usage of backchannel if A2DP codec provided by pulseaudio API supports it. A2DP codec switching needs new version of bluez as older version does

[pulseaudio-discuss] [PATCH v15 03/10] bluetooth: Change codec API for choosing remote endpoint

2020-04-15 Thread Pali Rohár
Current codec API for choosing remote endpoint was not suitable for implementing fallback to another endpoint when first chosen one was not possible to establish. To overcome this problem change codec API to rather provide generic method for comparing two endpoints by their capabilities. Return

[pulseaudio-discuss] [PATCH v15 02/10] bluetooth: Do not export pa_a2dp_codecs array

2020-04-15 Thread Pali Rohár
It is not used directly outside of a2dp-codec-util.c file. --- src/modules/bluetooth/a2dp-codec-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bluetooth/a2dp-codec-util.c b/src/modules/bluetooth/a2dp-codec-util.c index 94d01e7bd..aff6589ca 100644 ---

[pulseaudio-discuss] [PATCH v15 00/10] Bluetooth A2DP codecs

2020-04-15 Thread Pali Rohár
compatible endpoint when currently chosen is unusable. Patches in this series changed order, so patches with new codec are after patches which implements usage of more codec. Pali Rohár (10): bluetooth: Add missing newlines into inline XML document bluetooth: Do not export pa_a2dp_codecs array

[pulseaudio-discuss] [PATCH v14 3/9] bluetooth: Add A2DP aptX and aptX HD codecs support

2020-03-19 Thread Pali Rohár
FLAGS) +libbluez5_util_la_LDFLAGS += $(OPENAPTX_LDFLAGS) +endif + module_bluez5_discover_la_SOURCES = modules/bluetooth/module-bluez5-discover.c module_bluez5_discover_la_LDFLAGS = $(MODULE_LDFLAGS) module_bluez5_discover_la_LIBADD = $(MODULE_LIBADD) $(DBUS_LIBS) libbluez5-util.la diff --gi

[pulseaudio-discuss] [PATCH v14 9/9] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2020-03-19 Thread Pali Rohár
Previously module-bluetooth-policy was switching from A2DP to HSP profile when VOIP application started recording of source. Now it switch to profile with the highest priority which has both sink and source. In most cases it is HSP profile, but it can be also bi-directional A2DP profile (e.g.

[pulseaudio-discuss] [PATCH v14 8/9] bluetooth: Set initial A2DP profile which bluez already activated

2020-03-19 Thread Pali Rohár
Bluez and remote device decide which A2DP codec would use. Use this selected A2DP codec as initial profile in pulseaudio. In most cases it is either last used codec or codec with higher priority by defined by remote device. To detect which A2DP profile was activated by bluez, look at bluez

[pulseaudio-discuss] [PATCH v14 5/9] bluetooth: Add more variants of SBC codec

2020-03-19 Thread Pali Rohár
Specify configuration for Low, Middle, High and eXtreme Quality of SBC codec. SBC codec in eXtreme Quality has higher quality than aptX. Automatic Quality mode matches configuration of SBC codec which was used before this change. Which means that it accept configuration between Low and High

[pulseaudio-discuss] [PATCH v14 7/9] bluetooth: Implement A2DP codec switching and backchannel support

2020-03-19 Thread Pali Rohár
Some A2DP codecs (like FastStream or aptX Low Latency) are bi-directional and can be used for both music playback and audio calls. This patch implements usage of backchannel if A2DP codec provided by pulseaudio API supports it. A2DP codec switching needs new version of bluez as older version does

[pulseaudio-discuss] [PATCH v14 1/9] bluetooth: Ensure that only one A2DP codec is registered to bluez

2020-03-19 Thread Pali Rohár
Support for multiple codecs needs to use a new Bluez API which pulseaudio does not implement yet. So register explicitly only SBC codec which is provided by pulseaudio A2DP codec API. --- src/modules/bluetooth/bluez5-util.c | 24 +--- 1 file changed, 9 insertions(+), 15

[pulseaudio-discuss] [PATCH v14 0/9] Bluetooth A2DP codecs

2020-03-19 Thread Pali Rohár
also a new patch "Ensure that only one A2DP codec is registered to bluez" which is later in "Implement A2DP codec switching and backchannel support" reverted/removed. Now patches in this patch series can be applied in other as I send them. Pali Rohár (9): bluetooth: Ensure that

[pulseaudio-discuss] [PATCH v14 4/9] bluetooth: Add A2DP FastStream codec support

2020-03-19 Thread Pali Rohár
@ -0,0 +1,555 @@ +/*** + This file is part of PulseAudio. + + Copyright 2018-2019 Pali Rohár + + PulseAudio is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either versi

[pulseaudio-discuss] [PATCH v14 6/9] bluetooth: policy: Reflect a2dp profile names

2020-03-19 Thread Pali Rohár
In next patches, codec name is appended end the end of a2dp profile names. --- src/modules/bluetooth/module-bluetooth-policy.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/bluetooth/module-bluetooth-policy.c

[pulseaudio-discuss] [PATCH v14 2/9] bluetooth: Add missing newlines into inline XML document

2020-03-19 Thread Pali Rohár
When calling introspection function, newlines in XML document makes it better readable. There are already leading spaces for indentation but newlines were probably forgotten. --- src/modules/bluetooth/bluez5-util.c | 44 ++--- 1 file changed, 22 insertions(+), 22

Re: [pulseaudio-discuss] [PATCH v13 07/10] bluetooth: Add more variants of SBC codec

2020-03-19 Thread Pali Rohár
'm revisiting this part of code and I figured out, that I was right and this "best_key" evaluation make sense for "sbc_auto_caps" configuration. In this code there are two for-loops: PA_HASHMAP_FOREACH_KV(key, a2dp_capabilities, capabilities_hashmap, state) { for (i = 0; i

Re: [pulseaudio-discuss] Bluetooth codec selection

2020-03-17 Thread Pali Rohár
On Tuesday 17 March 2020 11:23:22 Tanu Kaskinen wrote: > On Sun, 2020-01-12 at 12:42 +0100, Pali Rohár wrote: > > On Sunday 12 January 2020 09:21:31 Tanu Kaskinen wrote: > > > On Tue, 2020-01-07 at 19:37 +0100, Pali Rohár wrote: > > > > Hello! > > > >

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-03-17 Thread Pali Rohár
On Monday 16 March 2020 18:19:47 Tanu Kaskinen wrote: > On Sun, 2020-03-15 at 14:37 +0100, Pali Rohár wrote: > > Hello! One month passed and I have not answer which solution would > > pulseaudio choose for HSP and HFP support. Could you please really look > > at my email abo

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-03-16 Thread Pali Rohár
Hello! One month passed and I have not answer which solution would pulseaudio choose for HSP and HFP support. Could you please really look at my email about state of HSP / HFP support? On Saturday 15 February 2020 22:33:10 Pali Rohár wrote: > If Linux desktop / laptop with pulseaudio w

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-03-16 Thread Pali Rohár
, testing or maintaining hsphfpd daemon itself? On Sunday 01 December 2019 19:57:40 Pali Rohár wrote: > Hello! > > I'm sending this email to relevant mailing lists and other people who > could be interested in it. (I'm not subscribed to all of ML, so please > CC me when replying). >

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-02-18 Thread Pali Rohár
On Tuesday 18 February 2020 15:29:02 Georg Chini wrote: > On 18.02.20 13:37, Pali Rohár wrote: > > > a headset useless. There must be ways to work around such broken > > > implementations. Would those headsets then not also break with > > > your hsphfpd if there

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-02-18 Thread Pali Rohár
On Tuesday 18 February 2020 13:13:35 Georg Chini wrote: > On 18.02.20 11:29, Pali Rohár wrote: > > On Tuesday 18 February 2020 11:06:03 Georg Chini wrote: > > > On 18.02.20 10:34, Pali Rohár wrote: > > > > Hello! > > > > > > > >

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-02-18 Thread Pali Rohár
On Tuesday 18 February 2020 11:06:03 Georg Chini wrote: > On 18.02.20 10:34, Pali Rohár wrote: > > Hello! > > > > On Tuesday 18 February 2020 09:42:38 Georg Chini wrote: > > > On 15.02.20 22:33, Pali Rohár wrote: > > > > Hello! > > > > >

Re: [pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-02-18 Thread Pali Rohár
Hello! On Tuesday 18 February 2020 09:42:38 Georg Chini wrote: > On 15.02.20 22:33, Pali Rohár wrote: > > Hello! > > > > More then two months ago I started discussion how to handle currently > > unsupported parts of Bluetooth HSP and HFP profiles on Linux via &g

[pulseaudio-discuss] Bluetooth HSP and HFP support in pulseaudio

2020-02-15 Thread Pali Rohár
udio users. Please note that this is not problem only for pulseaudio, but also for any other audio software which want to support HSP/HFP on Linux. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss ma

Re: [pulseaudio-discuss] [PATCH v13 07/10] bluetooth: Add more variants of SBC codec

2020-02-05 Thread Pali Rohár
On Sunday 02 February 2020 18:46:24 Georg Chini wrote: > On 02.02.20 14:08, Pali Rohár wrote: > > On Thursday 23 January 2020 12:29:15 Georg Chini wrote: > > > > On Tuesday 21 January 2020 16:17:16 Georg Chini wrote: > > > ... > > > > >

Re: [pulseaudio-discuss] [PATCH v13 07/10] bluetooth: Add more variants of SBC codec

2020-02-02 Thread Pali Rohár
; > SBC_SEPARATE_BITPOOL_DEC_STEP; > > > > +if (bitpool <= SBC_SEPARATE_BITPOOL_DEC_LIMIT) > > > Should it not be "<" instead of "<="? Or are the limits themselves no > > > acceptable values? > > > > +return 0; > >

Re: [pulseaudio-discuss] [PATCH v13 07/10] bluetooth: Add more variants of SBC codec

2020-01-22 Thread Pali Rohár
Georg Chini wrote: > Finally managed to review this one. The general remarks concerning the > return > values of the API functions apply here as well. Sorry for the delay. > > On 06.10.19 19:58, Pali Rohár wrote: > > Specify configuration for Low, Middle, High and eXtreme Quality

Re: [pulseaudio-discuss] [PATCH] core, modules: Remove useless EINTR tests

2020-01-16 Thread Pali Rohár
On Thursday 16 January 2020 17:31:17 Tanu Kaskinen wrote: > Resurrecting this old patch... > > On Mon, 2019-06-03 at 15:43 +0200, Pali Rohár wrote: > > On Tuesday 28 May 2019 16:49:19 Frédéric Danis wrote: > > > Since commit ad447d14682 (in 2009) pa_read and pa_write tak

Re: [pulseaudio-discuss] Bluetooth codec selection

2020-01-12 Thread Pali Rohár
On Sunday 12 January 2020 09:21:31 Tanu Kaskinen wrote: > On Tue, 2020-01-07 at 19:37 +0100, Pali Rohár wrote: > > Hello! > > > > My A2DP patch series which adds support for more A2DP codecs is still in > > review state, but Tanu about year ago wrote that do not like

Re: [pulseaudio-discuss] Bluetooth codec selection

2020-01-08 Thread Pali Rohár
On Tuesday 07 January 2020 21:57:40 Georg Chini wrote: > On 07.01.20 19:37, Pali Rohár wrote: > > Hello! > > > > My A2DP patch series which adds support for more A2DP codecs is still in > > review state, but Tanu about year ago wrote that do not like my proposal &g

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-01-08 Thread Pali Rohár
e is absolutely no reason why to use ofono and extend it to support a new features which currently do not support (like CSR codecs which are in both HSP and HFP profiles). Basically without it ofono is unusable for handling bluetooth audio on Linux desktop. > Maybe we can handle it like

[pulseaudio-discuss] Bluetooth codec selection

2020-01-07 Thread Pali Rohár
* change sub-profile of card I'm not saying how would API look like. I'm open for implementation details... I can imagine that we can extend PA protocol or use messaging API for it or anything else... (*) - currently Linux kernel blocks this usage of mSBC HW encoding and force userspace to

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2020-01-04 Thread Pali Rohár
On Friday 20 December 2019 23:46:57 Pali Rohár wrote: > Hi! > > On Friday 20 December 2019 15:19:01 Denis Kenzior wrote: > > Hi Pali, > > > > > > There have been one or two implementations of AG role fully external to > > > > oFono. These implem

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-21 Thread Pali Rohár
tion or without special setup, it seems to be usable. But what is needed from this implementation in ofono? Basically API for each functionality designed in hsphfod daemon. And one of it is also support for HSP profile (with CSR and Apple extensions). I'm not against for it, but I thought that

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-20 Thread Pali Rohár
ux. > > > > > > Okay, I see now. Yes, the above is correct. My comments about not > > > needing > > > a modem device hold true only if oFono is in HFP HF role connecting to an > > > AG. > > > > Ok. So I guess now you understood main problem.

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-20 Thread Pali Rohár
too complicated, so talking about it always needs more detailed explanation. Sorry for that if it was not clear from my side since beginning what are requirements for my setup. And question now is how to solve this problem for desktop computers? Users who want to use their bluetooth headset

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-18 Thread Pali Rohár
On Wednesday 18 December 2019 11:00:07 Denis Kenzior wrote: > Hi Pali, > > On 12/16/19 3:15 AM, Pali Rohár wrote: > > Hi! > > > > On Monday 16 December 2019 00:11:04 Luiz Augusto von Dentz wrote: > > > Hi Pali, > > > > >

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-18 Thread Pali Rohár
On Wednesday 18 December 2019 18:28:28 Pali Rohár wrote: > On Wednesday 18 December 2019 11:00:07 Denis Kenzior wrote: > > Hi Pali, > > > > On 12/16/19 3:15 AM, Pali Rohár wrote: > > > Hi! > > > > > > On Monday 16 December 2019 00:11:

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-18 Thread Pali Rohár
op / laptop you need to implement "modem server" which will be used by HFP headset "client". And phone simulator is doing exactly this "modem server", it is simulator of modem. > > > So connecting bluetooth headset in HFP profile with ofono is somethin

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-18 Thread Pali Rohár
On Tuesday 17 December 2019 15:47:16 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Mon, Dec 16, 2019 at 1:15 AM Pali Rohár wrote: > > > > Hi! > > > > On Monday 16 December 2019 00:11:04 Luiz Augusto von Dentz wrote: > > > Hi Pali, > > > >

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-16 Thread Pali Rohár
Hi! On Monday 16 December 2019 00:11:04 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Thu, Dec 5, 2019 at 11:32 AM Pali Rohár wrote: > > > > On Monday 02 December 2019 19:45:12 Pali Rohár wrote: > > > On Monday 02 December 2019 19:01:11 Tanu Kaskinen wrote:

Re: [pulseaudio-discuss] [PATCH v13 05/10] bluetooth: Add A2DP aptX and aptX HD codecs support

2019-12-12 Thread Pali Rohár
On Thursday 12 December 2019 22:27:39 Andrey Semashev wrote: > On 2019-10-06 20:58, Pali Rohár wrote: > > This patch provides support for aptX and aptX HD codecs in bluetooth A2DP > > profile. It uses open source LGPLv2.1+ licensed libopenaptx library which > > can be found

Re: [pulseaudio-discuss] [PATCH v13 00/10] Bluetooth A2DP codecs

2019-12-11 Thread Pali Rohár
Hello! Some of these patches are already reviewed. Can you include these patches into pulseaudio master git branch? -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-09 Thread Pali Rohár
external telephony agent. Possibly ofono or modem manager (whatever project will implement needed API and connects to hsphfpd daemon). > * exposure of common D-Bus APIs for side-channel things like power > management or phone dialing This is part of hsphfpd daemon, please look at hsphfpd.txt

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-09 Thread Pali Rohár
headphone you will use. SBC is criticized for a long time because current implementations automatically choose some quality which is not under user control. So for these reasons there is SBC LQ, MQ, HQ and XQ. You can choose what you want to use. By default is automatic mode which decreasing quali

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-09 Thread Pali Rohár
(medium and low quality). Or you can use SBC in automatic mode where bitrate is automatically decreased. -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-08 Thread Pali Rohár
On Sunday 08 December 2019 20:40:09 Andrey Semashev wrote: > On 2019-12-07 22:31, Pali Rohár wrote: > > On Saturday 07 December 2019 22:13:28 Andrey Semashev wrote: > > > On 2019-12-07 21:30, Pali Rohár wrote: > > > > > > > > FDK-AAC library is incompatib

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-07 Thread Pali Rohár
+Denis from ofono ofono and pulseaudio are two main users of HFP profile on Linux... On Sunday 01 December 2019 19:57:40 Pali Rohár wrote: > Hello! > > I'm sending this email to relevant mailing lists and other people who > could be interested in it. (I'm not subscribed to all of M

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-07 Thread Pali Rohár
On Saturday 07 December 2019 22:13:28 Andrey Semashev wrote: > On 2019-12-07 21:30, Pali Rohár wrote: > > On Saturday 07 December 2019 21:09:04 Andrey Semashev wrote: > > > However, I can still hear compression artefacts on quiet or nearly silent > > > audio sections,

Re: [pulseaudio-discuss] SBC XQ for PA 13.0

2019-12-07 Thread Pali Rohár
dk If there is other AAC library which license allows usage it in pulseaudio then it could be possible. Just somebody needs to write it. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discus

Re: [pulseaudio-discuss] [PATCH v13 06/10] bluetooth: Add A2DP FastStream codec support

2019-12-07 Thread Pali Rohár
ch is going to start transmitting. And by observation I figured out that always when headset put both frequencies in config buffer it starts transmitting audio stream at 48kHz. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___

Re: [pulseaudio-discuss] [PATCH v13 06/10] bluetooth: Add A2DP FastStream codec support

2019-12-07 Thread Pali Rohár
On Saturday 07 December 2019 18:15:38 Georg Chini wrote: > On 07.12.19 16:56, Pali Rohár wrote: > > On Saturday 07 December 2019 16:44:20 Georg Chini wrote: > > > On 07.12.19 15:47, Pali Rohár wrote: > > > > On Saturday 07 December 2019 15:37:15 Georg Chini wrote: >

Re: [pulseaudio-discuss] [PATCH v13 06/10] bluetooth: Add A2DP FastStream codec support

2019-12-07 Thread Pali Rohár
On Saturday 07 December 2019 16:44:20 Georg Chini wrote: > On 07.12.19 15:47, Pali Rohár wrote: > > On Saturday 07 December 2019 15:37:15 Georg Chini wrote: > > > On 06.10.19 19:58, Pali Rohár wrote: > > > > This patch provides support for FastStream codec in b

Re: [pulseaudio-discuss] [PATCH v13 06/10] bluetooth: Add A2DP FastStream codec support

2019-12-07 Thread Pali Rohár
On Saturday 07 December 2019 15:37:15 Georg Chini wrote: > On 06.10.19 19:58, Pali Rohár wrote: > > This patch provides support for FastStream codec in bluetooth A2DP profile. > > FastStream codec is bi-directional, which means that it supports both music > > playback

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-05 Thread Pali Rohár
re-implement again and again A2DP (and HSP/HFP) audio processing. This library should do all needed codec stuff (encoding, decoding, setup of A2DP, ...). -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss maili

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-05 Thread Pali Rohár
On Monday 02 December 2019 19:45:12 Pali Rohár wrote: > On Monday 02 December 2019 19:01:11 Tanu Kaskinen wrote: > > I think hsphfpd should be part of bluetoothd, but if that's not > > possible, then that's not possible. > > I do not know if bluez developers are intereste

Re: [pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-02 Thread Pali Rohár
On Monday 02 December 2019 19:01:11 Tanu Kaskinen wrote: > On Sun, 2019-12-01 at 19:57 +0100, Pali Rohár wrote: > > Hello! > > > > I'm sending this email to relevant mailing lists and other people who > > could be interested in it. (I'm not subscribed to all of M

Re: [pulseaudio-discuss] [PATCH v13 05/10] bluetooth: Add A2DP aptX and aptX HD codecs support

2019-12-02 Thread Pali Rohár
On Sunday 01 December 2019 12:24:07 Georg Chini wrote: > On 30.11.19 23:39, Pali Rohár wrote: > > On Saturday 30 November 2019 22:43:47 Georg Chini wrote: > > > On 06.10.19 19:58, Pali Rohár wrote: > > > > This patch provides support for aptX and aptX HD cod

[pulseaudio-discuss] Proposal for a new API and usage of Bluetooth HSP and HFP profiles on Linux

2019-12-01 Thread Pali Rohár
e about power supply properties: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/722 -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.f

Re: [pulseaudio-discuss] [PATCH v13 05/10] bluetooth: Add A2DP aptX and aptX HD codecs support

2019-11-30 Thread Pali Rohár
On Saturday 30 November 2019 22:43:47 Georg Chini wrote: > On 06.10.19 19:58, Pali Rohár wrote: > > This patch provides support for aptX and aptX HD codecs in bluetooth A2DP > > profile. It uses open source LGPLv2.1+ licensed libopenaptx library which > > can be found at ht

Re: [pulseaudio-discuss] [PATCH v13 01/10] bluetooth: Implement reading SO_TIMESTAMP for A2DP source

2019-11-10 Thread Pali Rohár
On Sunday 10 November 2019 11:03:25 Georg Chini wrote: > On 10.11.19 09:44, Pali Rohár wrote: > > On Saturday 09 November 2019 12:34:02 Georg Chini wrote: > > > On 06.10.19 19:58, Pali Rohár wrote: > > > > --- > > > >src/mod

Re: [pulseaudio-discuss] [PATCH v13 03/10] bluetooth: Parse remote timestamp from A2DP RTP packets when available

2019-11-10 Thread Pali Rohár
On Saturday 09 November 2019 13:08:34 Georg Chini wrote: > On 06.10.19 19:58, Pali Rohár wrote: > > Some A2DP codecs (e.g. SBC or aptX-HD) use RTP packets. For sources use > > timestamps from RTP packets to calculate read index and therefore remote > > timestam

Re: [pulseaudio-discuss] [PATCH v13 01/10] bluetooth: Implement reading SO_TIMESTAMP for A2DP source

2019-11-10 Thread Pali Rohár
On Saturday 09 November 2019 12:34:02 Georg Chini wrote: > On 06.10.19 19:58, Pali Rohár wrote: > > --- > > src/modules/bluetooth/module-bluez5-device.c | 33 > > ++-- > > 1 file changed, 31 insertions(+), 2 deletions(-) > > >

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-29 Thread Pali Rohár
On Tuesday 29 October 2019 11:24:06 Hyperion wrote: > > > 29.10.2019, 10:24, "Pali Rohár" : > > On Monday 28 October 2019 17:12:45 Hyperion wrote: > >>  28.10.2019, 16:11, "Tanu Kaskinen" : > >>  > On Sat, 2019-10-26 at 20:23 +0200, Hyp

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-29 Thread Pali Rohár
On Monday 28 October 2019 17:12:45 Hyperion wrote: > 28.10.2019, 16:11, "Tanu Kaskinen" : > > On Sat, 2019-10-26 at 20:23 +0200, Hyperion wrote: > >>  26.10.2019, 14:39, "Tanu Kaskinen" : > >>  > On Sat, 2019-10-19 at 18:42 +0200, Pali Rohár wro

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-26 Thread Pali Rohár
On Saturday 26 October 2019 15:39:51 Tanu Kaskinen wrote: > On Sat, 2019-10-19 at 18:42 +0200, Pali Rohár wrote: > > On Saturday 19 October 2019 19:27:19 Tanu Kaskinen wrote: > > > On Sat, 2019-10-19 at 18:16 +0200, Pali Rohár wrote: > > > > On Saturday 19 October 201

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-19 Thread Pali Rohár
On Saturday 19 October 2019 19:27:19 Tanu Kaskinen wrote: > On Sat, 2019-10-19 at 18:16 +0200, Pali Rohár wrote: > > On Saturday 19 October 2019 19:07:44 Tanu Kaskinen wrote: > > > On Sat, 2019-10-19 at 17:20 +0200, Pali Rohár wrote: > > > > On Friday 18 October 201

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-19 Thread Pali Rohár
On Saturday 19 October 2019 19:07:44 Tanu Kaskinen wrote: > On Sat, 2019-10-19 at 17:20 +0200, Pali Rohár wrote: > > On Friday 18 October 2019 15:29:43 Tanu Kaskinen wrote: > > > On Thu, 2019-10-17 at 15:34 +0200, Hyperion wrote: > > > > Regression would mean t

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-19 Thread Pali Rohár
? Do we need to maintain backward compatibility? Or would we remove that configuration and therefore revert to state prior existence of new module parameter (which is current situation)? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-17 Thread Pali Rohár
On Thursday 17 October 2019 16:11:26 Tanu Kaskinen wrote: > On Thu, 2019-10-17 at 14:55 +0200, Pali Rohár wrote: > > On Thursday 17 October 2019 15:52:00 Tanu Kaskinen wrote: > > > On Tue, 2019-10-08 at 18:29 +0200, Pali Rohár wrote: > > > > Automatic SBC prof

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-17 Thread Pali Rohár
On Thursday 17 October 2019 15:52:00 Tanu Kaskinen wrote: > On Tue, 2019-10-08 at 18:29 +0200, Pali Rohár wrote: > > Automatic SBC profile is not going to be changed. It is there to support > > all devices without any tweaks. ValdikSS already did more tests and > > there

[pulseaudio-discuss] Pulseaudio system wide mode design

2019-10-17 Thread Pali Rohár
eams which they created and would not be able to see other strings (or modify other properties). And also would not be able to load/unload modules. Is there anything else which prevents moving pulseaudio into proper system wide mode? -- Pali Rohár pali.ro...

Re: [pulseaudio-discuss] [PATCH v13 00/10] Bluetooth A2DP codecs

2019-10-17 Thread Pali Rohár
Hello! On Sunday 06 October 2019 19:58:32 Pali Rohár wrote: > Changes in v13: > * Do not use read smoother for A2DP sink when backchannel is in use > * Use new bluez org.freedesktop.DBus.ObjectManager and RegisterApplication > DBus APIs for codec switching > * Add FastStrea

Re: [pulseaudio-discuss] How multiple instances of pulse audio handle bluetooth sound devices ?

2019-10-12 Thread Pali Rohár
about "no regression" instead of "break everything which is currently working". -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH v13 05/10] bluetooth: Add A2DP aptX and aptX HD codecs support

2019-10-08 Thread Pali Rohár
On Monday 07 October 2019 10:32:10 Hyperion wrote: > Not sure it's expired worlwide. In case it is, it's good news. Fine for > me.10:28, 7 octobre 2019, "Pali Rohár" > pali.ro...@gmail.com: class="b4fd5cf2ec92bc68cb898700bb81355fwmi-quo

Re: [pulseaudio-discuss] [PATCH v13 07/10] bluetooth: Add more variants of SBC codec

2019-10-08 Thread Pali Rohár
ut not relevant for the average user. > > Please tell me what you think about it. > > All the best > JP > > 06.10.2019, 19:59, "Pali Rohár" : > > Specify configuration for Low, Middle, High and eXtreme Quality of SBC > > codec. SBC codec in eXtreme Quality

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-08 Thread Pali Rohár
: > I'm not talking about old Bluez versions : only about the current stable > 5.51, and not talking about codec switchin either. > > Just talking about improvement of MAX negociated values for SBC. Please take > a look at my latest patch. > > 07.10.2019, 16:22, "Pali Rohár

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-07 Thread Pali Rohár
ree with "Also there would not be any feature/functional changes in > pulseaudio when older bluez version is in use". > Tests prove that there's no reason for this, if only one mode/profile is used. > > JP > > 07.10.2019, 15:36, "Pali Rohár" : > >

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-07 Thread Pali Rohár
op.org/Hyperion/pulseaudio/tree/SBC-XQ > > jp > > 07.10.2019, 15:25, "Pali Rohár" : > > And what happened without --experimental? > > > > Aim is to support all bluez versions also with and without > > --experimental flag. Just for older versions (or without experi

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-07 Thread Pali Rohár
October 2019 15:20:35 Hyperion wrote: > Thanks, I forgot the "--experimental" param. > > Works as expected, like the previous v12 serie of patches > > JP > > 07.10.2019, 15:15, "Pali Rohár" : > > Can you check if you have Bluez 5.51 and bluetoothd d

Re: [pulseaudio-discuss] [PATCH v13 10/10] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-10-07 Thread Pali Rohár
c - SBC > 44.1kHz > DualChannel > 16 Blocks > 8 Subbands > Loudness > Bitpool Range 38-38 > > AVDTP(s): Set config rsp: transaction 10 nsp 0x00 > < AVDTP(s): Open cmd: transaction 11 nsp 0x00 > ACP SEID 1 > > AVDTP(s): Op

Re: [pulseaudio-discuss] [PATCH v13 05/10] bluetooth: Add A2DP aptX and aptX HD codecs support

2019-10-07 Thread Pali Rohár
as binary. > > JP > > 07.10.2019, 10:06, "Pali Rohár" : > > But that is something different. Look at commit message where is link to > > correct library for building. > > > > On Monday 07 October 2019 10:05:52 Hyperion wrote: > >>  Sorry, I should h

  1   2   3   4   5   >