[pulseaudio-discuss] [PATCH v3 4/7] bluetooth: Update a2dp-codecs.h from upstream bluez project

2019-01-12 Thread Pali Rohár
100644 --- a/src/modules/bluetooth/a2dp-codecs.h +++ b/src/modules/bluetooth/a2dp-codecs.h @@ -4,6 +4,7 @@ * * Copyright (C) 2006-2010 Nokia Corporation * Copyright (C) 2004-2010 Marcel Holtmann + * Copyright (C) 2018 Pali Rohár * * * This library is free software; you can

[pulseaudio-discuss] [PATCH v3 7/7] bluetooth: Add A2DP FastStream codec support

2019-01-12 Thread Pali Rohár
/bluetooth/a2dp-codec-faststream.c b/src/modules/bluetooth/a2dp-codec-faststream.c new file mode 100644 index 0..8c910ea8b --- /dev/null +++ b/src/modules/bluetooth/a2dp-codec-faststream.c @@ -0,0 +1,401 @@ +/*** + This file is part of PulseAudio. + + Copyright 2018-2019 Pali Rohár

Re: [pulseaudio-discuss] [PATCH v2 2/2] Bluetooth A2DP aptX codec support

2019-01-12 Thread Pali Rohár
On Wednesday 05 September 2018 13:57:08 Tanu Kaskinen wrote: > On Sat, 2018-07-28 at 17:34 +0200, Pali Rohár wrote: > > This patch provides support for aptX codec in bluetooth A2DP profile. In > > pulseaudio it is implemented as a new profile a2dp_aptx_sink. For aptX > >

Re: [pulseaudio-discuss] [PATCH v2 1/2] Modular API for Bluetooth A2DP codec

2019-01-12 Thread Pali Rohár
Kaskinen wrote: > On Sat, 2018-07-28 at 17:34 +0200, Pali Rohár wrote: > > Move current SBC codec implementation into separate source file and use > > this new API for providing all needed functionality for Bluetooth A2DP. > > > > Both bluez5-util and module-bluez5-device

Re: [pulseaudio-discuss] [PATCH v3 2/4] Add A2DP AAC codec support

2019-01-11 Thread Pali Rohár
On Friday 11 January 2019 15:32:44 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Fri, Jan 11, 2019 at 2:49 PM Pali Rohár wrote: > > > > On Friday 11 January 2019 14:23:21 Luiz Augusto von Dentz wrote: > > > Im little worried about the maintainance of a2dp_util.c

Re: [pulseaudio-discuss] [PATCH v3 2/4] Add A2DP AAC codec support

2019-01-11 Thread Pali Rohár
ructure into one list. So... I will rework my previous patch series, will add support for codec switching and then I send it to mailing list. Stay tuned... -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-12-19 Thread Pali Rohár
er there also exist these codecs: 0xFF 0x000A 0x0105 - The CSR True Wireless Stereo v3 Codec ID for MP3. 0xFF 0x000A 0x0106 - The CSR True Wireless Stereo v3 Codec ID for AptX. And again capability buffer should contain embedded AVDTP media capability buffer for MPEG1 (with Layyer 3) and f

Re: [pulseaudio-discuss] [PATCH 2/4] Add A2DP AAC codec support

2018-12-19 Thread Pali Rohár
rough mode in this patch. It is planned? Maybe similar thing could be useful for MPEG1 A2DP audio codec (as lot of people listen MP3 files), but I have not seen headset with MPEG1 support... -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___

Re: [pulseaudio-discuss] [PATCH 1/4] A2DP api with multi-codec support

2018-12-19 Thread Pali Rohár
On Friday 14 December 2018 00:07:27 Huang-Huang Bao wrote: > "a2dp-codecs.h" copied from bluez I sent fixes for a2dp-codecs.h from bluez to linux-blueto...@vger.kernel.org list. So wait until it is fixed and we would not need to fix these problems in two different projects... -

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-12-17 Thread Pali Rohár
On Sunday 22 July 2018 13:37:06 Pali Rohár wrote: > On Sunday 22 July 2018 11:52:11 Georgi Boiko wrote: > > For codecs focusing on latency over sound quality, if I absolutely had to > > support them, I would put AptX LL between AptX and AAC. FastStream seems to > > be even m

Re: [pulseaudio-discuss] [PATCH 1/4] A2DP api with multi-codec support

2018-12-15 Thread Pali Rohár
On Saturday 15 December 2018 23:15:14 Pasi Kärkkäinen wrote: > On Fri, Dec 14, 2018 at 12:01:57PM +0100, Pali Rohár wrote: > > > > > > > > Therefore that priority list is not always enforced. > > > > > > How do you know? > > > > Because I

Re: [pulseaudio-discuss] [PATCH 1/4] A2DP api with multi-codec support

2018-12-15 Thread Pali Rohár
t if caller (instead of callee) would be responsible for passing pointer to allocated memory (e.g. also from stack) with buffer size. Then API would not need any "free" functions. > +/* Return true if configuration valid */ > +bool (*set_configuration)(const uint8_t *selected_configuration, const > size_t configuration_size); If this function validates configuration, then "validate_configuration" is better name. > + > +}; -- 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 3/4] Add A2DP aptX, aptX HD codecs support

