Re: [pulseaudio-discuss] R: New equalizer module (module-eqpro-sink), some questions

2019-04-22 Thread Tanu Kaskinen
On Sat, 2019-04-20 at 11:38 +0200, Georg Chini wrote: > On 20.04.19 11:06, Tanu Kaskinen wrote: > > On Fri, 2019-04-19 at 17:52 +0200, Georg Chini wrote: > > > On 19.04.19 16:56, Tanu Kaskinen wrote: > > > > Changing the number of eq bands isn't quite like changing regular > > > > control values. T

Re: [pulseaudio-discuss] [PATCH v8 08/12] bluetooth: Add A2DP FastStream codec support

2019-04-22 Thread Tanu Kaskinen
On Sat, 2019-04-20 at 11:24 +0200, Pali Rohár wrote: > On Saturday 20 April 2019 11:37:56 Tanu Kaskinen wrote: > > On Sat, 2019-04-06 at 11:16 +0200, Pali Rohár wrote: > > > This patch provides support for FastStream codec in bluetooth A2DP > > > profile. > > > FastStream codec is bi-directional,

Re: [pulseaudio-discuss] configure a soundcard?

2019-04-22 Thread Tanu Kaskinen
On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote: > Greetings, > > I'm running Debian Buster and I have a 1/8" audio jack. I need the sink to > be an analog output to send off to some other device. Things work great, > except for when the system reboots, it comes up configured as a digital

Re: [pulseaudio-discuss] [PATCH] alsa: Fix inclusion of use-case.h

2019-04-22 Thread Tanu Kaskinen
On Sun, 2019-04-21 at 11:59 +0200, Takashi Iwai wrote: > The recent change in ALSA upstream stripped -I$include/alsa path from > pkgconfig. We already fixed for this change in some places but still > the code for UCM was overlooked, and this resulted in the unresolved > symbols in alsa card module

Re: [pulseaudio-discuss] pulseaudio still running before shutdown

2019-04-22 Thread Tanu Kaskinen
On Sun, 2019-04-21 at 13:37 +0200, Christian wrote: > Hi, > > > INFO: > my system: Linux/Lubuntu 18.04.2 LTS, 64 bit > > > I shut down my system with the terminal-comm

Re: [pulseaudio-discuss] [PATCH v8 08/12] bluetooth: Add A2DP FastStream codec support

2019-04-22 Thread Pali Rohár
On Monday 22 April 2019 11:01:01 Tanu Kaskinen wrote: > On Sat, 2019-04-20 at 11:24 +0200, Pali Rohár wrote: > > On Saturday 20 April 2019 11:37:56 Tanu Kaskinen wrote: > > > On Sat, 2019-04-06 at 11:16 +0200, Pali Rohár wrote: > > > > This patch provides support for FastStream codec in bluetooth A

Re: [pulseaudio-discuss] R: New equalizer module (module-eqpro-sink), some questions

2019-04-22 Thread Georg Chini
On 22.04.19 09:34, Tanu Kaskinen wrote: On Sat, 2019-04-20 at 11:38 +0200, Georg Chini wrote: PA uses malloc() in the IO-thread, so are we doing things wrong? I think using malloc() when a parameter changes is not interfering with real-time operation because the filter must be reset after a para

Re: [pulseaudio-discuss] pulseaudio still running before shutdown

2019-04-22 Thread Christian
Hi Tanu, thanks a lot for your answer and suggestion. First of all I have to apologize for getting something wrong. I wrote: "I don´t know why I get this message because the shutdown works well despite that error message. In fact it shuts down really fast." That´s /incorrect/. In fact it´s like

Re: [pulseaudio-discuss] configure a soundcard?

2019-04-22 Thread Matt Zagrabelny
On Mon, Apr 22, 2019 at 3:06 AM Tanu Kaskinen wrote: > On Sat, 2019-04-20 at 12:11 -0500, Matt Zagrabelny wrote: > > Greetings, > > > > I'm running Debian Buster and I have a 1/8" audio jack. I need the sink > to > > be an analog output to send off to some other device. Things work great, > > exc

[pulseaudio-discuss] [PATCH v9 3/8] bluetooth: Add A2DP FastStream codec support

2019-04-22 Thread Pali Rohár
This patch provides support for FastStream codec in bluetooth A2DP profile. FastStream codec is bi-directional, which means that support both music playback and microphone voice at the same time. FastStream codec is just SBC codec with fixed parameters. For playback are used following parameters:

[pulseaudio-discuss] [PATCH v9 1/8] bluetooth: Fix A2DP codec API to provide information about data buffer

2019-04-22 Thread Pali Rohár
Each codec has different compression ratio and own method how to calculate buffer size of encoded or decoded samples. So change A2DP codec API to provide this information for module-bluez5-device module and fix a2dp_prepare_encoder_buffer() and a2dp_prepare_decoder_buffer() functions. API function

[pulseaudio-discuss] [PATCH v9 4/8] bluetooth: Add more variants of SBC codec

2019-04-22 Thread Pali Rohár
Specify configuration for Low, Middle, High and Ultra High Quality of SBC codec. SBC codec in Ultra High 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 v9 0/8] Bluetooth A2DP codecs

2019-04-22 Thread Pali Rohár
In this patch series was dropped all patches which are already applied in git master branch. There are 2 new patches: "Fix A2DP codec API to provide information about data buffer" and "policy: Set initial A2DP profile which bluez already activated". So with profile/codec switching we can relay on

[pulseaudio-discuss] [PATCH v9 5/8] bluetooth: policy: Reflect a2dp profile names

2019-04-22 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 b/src/modules/bluetooth/module-bluetooth-

[pulseaudio-discuss] [PATCH v9 2/8] bluetooth: Add A2DP aptX and aptX HD codecs support

2019-04-22 Thread Pali Rohár
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 https://github.com/pali/libopenaptx. aptX for s24 stereo samples provides fixed 6:1 compression ratio and bitrate 352.8 kbit/s, aptX H

[pulseaudio-discuss] [PATCH v9 7/8] bluetooth: policy: Treat bi-directional A2DP profiles as suitable for VOIP

2019-04-22 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. FastS

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

2019-04-22 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. --- src/modules/bluetooth/module-bluetooth-policy.c | 37

[pulseaudio-discuss] [PATCH v9 6/8] bluetooth: Implement A2DP codec switching and backchannel support

2019-04-22 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 call. 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 n

[pulseaudio-discuss] Frequency autoswitching with E-MU 0404 USB

2019-04-22 Thread edio
Hello, I'm having trouble with sampling frequency autoswitching when using E-MU 0404 USB soundcard. This case is rather strange. I have 2 E-MU 0404 USB soundcards: regular one (model EM8761) and white edition (model EM8762). Autoswitching in PulseAudio works with the regular one but not wit

Re: [pulseaudio-discuss] Frequency autoswitching with E-MU 0404 USB

2019-04-22 Thread edio
I was looking for clues here and there, until I stumbled on this gist: https://github.com/taravasya/taravasya_snips/commit/a99bc93365aafbdc8a735fe24a9f4107f857144e#diff-e2c3b1bfad69cc1fb921d18bdb7c2bd5 That gave me an idea, that perhaps switching profile from Duplex to Output would solve my issu

Re: [pulseaudio-discuss] Frequency autoswitching with E-MU 0404 USB

2019-04-22 Thread Conrad Jones
This is interesting, are you requiring to switch the profile only on the white edition ? I ask because I have a box full of these in storage, it would be interesting if there is a difference if there is different firmware at play on the device On Mon, Apr 22, 2019 at 11:46 PM edio wrote: > I wa