2018-12-15 Thread Pali Rohár
when some A2DP packets are lost and decoder needs to be reset and start decoding again. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.

Re: [pulseaudio-discuss] [PATCH 1/4] A2DP api with multi-codec support

2018-12-14 Thread Pali Rohár
e want to add another codec, he/she can just modify > "a2dp-codeces.h" or others. > > > On 12/14/18 5:41 PM, Pali Rohár wrote: > > On Friday 14 December 2018 00:07:27 Huang-Huang Bao wrote: > >> "a2dp-codecs.h" copied from bluez, then added a2d

Re: [pulseaudio-discuss] [PATCH 1/4] A2DP api with multi-codec support

2018-12-14 Thread Pali Rohár
_SBC_SRC_ENDPOINT A2DP_SOURCE_ENDPOINT "/SBC" > >> +#define A2DP_SBC_SNK_ENDPOINT A2DP_SINK_ENDPOINT "/SBC" > >> + > >> +#define A2DP_VENDOR_SRC_ENDPOINT A2DP_SOURCE_ENDPOINT "/VENDOR" > >> +#define A2DP_VENDOR_SNK_ENDPOINT A2DP_SIN

Re: [pulseaudio-discuss] [PATCH 3/4] Add A2DP aptX, aptX HD codecs support

2018-12-13 Thread Pali Rohár
On Thursday 13 December 2018 18:42:11 Pasi Kärkkäinen wrote: > On Thu, Dec 13, 2018 at 04:36:59PM +0100, Pali Rohár wrote: > > What is the purpose of adding aptX codec (non HD variant)? It is not > > better then default and mandatory SBC codec. > > > > When using Ap

Re: [pulseaudio-discuss] [PATCH 3/4] Add A2DP aptX, aptX HD codecs support

2018-12-13 Thread Pali Rohár
st for testing and debugging one codec is big pain; small library is better for this). -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://list

Re: [pulseaudio-discuss] [PATCH 3/4] Add A2DP aptX, aptX HD codecs support

2018-12-13 Thread Pali Rohár
What is the purpose of adding aptX codec (non HD variant)? It is not better then default and mandatory SBC codec. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss mailing list pulseaudio-discuss

Re: [pulseaudio-discuss] [PATCH 1/4] A2DP api with multi-codec support

2018-12-13 Thread Pali Rohár
2DP_SBC_SRC_ENDPOINT A2DP_SOURCE_ENDPOINT "/SBC" > +#define A2DP_SBC_SNK_ENDPOINT A2DP_SINK_ENDPOINT "/SBC" > + > +#define A2DP_VENDOR_SRC_ENDPOINT A2DP_SOURCE_ENDPOINT "/VENDOR" > +#define A2DP_VENDOR_SNK_ENDPOINT A2DP_SINK_ENDPOINT "/VENDOR" This woul

Re: [pulseaudio-discuss] [PATCH v2 2/2] Bluetooth A2DP aptX codec support

2018-09-27 Thread Pali Rohár
On Tuesday 18 September 2018 13:55:08 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Mon, Sep 17, 2018 at 3:27 PM, Tanu Kaskinen wrote: > > On Thu, 2018-09-13 at 11:12 +0200, Pali Rohár wrote: > >> On Wednesday 05 September 2018 13:57:08 Tanu Kaskinen wrote: > >&

Re: [pulseaudio-discuss] [PATCH v2 1/2] Modular API for Bluetooth A2DP codec

2018-09-27 Thread Pali Rohár
On Monday 17 September 2018 15:02:18 Tanu Kaskinen wrote: > (I sent my review both to you and to the list, but you replied only > privately - probably not on purpose. I'll send this mail only to the > list.) Sorry for that. I was not my intension. > On Thu, 2018-09-13 at 10:54 +0200

Re: [pulseaudio-discuss] Bluetooth A2DP aptX codec quality

2018-09-13 Thread Pali Rohár
On Thursday 13 September 2018 11:23:58 Tanu Kaskinen wrote: > On Wed, 2018-09-12 at 19:03 +0300, Luiz Augusto von Dentz wrote: > > On Wed, Sep 12, 2018 at 1:42 PM, Pali Rohár wrote: > > > 1) What to do with aptX? It is really useful for users to have it in > > >

Re: [pulseaudio-discuss] Bluetooth A2DP aptX codec quality

2018-09-13 Thread Pali Rohár
On Wednesday 12 September 2018 19:03:41 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Wed, Sep 12, 2018 at 1:42 PM, Pali Rohár wrote: > > Hello! > > > > I would like to let you know that Serge from soundexpert.org did in last > > month some research on aptX

[pulseaudio-discuss] Bluetooth A2DP aptX codec quality

2018-09-12 Thread Pali Rohár
er quality as SBC according to that research. PS: That aptX research is the first and the only one about which I know. All other information about quality or other details which I found on internet are just marking informations. -- Pali Rohár pali.ro...@gmail.com _

Re: [pulseaudio-discuss] [PATCH] bluetooth: Wideband speech implementaion

2018-08-15 Thread Pali Rohár
On Wednesday 15 August 2018 09:24:04 Sathish Narasimman wrote: > Hi Pali, > > On Wed, Aug 15, 2018 at 1:31 AM, Pali Rohár wrote: > > > On Tuesday 14 August 2018 22:49:27 Luiz Augusto von Dentz wrote: > > > Hi Pali, > > > > > > On Tue, A

Re: [pulseaudio-discuss] [PATCH] bluetooth: Wideband speech implementaion

2018-08-14 Thread Pali Rohár
On Tuesday 14 August 2018 22:49:27 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Tue, Aug 14, 2018 at 10:28 PM Pali Rohár wrote: > > > > On Tuesday 14 August 2018 19:44:49 Sathish Narasimman wrote: > > > mSBC-encoded streams for HFP. The wideband speec encoding an

Re: [pulseaudio-discuss] [PATCH] bluetooth: Wideband speech implementaion

2018-08-14 Thread Pali Rohár
What about support also for other backends, not only ofono? -- 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] Bluetooth aptX codec

2018-08-10 Thread Pali Rohár
On Thursday 09 August 2018 16:39:09 ValdikSS wrote: > On 06.07.2018 13:25, Pali Rohár wrote: > > I did some investigation and basically this is the list of all known > > codecs used in A2DP: > > > > Mandatory: > > 0x00 - SBC > > > > Optional: >

Re: [pulseaudio-discuss] [PATCH v2 0/2] Bluetooth A2DP aptX codec support

2018-08-09 Thread Pali Rohár
On Sunday 05 August 2018 11:08:25 Arun Raghavan wrote: > On Fri, 3 Aug 2018, at 7:13 PM, ValdikSS wrote: > > On 03.08.2018 16:32, Pali Rohár wrote: > > > On Friday 03 August 2018 16:22:05 ValdikSS wrote: > > >> Doesn't work for me with Intel 7260 Bluetooth 4.0 and

Re: [pulseaudio-discuss] Bi-directional Bluetooth A2DP

2018-08-09 Thread Pali Rohár
On Wednesday 08 August 2018 10:00:28 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Sat, Jul 28, 2018 at 10:34 PM, Pali Rohár wrote: > > Hi! > > > > Some Bluetooth A2DP codecs like aptX Low Latency or FastStream provides > > "backchannel" support fo

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-08-08 Thread Pali Rohár
On Wednesday 08 August 2018 10:06:19 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Mon, Aug 6, 2018 at 11:03 AM, Pali Rohár wrote: > > On Sunday 05 August 2018 15:59:05 ValdikSS wrote: > >> On 30.07.2018 10:30, Pali Rohár wrote: > >> > On Monday

Re: [pulseaudio-discuss] [PATCH v2 0/2] Bluetooth A2DP aptX codec support

2018-08-06 Thread Pali Rohár
On Friday 03 August 2018 12:45:51 Tanu Kaskinen wrote: > On Fri, 2018-08-03 at 10:33 +0200, Pali Rohár wrote: > > On Saturday 28 July 2018 17:34:51 Pali Rohár wrote: > > > This patch series moves A2DP codec code into new modules and add > > > support fo

Re: [pulseaudio-discuss] [PATCH v2 1/2] Modular API for Bluetooth A2DP codec

2018-08-06 Thread Pali Rohár
On Sunday 05 August 2018 11:07:23 Arun Raghavan wrote: > On Sat, 28 Jul 2018, at 9:04 PM, Pali Rohár wrote: > > Move current SBC codec implementation into separate source file and use > > this new API for providing all needed functionality for Bluetooth A2DP. > > > >

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-08-06 Thread Pali Rohár
On Sunday 05 August 2018 15:59:05 ValdikSS wrote: > On 30.07.2018 10:30, Pali Rohár wrote: > > On Monday 30 July 2018 10:24:10 ValdikSS wrote: > >>> ACL Data RX: Handle 256 flags 0x02 dlen 20   #109 [hci0] > >>> 5.421906 > >>  

Re: [pulseaudio-discuss] [PATCH v2 0/2] Bluetooth A2DP aptX codec support

2018-08-03 Thread Pali Rohár
5 0x778fcc20 in pa_mainloop_run (m=0x5576f120, > > retval=0x7fffdc18) at pulse/mainloop.c:945 > > #16 0x5555b0c9 in main (argc=, argv=) > > at daemon/main.c:1144 > > > > > > I haven't installed any patches for bluez itself. Should I? If y

Re: [pulseaudio-discuss] [PATCH v2 0/2] Bluetooth A2DP aptX codec support

2018-08-03 Thread Pali Rohár
ctly? There are no bluez patches. > I moved libopenaptx to autotools and made Fedora .spec file for openaptx, are > you interested in autotools support for libopenaptx, should I create a pull > request to your repository? Nope, I'm not interested to use autohell, simple Makefile fo

Re: [pulseaudio-discuss] [PATCH v2 0/2] Bluetooth A2DP aptX codec support

2018-08-03 Thread Pali Rohár
On Saturday 28 July 2018 17:34:51 Pali Rohár wrote: > This patch series moves A2DP codec code into new modules and add > support for Bluetooth A2DP aptX codec. > > Pali Rohár (2): > Modular API for Bluetooth A2DP codec > Bluetooth A2DP aptX codec support

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-30 Thread Pali Rohár
On Monday 30 July 2018 17:04:55 Arun Raghavan wrote: > On Mon, 30 Jul 2018, at 12:42 PM, Pali Rohár wrote: > [...] > > I looked and there is absolutely nothing about A2DP codec parameter > > selections. So really does not help. > > Okay, I feel like this conversation has b

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-07-30 Thread Pali Rohár
at it supports microphone source sampling frequency 16kHz and "3" means that that is supports music sink sampling frequency 48kHz and 41.1kHz. -- 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] Extra A2DP codecs support in bluetooth module

2018-07-30 Thread Pali Rohár
On Monday 30 July 2018 06:30:14 valdikss wrote: > On 22.07.2018 14:37, Pali Rohár wrote: > > > > > Information which I have about FastStream: It is just SBC codec with > > following parameters: frequency rate 44.1 kHz or 48.0 kHz, Blocks 16, > > Sub-bands 8, Join

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-30 Thread Pali Rohár
On Monday 30 July 2018 08:15:22 Arun Raghavan wrote: > On Sat, 28 Jul 2018, at 9:01 PM, Pali Rohár wrote: > > On Monday 23 July 2018 18:42:52 Arun Raghavan wrote: > > > On Sun, 8 Jul 2018, at 12:14 AM, Pali Rohár wrote: > > > > On Sunday 08 July 2018 01:44:

[pulseaudio-discuss] Bi-directional Bluetooth A2DP

2018-07-28 Thread Pali Rohár
on is, how to handle this configuration in pulseaudio? Should it be a new profile for bluetooth devices which would provides both sink and source? Because now A2DP is one-direction profile, not bi-directional. -- Pali Rohár pali.ro...@gmail.com signature.asc Descri

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-28 Thread Pali Rohár
On Sunday 22 July 2018 10:45:57 Pali Rohár wrote: > On Friday 20 July 2018 14:30:56 Luiz Augusto von Dentz wrote: > > Hi Pali, > > > > On Wed, Jul 11, 2018 at 11:07 AM, Pali Rohár wrote: > > > On Monday 09 July 2018 17:56:16 Pali Rohár wrote: > > >> On

[pulseaudio-discuss] [PATCH v2 1/2] Modular API for Bluetooth A2DP codec

2018-07-28 Thread Pali Rohár
of PulseAudio. Copyright 2008-2013 João Paulo Rechi Vita + Copyrigth 2018 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 @@ -33,7 +34,7 @@ #include #include -#include "a2dp-c

[pulseaudio-discuss] [PATCH v2 2/2] Bluetooth A2DP aptX codec support

2018-07-28 Thread Pali Rohár
ptx +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 --git a/src/modules/bluetooth/a2dp-codecs.h b/src/modules/bluetooth/

[pulseaudio-discuss] [PATCH v2 0/2] Bluetooth A2DP aptX codec support

2018-07-28 Thread Pali Rohár
This patch series moves A2DP codec code into new modules and add support for Bluetooth A2DP aptX codec. Pali Rohár (2): Modular API for Bluetooth A2DP codec Bluetooth A2DP aptX codec support configure.ac | 19 + src/Makefile.am

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-28 Thread Pali Rohár
On Monday 23 July 2018 18:42:52 Arun Raghavan wrote: > On Sun, 8 Jul 2018, at 12:14 AM, Pali Rohár wrote: > > On Sunday 08 July 2018 01:44:39 Alexander E. Patrakov wrote: > > > сб, 7 июл. 2018 г. в 19:08, Pali Rohár : > > > > > > > > On Saturday

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-07-23 Thread Pali Rohár
Hi! On Monday 23 July 2018 10:55:39 Luiz Augusto von Dentz wrote: > HI Pali, > > On Sun, Jul 22, 2018 at 2:37 PM, Pali Rohár wrote: > > On Sunday 22 July 2018 11:52:11 Georgi Boiko wrote: > >> I understand the desire to do it properly and to support everything with &

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-07-22 Thread Pali Rohár
On Sunday 22 July 2018 11:52:11 Georgi Boiko wrote: > On 22/07/18 10:31, Pali Rohár wrote: > > On Sunday 22 July 2018 10:14:21 Georgi Boiko wrote: > > > Hi Pali, > > > > > > Does it have to be codec switching? > > > > Without codec switch

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-07-22 Thread Pali Rohár
wing forced codec selection through the GUI is nice to have, but given > the complexity of implementing it, may not be worth the hassle for the > initial milestone. > > > On 22/07/18 09:51, Pali Rohár wrote: > > Hi! > > > > On Sunday 22 July 2018 00:10:47 Geo

Re: [pulseaudio-discuss] Extra A2DP codecs support in bluetooth module

2018-07-22 Thread Pali Rohár
rt codec switching. See also this thread: https://lists.freedesktop.org/archives/pulseaudio-discuss/2018-July/030253.html So until bluez is extended to support switching and configuring A2DP codec, there would not be support for any other codec then SBC. -- Pali Rohár pali.ro...@gmail.c

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-22 Thread Pali Rohár
On Friday 20 July 2018 14:30:56 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Wed, Jul 11, 2018 at 11:07 AM, Pali Rohár wrote: > > On Monday 09 July 2018 17:56:16 Pali Rohár wrote: > >> On Monday 09 July 2018 18:48:10 Luiz Augusto von Dentz wrote: > >> >

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-11 Thread Pali Rohár
On Monday 09 July 2018 17:56:16 Pali Rohár wrote: > On Monday 09 July 2018 18:48:10 Luiz Augusto von Dentz wrote: > > > 2) How should codec switching from pulseaudio API and pactl/pavucontrol > > > looks like? > > > > Usually we don't force reconfiguration but p

Re: [pulseaudio-discuss] [patches] constification round #4 (pa_mainloop_api)

2018-07-10 Thread Pali Rohár
cations should be part of discussion too. -- 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 aptX codec

2018-07-09 Thread Pali Rohár
On Monday 09 July 2018 18:48:10 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Sun, Jul 8, 2018 at 11:47 PM, Pali Rohár wrote: > > On Sunday 08 July 2018 22:51:38 Luiz Augusto von Dentz wrote: > >> > In previous email I wrote about idea to move that codec stuff into b

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-08 Thread Pali Rohár
; Btw, I guess you were on irc looking for how we prioritize the > matching of endpoints, this is done in the order of endpoint > registration, Yes, but I have not got any answer so I sent incomplete/wIP patch to this mailing list. -- Pali Roh

Re: [pulseaudio-discuss] [PATCH] WIP: Bluetooth A2DP aptX codec support

2018-07-08 Thread Pali Rohár
On Sunday 08 July 2018 23:11:56 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Sun, Jul 8, 2018 at 11:02 PM, Pali Rohár wrote: > > On Sunday 08 July 2018 22:55:28 Luiz Augusto von Dentz wrote: > >> Hi Pali, > >> > >> On Sat, Jul 7, 2018 at 2:08 PM, P

Re: [pulseaudio-discuss] [PATCH] WIP: Bluetooth A2DP aptX codec support

2018-07-08 Thread Pali Rohár
On Sunday 08 July 2018 22:55:28 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Sat, Jul 7, 2018 at 2:08 PM, Pali Rohár wrote: > > On Friday 06 July 2018 11:16:09 Pali Rohár wrote: > >> Known problems: > >> > >> For every A2DP codec it is neede

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-07 Thread Pali Rohár
On Sunday 08 July 2018 01:44:39 Alexander E. Patrakov wrote: > сб, 7 июл. 2018 г. в 19:08, Pali Rohár : > > > > On Saturday 07 July 2018 09:39:53 Arun Raghavan wrote: > > > > This is a good idea to let external service to do codec-specific > > > > functions

Re: [pulseaudio-discuss] [PATCH] WIP: Bluetooth A2DP aptX codec support

2018-07-07 Thread Pali Rohár
On Friday 06 July 2018 11:16:09 Pali Rohár wrote: > Known problems: > > For every A2DP codec it is needed to register endpoint to the bluez daemon. > This is working fine, but I do not know how and why bluez daemon choose > endpoint (and so codec) for new connection. And I have

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-07 Thread Pali Rohár
e not find anything. Nor ffmpeg nor gstreamer. Which means that pulseaudio cannot delegate codec selection, codec initialization and codec encoding to some external library (yet). Anyway, now in bluez source code is some kind of codec encoding support for android systems. Therefore should not

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-07-06 Thread Pali Rohár
On Wednesday 20 June 2018 17:35:42 Jan Alexander Steffens wrote: > On Mon, Jun 18, 2018, 09:42 Pali Rohár wrote: > > > On Sunday 17 June 2018 23:48:42 Arun Raghavan wrote: > > > On Sun, 17 Jun 2018, at 4:01 AM, Pali Rohár wrote: > > > > Hi! As you may know

[pulseaudio-discuss] [PATCH] WIP: Bluetooth A2DP aptX codec support

2018-07-06 Thread Pali Rohár
k.c module_raop_sink_la_LDFLAGS = $(MODULE_LDFLAGS) diff --git a/src/modules/bluetooth/a2dp-codecs.h b/src/modules/bluetooth/a2dp-codecs.h index 8afcfcb24..217f8056f 100644 --- a/src/modules/bluetooth/a2dp-codecs.h +++ b/src/modules/bluetooth/a2dp-codecs.h @@ -4,6 +4,7 @@ * * Copyright (C) 2

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-06-21 Thread Pali Rohár
On Thursday 21 June 2018 05:45:39 Arun Raghavan wrote: > On Wed, 20 Jun 2018, at 9:05 PM, Jan Alexander Steffens wrote: > > On Mon, Jun 18, 2018, 09:42 Pali Rohár wrote: > > > > > On Sunday 17 June 2018 23:48:42 Arun Raghavan wrote: > > > > On Sun, 17 Ju

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-06-21 Thread Pali Rohár
On Wednesday 20 June 2018 17:40:09 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Mon, Jun 18, 2018 at 10:35 AM, Pali Rohár wrote: > > On Sunday 17 June 2018 23:48:42 Arun Raghavan wrote: > >> On Sun, 17 Jun 2018, at 4:01 AM, Pali Rohár wrote: > >> >

Re: [pulseaudio-discuss] Bluetooth aptX codec

2018-06-18 Thread Pali Rohár
On Sunday 17 June 2018 23:48:42 Arun Raghavan wrote: > On Sun, 17 Jun 2018, at 4:01 AM, Pali Rohár wrote: > > Hi! As you may know lot of bluetooth headsets support not only SBC, but > > also aptX codec. And new version of ffmpeg (4.0) has native aptX and > > aptX HD encoder an

[pulseaudio-discuss] Bluetooth aptX codec

2018-06-16 Thread Pali Rohár
for aptX via ffmpeg into pulseaudio? -- 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

Re: [pulseaudio-discuss] Headset support

2018-04-06 Thread Pali Rohár
On Friday 06 April 2018 10:20:42 David Woodhouse wrote: > > > On Wed, 2018-04-04 at 18:53 +0200, Pali Rohár wrote: > > On Wednesday 04 April 2018 16:47:57 David Woodhouse wrote: > > > I've now counted three types of headset control that we should support, > >

Re: [pulseaudio-discuss] Headset support

2018-04-04 Thread Pali Rohár
tocol could be decoded. Other Nokia headsets (non-ECI) - again 3.5mm jack, but supports only one button press. Maybe similar to your "third" one. Bluetooth A2DP with AVRCP - but this should be already supported. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature

Re: [pulseaudio-discuss] [PATCH] UI form enhancement (question)

2018-03-23 Thread Pali Rohár
lly, but it's easy to > forget to do that. git supports .mailmap, see: https://git-scm.com/docs/git-shortlog -- Pali Rohár pali.ro...@gmail.com signature.asc Description: PGP signature ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freede

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Pali Rohár
ay I know the right VOIP > application in Linux. where Bluetooth works well. > > > On Fri, Aug 11, 2017 at 3:09 PM, Pali Rohár <pali.ro...@gmail.com> wrote: > > So then just set media.role to phone and module-bluetooth-policy from > > pulseaudio 10.0 would take care for au

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Pali Rohár
ween the laptop and > Bluetooth headset. > > Also can you please mention the VOIP application that works well with Ubuntu. > I tried skype and it is not working with Bluetooth. > > > > > On Fri, Aug 11, 2017 at 2:49 PM, Pali Rohár <pali.ro...@gmail.com> wrote: &

Re: [pulseaudio-discuss] Switching bluetooth profile internally

2017-08-11 Thread Pali Rohár
r auto_switch=2 (not by default) to automatically switch between a2dp and hsp based on heuristic, see: https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=3397127f0045d3c130b59e59b4ce6b3601b239b9 So why do you want to manually switch between hsp and a2dp mode? Is not this auto_switch sup

Re: [pulseaudio-discuss] About extra A2DP codecs support in bluetooth module

2017-07-06 Thread Pali Rohár
On Thursday 06 July 2017 11:26:58 Qu Wenruo wrote: > At 07/06/2017 04:33 PM, Pali Rohár wrote: > > On Thursday 06 July 2017 01:54:10 Qu Wenruo wrote: > >> Is there any license problem blocking pulseaudio to implement > >> such codec? > > > > All patents f

Re: [pulseaudio-discuss] About extra A2DP codecs support in bluetooth module

2017-07-06 Thread Pali Rohár
On Thursday 06 July 2017 01:54:10 Qu Wenruo wrote: > Is there any license problem blocking pulseaudio to implement > such codec? All patents for MP3 already expired, so there should not be any license problem. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a dig

Re: [pulseaudio-discuss] [PATCH v3 2/3] bluetooth: Remove BlueZ 4 support

2017-06-19 Thread Pali Rohár
On Thursday 01 June 2017 01:10:08 Tanu Kaskinen wrote: > On Wed, 2017-05-31 at 09:30 +0200, Pali Rohár wrote: > > On Wednesday 31 May 2017 07:00:54 Arun Raghavan wrote: > > > On Sun, 28 May 2017, at 08:05 PM, Pali Rohár wrote: > > > > On Thursday 25 May 2017 10:36:3

Re: [pulseaudio-discuss] [PATCH v3 2/3] bluetooth: Remove BlueZ 4 support

2017-05-31 Thread Pali Rohár
On Wednesday 31 May 2017 07:00:54 Arun Raghavan wrote: > On Sun, 28 May 2017, at 08:05 PM, Pali Rohár wrote: > > On Thursday 25 May 2017 10:36:36 Luiz Augusto von Dentz wrote: > > > BlueZ 4 is no longer supported by BlueZ community for a long long > > > time, also by

Re: [pulseaudio-discuss] [PATCH v3 2/3] bluetooth: Remove BlueZ 4 support

2017-05-28 Thread Pali Rohár
uez4 code in puleaudio? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/p

Re: [pulseaudio-discuss] Thinking about pulseaudio for debian stretch

2016-12-11 Thread Pali Rohár
t within a few weeks and final > > release ready well in time for the Debian freeze. No promises, of > > course. > > Excellent. Having the first RC within november/early december makes > me think having version 10 (or at least a late RC + cherry-picked > fixes) will be th

Re: [pulseaudio-discuss] [PATCH v4] bluetooth: Add optional heuristic for switching between hsp and a2dp profiles

2016-10-21 Thread Pali Rohár
Anybody? On Monday 19 September 2016 16:44:00 Pali Rohár wrote: > Hi! Please let me know what do you think about this v4 version of my patch. > > On Sunday 11 September 2016 16:41:02 Pali Rohár wrote: > > Not all VOIP applications (specially those which use alsa) set media.ro

Re: [pulseaudio-discuss] [PATCH v4] bluetooth: Add optional heuristic for switching between hsp and a2dp profiles

2016-09-19 Thread Pali Rohár
Hi! Please let me know what do you think about this v4 version of my patch. On Sunday 11 September 2016 16:41:02 Pali Rohár wrote: > Not all VOIP applications (specially those which use alsa) set media.role to > phone. This means we need some heuristic to determinate if we want to switch

[pulseaudio-discuss] [PATCH] bluetooth: bluez5: Add profile name to sinks and sources

2016-09-15 Thread Pali Rohár
See commit 380a7fc2401ea26151e0383adff05314a263ac31. Signed-off-by: Pali Rohár <pali.ro...@gmail.com> --- I have this bluez5 patch on my HDD for a long time, but I have not tested it yet. I think it can be useful so I'm sending it to list... --- src/modules/bluetooth/module-bluez5-de

Re: [pulseaudio-discuss] module-bluetooth-policy : How to use auto switch profile?

2016-09-14 Thread Pali Rohár
perties" with > signature "" on interface "org.bluez.Manager" doesn't exist > > I think that the bluez 5 limit you were talking about? > > Thanks & hope to hear about you soon :) > > Have a nice day, > > > > On 5 September 2016 at 15:38, Pali Rohár

[pulseaudio-discuss] [PATCH] bluetooth: Add support for automatic switch between hsp and a2dp profiles also for bluez5

2016-09-11 Thread Pali Rohár
Bluez5 uses different profile names as bluez4, so we need to check for a2dp_sink and headset_head_unit too for bluez5 support. Signed-off-by: Pali Rohár <pali.ro...@gmail.com> --- I have not tested this patch yet, but there are people who already wanted bluez5 support so I'm sending my

[pulseaudio-discuss] [PATCH v4] bluetooth: Add optional heuristic for switching between hsp and a2dp profiles

2016-09-11 Thread Pali Rohár
by default nobody will be affected by this change unless manually change auto_switch parameter. Signed-off-by: Pali Rohár <pali.ro...@gmail.com> --- src/modules/bluetooth/module-bluetooth-policy.c | 43 --- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git

Re: [pulseaudio-discuss] Multi user access to PulseAudio

2016-09-11 Thread Pali Rohár
or all) users. Is not system mode designed for such situations? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] module-bluetooth-policy : How to use auto switch profile?

2016-09-05 Thread Pali Rohár
On Monday 05 September 2016 15:32:51 Greg wrote: > What do you think about it? Is it cause by bluez5? No, you must use version from git. Not some stable with that patch, it is not enough. -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-disc

Re: [pulseaudio-discuss] module-bluetooth-policy : How to use auto switch profile?

2016-09-05 Thread Pali Rohár
tly I tested it only for bluez4. [1] - https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=bde2ff8794a9363b1f7f2c683b160268ce371770 -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org h

Re: [pulseaudio-discuss] [PATCH v5] bluetooth: Add support for automatic switch between hsp and a2dp profiles

2016-08-09 Thread Pali Rohár
On Tuesday 09 August 2016 13:15:17 Tanu Kaskinen wrote: > On Tue, 2016-08-09 at 09:04 +0200, Pali Rohár wrote: > > On Tuesday 09 August 2016 01:12:21 Tanu Kaskinen wrote: > > > These profile names work only with BlueZ 4. With BlueZ 5 the > > > profile names are "h

Re: [pulseaudio-discuss] [PATCH v5] bluetooth: Add support for automatic switch between hsp and a2dp profiles

2016-08-09 Thread Pali Rohár
On Tuesday 09 August 2016 01:12:21 Tanu Kaskinen wrote: > On Fri, 2016-07-22 at 16:20 +0530, Arun Raghavan wrote: > > > From: Pali Rohár <pali.ro...@gmail.com> > > > +if (revert_to_a2dp) { > > +from_profile = "hsp"; > &

Re: [pulseaudio-discuss] [PATCH 0/5] Fix the conflict between bluetooth-policy and card-restore

2016-08-05 Thread Pali Rohár
luetooth packages... Note that you can have registered only one bluez agent, so maybe killing some gnome/kde/... SW will be needed. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ pulseaudio-dis

Re: [pulseaudio-discuss] [PATCH 0/5] Fix the conflict between bluetooth-policy and card-restore

2016-08-04 Thread Pali Rohár
On Thursday 04 August 2016 20:02:59 Felipe Sateler wrote: > Out of curiosity, what distro is this? Ubuntu 12.04 LTS with KDE4. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ pulseau

Re: [pulseaudio-discuss] [PATCH 0/5] Fix the conflict between bluetooth-policy and card-restore

2016-08-04 Thread Pali Rohár
others think - should I nevertheless try to install BlueZ 4 > and update the BlueZ 4 code too, or can we let the BlueZ 4 code just > rot? I have only Bluez 4, so please do not drop Bluez 4 code. If you to do testing code for Bluez 4 setup, I can do that. -- Pali Rohár pali.ro...@gmail.c

Re: [pulseaudio-discuss] [PATCH] bluetooth: When doing autoswitch call pa_card_set_profile with save=true

2016-08-04 Thread Pali Rohár
e), so it work as expected. And switching make sense only immediately after profile is available. Not randomly at any time (which conflict with this bluetooth policy module). -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list puls

Re: [pulseaudio-discuss] [PATCH] bluetooth: When doing autoswitch call pa_card_set_profile with save=true

2016-08-04 Thread Pali Rohár
On Thursday 04 August 2016 14:59:59 Tanu Kaskinen wrote: > On Thu, 2016-08-04 at 13:37 +0200, Pali Rohár wrote: > > On Thursday 04 August 2016 13:59:33 Tanu Kaskinen wrote: > > > > > > I'd guess it's profile_available_changed_callback(). > > > > Yes, tha

Re: [pulseaudio-discuss] [PATCH] bluetooth: When doing autoswitch call pa_card_set_profile with save=true

2016-08-04 Thread Pali Rohár
On Thursday 04 August 2016 13:59:33 Tanu Kaskinen wrote: > I'd guess it's profile_available_changed_callback(). Yes, that one. Will you prepare fix? -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pulseaudio-disc

Re: [pulseaudio-discuss] [PATCH] bluetooth: When doing autoswitch call pa_card_set_profile with save=true

2016-08-04 Thread Pali Rohár
On Thursday 04 August 2016 09:29:58 Arun Raghavan wrote: > On Tue, 2 Aug 2016, at 12:50 AM, Pali Rohár wrote: > > When pa_card_set_profile is called with save=false then > > module-card-restore > > start fight with module-bluetooth-policy and every second is profile >

[pulseaudio-discuss] [PATCH] bluetooth: When doing autoswitch call pa_card_set_profile with save=true

2016-08-01 Thread Pali Rohár
to not try to restore old profile. Signed-off-by: Pali Rohár <pali.ro...@gmail.com> --- src/modules/bluetooth/module-bluetooth-policy.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/bluetooth/module-bluetooth-policy.c b/src/modules/bluetooth/module-bluetooth-po

Re: [pulseaudio-discuss] [PATCH v5] bluetooth: Add support for automatic switch between hsp and a2dp profiles

2016-08-01 Thread Pali Rohár
On Thursday 28 July 2016 08:58:25 Arun Raghavan wrote: > On Fri, 22 Jul 2016, at 04:48 PM, Pali Rohár wrote: > > On Friday 22 July 2016 16:20:51 Arun Raghavan wrote: > > > (I had to fix up your patch due to recent changes in how card > > > profiles are selec

Re: [pulseaudio-discuss] [PATCH v5] bluetooth: Add support for automatic switch between hsp and a2dp profiles

2016-07-22 Thread Pali Rohár
fine, I'm using it daily... I can try to install pulseaudio from git into system to have a test, but I do not know if my Ubuntu box does not refuse such giant upgrade... -- Pali Rohár pali.ro...@gmail.com ___ pulseaudio-discuss mailing list pul

<    1   2   3   4   5   >