[pulseaudio-discuss] Stepping down as a maintainer

2022-08-10 Thread Tanu Kaskinen
Hello all! I have decided to start biotechnology studies, and some things in my life need to give room for that. PulseAudio work is one of those, so starting from 2022-08-22 I wish to drop all responsibilities implied by the maintainer status. How completely I will disappear from the project

Re: [pulseaudio-discuss] [PATCH] add judgment logic before pa_streq

2022-07-01 Thread Tanu Kaskinen
On Thu, 2022-06-30 at 16:23 +0800, lishengyu wrote: > --- > src/modules/module-switch-on-port-available.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/modules/module-switch-on-port-available.c > b/src/modules/module-switch-on-port-available.c > index de9c87092..53c5a0b32

Re: [pulseaudio-discuss] Why does the USB headset show the Digital Output (S/PDIF) port?

2022-06-28 Thread Tanu Kaskinen
On Tue, 2022-06-28 at 15:21 +0800, zhaochen...@uniontech.com wrote: > Hi guys, > > I have a USB headset that the module is Edifier USB K800. > Plug it into the PC's usb port, and then I found "Digital Output > (S/PDIF)" audio port as below. > > Would you please tell me why the Digital Output

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 16.1

2022-06-22 Thread Tanu Kaskinen
Hello everybody, The 16.0 release had some regressions, so here comes a bugfix release to remedy those (along with some other fixes). These are the changes: * Fix parsing of percentage volumes with decimal points in pactl * Fix crash with the "pacmd play-file" command when reads from the

Re: [pulseaudio-discuss] pactl percentage bug fix

2022-06-06 Thread Tanu Kaskinen
On Sat, 2022-06-04 at 23:05 -0700, Sean Greenslade wrote: > On Sun, Jun 05, 2022 at 01:51:55AM +0100, Patrick May wrote: > > On 04/06/2022 08:48, Sean Greenslade wrote: > > > > > While debugging, I did notice another issue that I was uncertain of how > > > to solve. The detection of absolute

[pulseaudio-discuss] [ANNOUNCE] paprefs 1.2

2021-12-22 Thread Tanu Kaskinen
Weblate (Dutch) Rafael Fontenelle (1): Translated using Weblate (Portuguese (Brazil)) Ricky Tigg (1): Translated using Weblate (Finnish) Sabri Ünal (1): Translated using Weblate (Turkish) Tanu Kaskinen (8): Fix ustring initialization from a NULL pointer i18n: remove

Re: [pulseaudio-discuss] Which device-string I should disable between hw:%f and iec958:%f?

2021-12-22 Thread Tanu Kaskinen
On Wed, 2021-12-22 at 22:01 +0800, 赵成义 wrote: > Hi guys, > > > I found that some usb earphones can match the device-strings hw:%f > and iec958:%f of the default.conf configuration file > at the same time, so two output ports will be displayed, one is the > analog output and the other is the

Re: [pulseaudio-discuss] pulseaudio failed to start at ubuntu 21.04

2021-12-18 Thread Tanu Kaskinen
On Sat, 2021-12-18 at 05:51 +0800, su wrote: > pulseaudio failed to start with a usb remote pluged into the embedded pc . > The error message at journalctl is : > > > -- Boot 37de7028dfda47569d03504658160650 -- > Dec 11 04:46:09 hirsute-server systemd[1958]: Starting Sound Service... > Dec

Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met

2021-11-05 Thread Tanu Kaskinen
On Thu, 2021-11-04 at 11:35 +, Joel wrote: > Tanu - > > Briefly, from the systemctl status reports, errors for the two > machines where system-wide pulseaudio, failed that appear to be the > most significant are as follows: > > ASUS-based desktop (linux-3): line 50. Nov 01 15:53:43

Re: [pulseaudio-discuss] Where are stored sinks' settings?

2021-10-26 Thread Tanu Kaskinen
On Sun, 2021-10-24 at 21:09 -0400, Pierre-Luc Daoust wrote: > Hi everybody! > > I have a question that might look noob. All the settings from Pavucontrol, > about which input sink goes to which output sink, where are they stored? I > know how to list them with pacmd, but if I want to look through

Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met

2021-10-14 Thread Tanu Kaskinen
Hi Colin! On Thu, 2021-10-14 at 13:18 +0100, Colin Guthrie wrote: > Tanu Kaskinen wrote on 13/10/2021 20:25: > > On Wed, 2021-10-13 at 14:51 +, Joel wrote: > > > Tanu - > > > > > > Thank you. I made the changes you suggested (removed > > > pulse

Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met

2021-10-13 Thread Tanu Kaskinen
On Wed, 2021-10-13 at 14:51 +, Joel wrote: > Tanu - > > Thank you. I made the changes you suggested (removed > pulseaudio.socket from two locations where I found the file: > /etc/systemd/system/and /etc/systemd/system/sockets.targets.wants. > In the file pulseaudio.service, I commented out

Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met

2021-10-12 Thread Tanu Kaskinen
On Mon, 2021-10-11 at 22:19 +, Joel wrote: > Tanu - > > Thank you for your response. Please note - I have very little experience > with pulseaudio and alsa, except as a user. When it comes to the > configuration, I'm a complete novice and concluded that I made a mistake > somewhere by

Re: [pulseaudio-discuss] Start condition failed - ConditionUser=!root not met

2021-10-11 Thread Tanu Kaskinen
On Mon, 2021-10-11 at 15:41 -0400, Joel Miller wrote: > OS: openSuSE Leap 15.3; KDE plasma desktop > > To enable a system instance of pulseaudio, I made the following file > modifications suggested on the freedesktop.org >

Re: [pulseaudio-discuss] Force SRC even when sample rates are the same

2021-10-11 Thread Tanu Kaskinen
On Mon, 2021-10-11 at 19:03 +0300, Timur Aydin wrote: > Hello folks, > > Is there a way to force pulse audio to use SRC even when the input and > output sample rates are the same? No. -- Tanu

Re: [pulseaudio-discuss] Why does Jack section uses "state.plugged = unknown" and "state.unplugged = unknown"?

2021-09-22 Thread Tanu Kaskinen
On Fri, 2021-09-17 at 11:41 +0800, Chengyi Zhao wrote: > Hi guys, > > I don't know why Jack section uses "state.plugged = unknown" and > "state.unplugged = unknown" in the path file > "analog-output-lineout.conf" below. > > I think PulseAudio should set Jack to be available when it recognizes

Re: [pulseaudio-discuss] pulsectl with pulseaudio 15.0

2021-09-08 Thread Tanu Kaskinen
On Wed, 2021-09-08 at 07:35 +, Matthias Mirbeth wrote: > Hello all, > > I am using the pulsectl module to interact with the pulseaudio C API from my > python application. > This worked fine with pulseaudio 14.2 and previous versions but I can't get > it to work with pulseaudio 15. > > Upon

[pulseaudio-discuss] [ANNOUNCE] pavucontrol 5.0

2021-08-15 Thread Tanu Kaskinen
) Pjotr Vertaalt (1): Translated using Weblate (Dutch) Porrumentzio (2): Translated using Weblate (Basque) Translated using Weblate (Basque) Rafael Fontenelle (1): Translated using Weblate (Portuguese (Brazil)) Tanu Kaskinen (17): mainwindow: scale icons to sane size

Re: [pulseaudio-discuss] Why should we set multichannel-input and multichannel-output to a fallback map

2021-04-02 Thread Tanu Kaskinen
On Fri, 2021-04-02 at 17:49 +0800, Chengyi Zhao wrote: > Hi guys, > > I don't know why we should set multichannel-input and > multichannel-output to fallback map > in the configuration file default.conf. > > I think these have no actual usage scenarios, we should delete these > configurations.

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 14.2

2021-01-16 Thread Tanu Kaskinen
Hi all, The 14.1 release contained a patch that broke unplug event handling[1], affecting a vast number of users, so here comes 14.2 with that bug fixed. There are no other changes. Tarball: https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-14.1.tar.xz SHA256:

Re: [pulseaudio-discuss] May I modify the configuration of the path 'analog-output-lineout.conf'

2020-11-30 Thread Tanu Kaskinen
On Tue, 2020-11-24 at 05:42 +, Chengyi Zhao wrote: > Hi guys, > > I found a Jack that it is Line Out CLFE in the sound card 'Realteck ACL662 > rev3', > and this Jack can adapt 'Mapping multichannel-output' of the profile-sets > 'default.conf'. > > Would you please tell me what Line Out

Re: [pulseaudio-discuss] How to control the right and left channel for a specific application using CLI ?

2020-11-04 Thread Tanu Kaskinen
On Wed, 2020-11-04 at 14:56 +0100, 01iv...@labomedia.org wrote: > Le 2020-11-04 01:17, Arun Raghavan a écrit : > > On Tue, 3 Nov 2020, at 7:09 PM, 01iv...@labomedia.org wrote: > > > Le 2020-11-03 23:49, Arun Raghavan a écrit : > > > > On Tue, 3 Nov 2020, at 5:28 PM, 01iv...@labomedia.org wrote: >

Re: [pulseaudio-discuss] How to choose the sound card for an application using CLI ?

2020-11-03 Thread Tanu Kaskinen
On Tue, 2020-11-03 at 02:25 +0100, 01iv...@labomedia.org wrote: > Hello, > > I want to run applications with specifics sound cards in command line on > Ubuntu 20.04. > I know it is graphically possible with Pulseaudio Volume Control which > let me choose the card in a menu after the application

Re: [pulseaudio-discuss] Networking and volume control

2020-10-31 Thread Tanu Kaskinen
On Fri, 2020-10-30 at 17:28 -0500, Matt Garman wrote: > I have PulseAudio set up on a Raspberry Pi as a sound server. The RPi > is connected to a USB DAC, which has hardware volume control > capabilities. This is what I have in my /etc/pulse/default.pa: > > load-module module-alsa-sink

Re: [pulseaudio-discuss] Why I can't find multichannel-input and multichannel-output paths in path folder

2020-10-31 Thread Tanu Kaskinen
On Wed, 2020-10-28 at 09:59 +0800, Chengyi Zhao wrote: > Hi guys, > > I have a computer with using Realtek ALC662 rev3, it can adapt the > multichannel profile below, > > but I can't find multichannel-input and multichannel-output paths in > path folder > >

Re: [pulseaudio-discuss] Sound card is detected and used accidentally in PulseAudio

2020-10-26 Thread Tanu Kaskinen
On Mon, 2020-10-26 at 10:34 +0100, Karsten wrote: > Hello developers of PulseAudio, > > it seems that there is nearly nobody that can help with problems with > PulseAudio. > So my hope is that you can help? > > Please be so kind and have a look at this problem. >

Re: [pulseaudio-discuss] Pulseaudio is deadlocked when using module-echo-cancel to Bluetooth input audio

2020-09-27 Thread Tanu Kaskinen
On Fri, 2020-09-25 at 14:00 +0800, Chengyi Zhao wrote: > Hi guys, > > Pulseaudio is deadlocked when Bluetooth(HSP) is selected as the input > audio and module-echo-cancel is loaded. > > I don't know why Thread 1 and Thread 5 are all blocked in the function > futex_abstimed_wait_cancelable. >

Re: [pulseaudio-discuss] Questions about device_start_waiting_for_profiles

2020-09-16 Thread Tanu Kaskinen
On Sun, 2020-09-13 at 17:28 +0800, Chengyi Zhao wrote: > Hi guys, > > I have a question for the code below, please give your opinion, thanks! > > The function device_start_waiting_for_profiles is to wait for connecting > profiles, > but only waited 3 seconds(WAIT_FOR_PROFILES_TIMEOUT_USEC), if

Re: [pulseaudio-discuss] The volume control ways in PulseAudio

2020-07-17 Thread Tanu Kaskinen
On Fri, 2020-07-17 at 17:15 +0800, Aaron Chou wrote: > Thanks for your email! > > On Fri, Jul 17, 2020 at 4:20 PM Tanu Kaskinen wrote: > > > On Fri, 2020-07-17 at 10:57 +0800, Aaron Chou wrote: > > > Hi, all: > > > > > > I am the newer about Pul

Re: [pulseaudio-discuss] The volume control ways in PulseAudio

2020-07-17 Thread Tanu Kaskinen
On Fri, 2020-07-17 at 10:57 +0800, Aaron Chou wrote: > Hi, all: > > I am the newer about PulseAudio. > When I have some time to learn it, I found that there are two ways in > volume control, which is software control and hardware control. > I can not understand these two ways. > The software way

Re: [pulseaudio-discuss] pulseaudio 13.0 stopped working after system upgrade

2020-07-13 Thread Tanu Kaskinen
On Sun, 2020-07-12 at 20:35 +0200, mailinglis...@posteo.de wrote: > Hi there! > > I just did a distribution upgrade, now pulseaudio 13.0 stopped working. > > > I use a Unix socket setup to allow multiple local users to access the > pulse server. > > In /etc/pulse/default.pa I use these

Re: [pulseaudio-discuss] [PATCH] alsa-ucm: disallow null mdev argument into pa_alsa_open_mixer_by_name()

2020-07-06 Thread Tanu Kaskinen
On Wed, 2020-07-01 at 11:20 +0300, Eero Nurkkala wrote: > It's possible for mdev to be NULL. In this case, an assert is taken > in pa_alsa_open_mixer_by_name() with debug builds, and a crash with > release builds. However, it's possible to bypass this trouble by taking > the error path if mdev is

Re: [pulseaudio-discuss] How to differentiate pause and stop in pulseaudio.

2020-07-06 Thread Tanu Kaskinen
On Mon, 2020-06-15 at 09:15 +, Ramachandra Rao, Arun Kumar wrote: > Hi Team, > > > We have implemented a pulsemodule which listens on > sink_input_new_hook and establishes connection with AudioManager and > based on response from AudioManager, it sends PA_HOOK_OK or > PA_HOOK_CANCEL. > > >

Re: [pulseaudio-discuss] [PATCH] ALSA: hda/hdmi: Add Intel silent stream support

2020-06-25 Thread Tanu Kaskinen
On Thu, 2020-06-25 at 09:03 +0200, Takashi Iwai wrote: > On Thu, 25 Jun 2020 02:18:58 +0200, > Arun Raghavan wrote: > > +pulseaudio-discuss for information > > > > On Wed, 24 Jun 2020, at 1:33 PM, Takashi Iwai wrote: > > > On Wed, 24 Jun 2020 19:05:14 +0200, > > > Pierre-Louis Bossart wrote: > >

[pulseaudio-discuss] Purpose of ports that represent multiple UCM devices?

2020-06-10 Thread Tanu Kaskinen
Hi, I did some work in PulseAudio's UCM code, and I got frustrated by the "combined port" concept. We spend a lot of effort supporting the case where one port represents multiple UCM devices, but I don't understand why we do that. Do you know some use case for that? I would like to drop the

Re: [pulseaudio-discuss] PulseAudio run in embedded device

2020-04-30 Thread Tanu Kaskinen
On Thu, 2020-04-30 at 15:48 +0800, l...@sunray.cn wrote: > Hi > > I'm using imx6DL device with the kernel yocto 4.1.15. > > I want to use Qt Sound (based on pulseaudio) to play some audio files. But > > it doesn't work. > > Also I want the PA daemon can start before the user login. > > I add

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

2020-04-28 Thread Tanu Kaskinen
On Tue, 2020-04-28 at 16:12 +0200, Pali Rohár wrote: > 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

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

2020-04-28 Thread Tanu Kaskinen
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 ofono support is not an option. > > Well, in this case you have

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

2020-04-28 Thread Tanu Kaskinen
On Tue, 2020-04-28 at 07:48 +0200, Georg Chini wrote: > On 27.04.20 22:22, Pali Rohár wrote: > > 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

Re: [pulseaudio-discuss] Bluetooth codec selection

2020-04-13 Thread Tanu Kaskinen
On Tue, 2020-03-17 at 16:43 +0100, Pali Rohár wrote: > 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: > > > > Would you be willing to

Re: [pulseaudio-discuss] configure a soundcard?

2020-04-13 Thread Tanu Kaskinen
On Mon, 2020-04-13 at 11:02 -0500, Matt Zagrabelny wrote: > Georg, Tanu, and others, > > On Tue, Apr 30, 2019 at 2:35 PM Georg Chini wrote: > > > On 27.04.19 12:26, Tanu Kaskinen wrote: > > > On Fri, 2019-04-26 at 07:37 -0500, Matt Zagrabelny wrote: > > > &g

Re: [pulseaudio-discuss] Device fallback priority

2020-04-12 Thread Tanu Kaskinen
On Sat, 2020-04-11 at 22:29 +0200, Daniel wrote: > Hello, > > I have 2 alsa devices in my system, card 0 is my Nvidia graphics card > for HDMI Audio output, card 1 is my internal onboard audio. I prefer > the HDMI Audio via my Nvidia card and setting this as default device > works just fine. > >

[pulseaudio-discuss] New public API: ports sharing jack detection, device types

2020-04-02 Thread Tanu Kaskinen
Hi all, Just a heads-up: there's a discussion ongoing in the Gnome GitLab about new public client API for figuring out which ports share jack detection and for annotating ports with device type information: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/10 As is the case

Re: [pulseaudio-discuss] Bluetooth codec selection

2020-03-17 Thread Tanu Kaskinen
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! > > > > > > My A2DP patch series which adds support for more A2DP codecs is s

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

2020-03-16 Thread Tanu Kaskinen
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 about state of HSP / HFP support? > > On Saturday 15 February 2020 22:33:10 Pali Rohár

Re: [pulseaudio-discuss] Docs missing for `module-switch-on-port-available`?

2020-03-06 Thread Tanu Kaskinen
On Fri, 2020-03-06 at 14:58 +0200, Leho Kraav wrote: > On Fri, Mar 06, 2020 at 02:56:09PM +0200, Leho Kraav wrote: > > On Fri, Mar 06, 2020 at 10:57:58AM +0200, Tanu Kaskinen wrote: > > > > Tyvm. It is unclear why one should prefer one over the other, in both >

Re: [pulseaudio-discuss] Docs missing for `module-switch-on-port-available`?

2020-03-06 Thread Tanu Kaskinen
On Thu, 2020-03-05 at 12:10 +0200, Leho Kraav wrote: > On 5 March 2020 10:46:29 Tanu Kaskinen wrote: > > > On Tue, 2020-03-03 at 22:01 +0200, Leho Kraav wrote: > > > Trying to figure out what exactly is the difference between > > > `module-switch-on-port-available

Re: [pulseaudio-discuss] Docs missing for `module-switch-on-port-available`?

2020-03-05 Thread Tanu Kaskinen
On Tue, 2020-03-03 at 22:01 +0200, Leho Kraav wrote: > Trying to figure out what exactly is the difference between > `module-switch-on-port-available` vs `module-switch-on-connect` > > But > https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/ > doesn't list

Re: [pulseaudio-discuss] No sound in one Debian 10 partition (and a debug script)

2020-03-05 Thread Tanu Kaskinen
On Tue, 2020-03-03 at 01:09 -0300, Eduardo Ochs wrote: > Hi all, > > I have two Debian 10 partitions in my laptop, one that was a Debian 9 > that I "apt-get dist-upgrade"d to Debian 10, and one in which Debian > 10 was installed from scratch using an installation pen drive... > > In the

Re: [pulseaudio-discuss] [alsa-devel] Question about the various mixer options in UCM

2020-02-26 Thread Tanu Kaskinen
On Sun, 2020-02-23 at 14:55 +0100, Jaroslav Kysela wrote: > Dne 23. 02. 20 v 10:00 Tanu Kaskinen napsal(a): > > On Sat, 2020-02-22 at 08:53 +0200, Tanu Kaskinen wrote: > > > On Sun, 2020-02-16 at 18:38 +0100, Jaroslav Kysela wrote: > > > > Dne 16. 02. 2

Re: [pulseaudio-discuss] [alsa-devel] Question about the various mixer options in UCM

2020-02-23 Thread Tanu Kaskinen
On Sat, 2020-02-22 at 08:53 +0200, Tanu Kaskinen wrote: > On Sun, 2020-02-16 at 18:38 +0100, Jaroslav Kysela wrote: > > Dne 16. 02. 20 v 11:06 Tanu Kaskinen napsal(a): > > > On Sun, 2020-02-16 at 11:42 +0200, Tanu Kaskinen wrote: > > > > + pulseaudio

Re: [pulseaudio-discuss] [alsa-devel] Question about the various mixer options in UCM

2020-02-21 Thread Tanu Kaskinen
On Sun, 2020-02-16 at 18:38 +0100, Jaroslav Kysela wrote: > Dne 16. 02. 20 v 11:06 Tanu Kaskinen napsal(a): > > On Sun, 2020-02-16 at 11:42 +0200, Tanu Kaskinen wrote: > > > + pulseaudio-discuss@lists.freedesktop.org > > > > > > On Sat, 2020-02-15 a

Re: [pulseaudio-discuss] [alsa-devel] Question about the various mixer options in UCM

2020-02-16 Thread Tanu Kaskinen
On Sun, 2020-02-16 at 11:42 +0200, Tanu Kaskinen wrote: > + pulseaudio-discuss@lists.freedesktop.org > > On Sat, 2020-02-15 at 17:25 +0100, Jaroslav Kysela wrote: > > Dne 15. 02. 20 v 7:29 Tanu Kaskinen napsal(a): > > > What's the difference between PlaybackV

Re: [pulseaudio-discuss] [alsa-devel] Question about the various mixer options in UCM

2020-02-16 Thread Tanu Kaskinen
+ pulseaudio-discuss@lists.freedesktop.org On Sat, 2020-02-15 at 17:25 +0100, Jaroslav Kysela wrote: > Dne 15. 02. 20 v 7:29 Tanu Kaskinen napsal(a): > > What's the difference between PlaybackVolume, PlaybackMixerElem and > > PlaybackMasterElem? Other than the obv

Re: [pulseaudio-discuss] Custom codec with three channels

2020-01-19 Thread Tanu Kaskinen
On Wed, 2020-01-15 at 18:48 +0100, Matej Kupljen wrote: > Hi all, > > I have an custom embedded board with the i.MX6 SoC which has WM9712 > AC97 codec connected to it. This codec supports 3 channels and has 3 > DACs. Two 16 bit DACs for Left and Right channel and one 12 bit DAC > which can be

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

2020-01-16 Thread Tanu Kaskinen
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 take care of > > handling EINTR error. > > So, pa_read, pa_write, pa_iochannel_read and

Re: [pulseaudio-discuss] Bluetooth codec selection

2020-01-11 Thread Tanu Kaskinen
On Sun, 2020-01-12 at 09:21 +0200, Tanu Kaskinen wrote: > I'm trying to think this from the user's point of view. The proposed UI > seems to be that first the sub-profile is chosen (activated) and then > the codec parameters can be chosen. I meant "first the profile is chosen&quo

Re: [pulseaudio-discuss] Bluetooth codec selection

2020-01-11 Thread Tanu Kaskinen
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 my proposal > with usage of PA profiles for selecting A2DP codec. Because nobody for > last

Re: [pulseaudio-discuss] Software for switching/managing ports and profiles

2019-12-16 Thread Tanu Kaskinen
On Mon, 2019-12-09 at 11:17 +, Bob Ham wrote: > Hi there, > > I'm working on the Librem 5 phone and we need to be able to manage > PulseAudio ports and profiles, mapped from UCM devices and verbs. So > for example we need to switch from a Handset port to a SpeakerPhone port > when the

[pulseaudio-discuss] Freezing master for 14.0

2019-12-14 Thread Tanu Kaskinen
Hi all, It's time to focus on getting 14.0 released, so the master branch will be frozen on Sunday, December 22. Only release blocker bug fixes and translation updates will be accepted after that date. It's possible to convince the maintainers to accept also things that don't fall into those two

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

2019-12-14 Thread Tanu Kaskinen
On Wed, 2019-12-11 at 15:44 +0100, Pali Rohár wrote: > Hello! Some of these patches are already reviewed. Can you include these > patches into pulseaudio master git branch? You me this also on IRC, but at the moment you're not on the channel, so I'm responding here: Georg knows better which

Re: [pulseaudio-discuss] librem5 sound

2019-12-07 Thread Tanu Kaskinen
On Fri, 2019-12-06 at 08:51 -0700, Angus Ainslie wrote: > Thanks for the latency suggestions. We added those patches to pulseaudio > 12.2 and it's working well. > > https://source.puri.sm/Librem5/pulseaudio/commit/a5f36231979ea0d4c414a41450d0bc28e25cb817 > > Now I'm trying to map the correct

Re: [pulseaudio-discuss] Sound recording/routing issues on Librem5

2019-12-04 Thread Tanu Kaskinen
On Wed, 2019-12-04 at 11:47 -0700, Angus Ainslie wrote: > Hi Tanu, > > On 2019-12-02 08:49, Angus Ainslie wrote: > > Hi Tanu, > > > > On 2019-11-30 12:02, Tanu Kaskinen wrote: > > > On Thu, 2019-11-28 at 16:44 -0700, Angus Ainslie wrote: > > > >

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

2019-12-02 Thread Tanu Kaskinen
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 ML, so please > CC me when replying). > > > I would like to open a discussion about a completely new

Re: [pulseaudio-discuss] Sound recording/routing issues on Librem5

2019-12-02 Thread Tanu Kaskinen
On Mon, 2019-12-02 at 08:49 -0700, Angus Ainslie wrote: > > So this was a weird one. The modem and codec are fixed at a 48K sample > rate ( the codec can do other rates but the clocks are currently set for > 48k). On the devkit we added an alternate rate of 44.1K to deal with > call audio.

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

2019-12-02 Thread Tanu Kaskinen
On Mon, 2019-12-02 at 13:00 +0100, Pali Rohár wrote: > 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

Re: [pulseaudio-discuss] Sound recording/routing issues on Librem5

2019-11-30 Thread Tanu Kaskinen
On Thu, 2019-11-28 at 16:44 -0700, Angus Ainslie wrote: > Hi, > > On the librem5 phone I'm having problems getting the audio routed from > the modem to the codec. > > The modem source is displaying a couple of odd behaviours. Here are the > modem sources > > index: 0 > name: >

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

2019-10-31 Thread Tanu Kaskinen
On Mon, 2019-10-28 at 17:12 +0100, Hyperion wrote: > - Bluetooth packet size is not constant : BT traffic is splited in radio > slots > that have fixed time lengh : so for a given bandwidth : slots size vary It's still not clear to me whether the bluetooth packets have constant size within one

Re: [pulseaudio-discuss] PulseAudio is unable to detect correct profile on this system

2019-10-28 Thread Tanu Kaskinen
On Mon, 2019-10-28 at 06:51 +0330, Farhad Mohammadi Majd wrote: > On Sat, 2019-10-26 at 16:26 +0300, Tanu Kaskinen wrote: > > On Sat, 2019-10-26 at 07:57 +0330, Farhad Mohammadi Majd wrote: > > > Hello, I have reported this problem in 2017 August: > > > > >

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

2019-10-28 Thread 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 wrote: > > > On Saturday 19 October 2019 19:27:19 Tanu Kaskinen wrote: > > > > On Sat,

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

2019-10-28 Thread Tanu Kaskinen
On Sat, 2019-10-26 at 14:54 +0200, Pali Rohár wrote: > 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

Re: [pulseaudio-discuss] PulseAudio is unable to detect correct profile on this system

2019-10-26 Thread Tanu Kaskinen
On Sat, 2019-10-26 at 07:57 +0330, Farhad Mohammadi Majd wrote: > Hello, I have reported this problem in 2017 August: > > https://lists.freedesktop.org/archives/pulseaudio-discuss/2017-August/thread.html#28519 > > Mr. Tanu Kaskinen helped me by providing one way to fix it manual

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

2019-10-26 Thread Tanu Kaskinen
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 2019 19:07:44 Tanu Kaskinen wrote: > > > > On Sat, 2019-10-19 at

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

2019-10-19 Thread Tanu Kaskinen
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 2019 15:29:43 Tanu Kaskinen wrote: > > > > On Thu, 2019-10-17

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

2019-10-19 Thread Tanu Kaskinen
On Thu, 2019-10-17 at 15:45 +0300, Tanu Kaskinen wrote: > On Thu, 2019-10-17 at 12:06 +0200, Pali Rohár wrote: > > Hello! > > > > On Sunday 06 October 2019 19:58:32 Pali Rohár wrote: > > > Changes in v13: > > > * Do not use read smoother for A2DP sink whe

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

2019-10-19 Thread Tanu Kaskinen
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 that some devices can't connect anymore : this > > > won't happen

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

2019-10-19 Thread Tanu Kaskinen
: by default PA behaves like current version. > > > > And it doesn't rely on future Bluez features. > > > > Jp > > > > 14:29, 18 octobre 2019, "Tanu Kaskinen" : > > > On Thu, 2019-10-17 at 15:34 +0200, Hyperion wrote: > > > > R

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

2019-10-18 Thread Tanu Kaskinen
On Thu, 2019-10-17 at 15:34 +0200, Hyperion wrote: > Regression would mean that some devices can't connect anymore : this > won't happen if a workaround is provided, and this workaround won't > be used often. > > Most (99% ?) of the devices will work correctly with my patch (many > of them in XQ

Re: [pulseaudio-discuss] Pulseaudio system wide mode design

2019-10-17 Thread Tanu Kaskinen
On Thu, 2019-10-17 at 12:56 +0200, Pali Rohár wrote: > Hello, > > there are repeated problems related to fact that pulseaudio is running > under user session and every user spawns own pulseaudio process. > > Only one process can have exclusive access to specific ALSA card. > > Also only one

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

2019-10-17 Thread Tanu Kaskinen
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 profile is not going to be changed. It is there to support > > > all devices w

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

2019-10-17 Thread Tanu Kaskinen
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 are devices which do not work with higher SBC bitpool. So > increasing max value of bitpool

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

2019-10-17 Thread Tanu Kaskinen
On Thu, 2019-10-17 at 12:06 +0200, Pali Rohár wrote: > 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 > >

Re: [pulseaudio-discuss] Create a virtual microphone

2019-09-25 Thread Tanu Kaskinen
On Tue, 2019-09-24 at 10:04 -0500, Andres Santos wrote: > it does fail, > > root@localhost:~# pactl list sources > Connection failure: Connection refused > pa_context_connect() failed: Connection refused That indicates that PulseAudio is not running at all. On a headless server I would recommend

Re: [pulseaudio-discuss] Create a virtual microphone

2019-09-24 Thread Tanu Kaskinen
On Mon, 2019-09-23 at 12:57 -0500, Andres Santos wrote: > Hello everyone, > > I was wondering if with pulseaudio I could create a virtual microphone to > use, I have a hosted server which obviously doesnt have sound card, and I > would like to stream sound via network to the server and processing

Re: [pulseaudio-discuss] alsa-mixer-path-test fails on FreeBSD

2019-09-22 Thread Tanu Kaskinen
On Sun, 2019-09-22 at 10:48 -0400, Mikhail T. wrote: > Hello! > > Here is, what I just go trying to build (and test) pulseaudio on > FreeBSD-11.3/amd64 machine: > > FAIL: alsa-mixer-path-test > > >

Re: [pulseaudio-discuss] [ANNOUNCE] PulseAudio 13.0

2019-09-20 Thread Tanu Kaskinen
On Fri, 2019-09-13 at 17:36 +0300, Tanu Kaskinen wrote: > Excellent Friday evening, all! > > I'm not an expert on this, but isn't the number 13 special in some way, > and Friday the 13th as a date especially special? Didn't they have > something to do with luck? They're the univers

[pulseaudio-discuss] [ANNOUNCE] PulseAudio 13.0

2019-09-13 Thread Tanu Kaskinen
Excellent Friday evening, all! I'm not an expert on this, but isn't the number 13 special in some way, and Friday the 13th as a date especially special? Didn't they have something to do with luck? They're the universal lucky number and day, right? If I remember that correctly, then this is a very

Re: [pulseaudio-discuss] HDA HDMI audio PCM names

2019-08-28 Thread Tanu Kaskinen
On Tue, 2019-08-27 at 17:39 +0300, Kai Vehmanen wrote: > Hi all, > > we are considering removing the backup-PCM logic from snd_hda_intel > HDMI/DP audio driver (note: this is used for wide variety of HDA > controllers, not just Intel ones). See mail thread on alsa-devel: > >

Re: [pulseaudio-discuss] Rust binding licensing

2019-08-20 Thread Tanu Kaskinen
On Mon, 2019-08-19 at 22:15 +0100, jnq...@gmail.com wrote: > Hi, > > I don't know if you remember me, but I'm the author of the Rust binding > (https://github.com/jnqnfe/pulse-binding-rust) for PA. > > I am a little uncertain about licensing with regards to my binding, > specifically whether it

Re: [pulseaudio-discuss] Changing Volume on Streams ( not Sinks )

2019-07-30 Thread Tanu Kaskinen
On Mon, 2019-07-29 at 10:24 -0700, Brian Bulkowski wrote: > Thank you Georg! > > About 12 hours ago I figured it out too. > pa_context_set_sink_input_volume() is the function I was looking for, > and I was mistakenly using pa_context_set_sink_volume_by_index(), an > obvious flaw on my part. >

Re: [pulseaudio-discuss] [PATCH v12 00/13] Bluetooth A2DP codecs

2019-07-24 Thread Tanu Kaskinen
On Sun, 2019-07-21 at 17:07 +0200, Pali Rohár wrote: > On Thursday 18 July 2019 09:12:15 Tanu Kaskinen wrote: > > On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > > > Changes in v12: > > > * Renamed SBC UHQ to SBC XQ to match naming convention from > >

Re: [pulseaudio-discuss] [PATCH v12 00/13] Bluetooth A2DP codecs

2019-07-18 Thread Tanu Kaskinen
On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > Changes in v12: > * Renamed SBC UHQ to SBC XQ to match naming convention from > > http://soundexpert.org/articles/-/blogs/audio-quality-of-sbc-xq-bluetooth-audio-codec > * Throw error when PA receive fragmented SBC frame > * Log "Couldn't

Re: [pulseaudio-discuss] [PATCH v12 03/13] bluetooth: Fix usage of RTP structures in SBC codec

2019-07-18 Thread Tanu Kaskinen
On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > Rename struct rtp_payload to rtp_sbc_payload as it is specific for SBC > codec payload. > > Add proper checks for endianity in rtp.h header and use uint8_t type > where appropriated. > > Field frame_count is only 4 bit number, so add checks

Re: [pulseaudio-discuss] [PATCH v12 02/13] bluetooth: Change A2DP codec API of reset() method to indicate failure

2019-07-18 Thread Tanu Kaskinen
On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > /* Run from I/O thread */ > -static void setup_stream(struct userdata *u) { > +static bool setup_stream(struct userdata *u) { > struct pollfd *pollfd; > int one; > > /* return if stream is already set up */ > if

Re: [pulseaudio-discuss] [PATCH v12 02/13] bluetooth: Change A2DP codec API of reset() method to indicate failure

2019-07-17 Thread Tanu Kaskinen
On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > SBC codec reset() method may fail, so propagate this failure to caller. > --- > src/modules/bluetooth/a2dp-codec-api.h | 4 ++-- > src/modules/bluetooth/a2dp-codec-sbc.c | 5 +++-- > src/modules/bluetooth/module-bluez5-device.c

Re: [pulseaudio-discuss] [PATCH v2 7/8] sink: move the streams to the default_sink when the sink is unlinked

2019-07-15 Thread Tanu Kaskinen
On Mon, 2019-07-15 at 21:41 +0200, Georg Chini wrote: > On 15.07.19 14:40, Tanu Kaskinen wrote: > > As for what should be copied from module-rescue-streams to the core - > > the shutdown check is good, but I'm not sure anything else needs to be > > copied. If a sink

Re: [pulseaudio-discuss] [PATCH v2 4/8] core: move sink-inputs conditionally when update default_sink

2019-07-15 Thread Tanu Kaskinen
On Sat, 2019-07-13 at 11:31 +0200, Georg Chini wrote: > On 13.07.19 10:46, Georg Chini wrote: > > On 30.06.19 13:52, Georg Chini wrote: > > > On 17.01.19 07:53, Hui Wang wrote: > > > > When the default sink changes, the streams from the old default sink > > > > should be moved to the new default

Re: [pulseaudio-discuss] [PATCH v2 7/8] sink: move the streams to the default_sink when the sink is unlinked

2019-07-15 Thread Tanu Kaskinen
On Sat, 2019-07-13 at 11:03 +0200, Georg Chini wrote: > On 30.06.19 14:15, Georg Chini wrote: > > On 17.01.19 07:53, Hui Wang wrote: > > > When a sink is unlinked, all streams of this sink are moved to > > > default_sink, this action is implemented in the core rather than > > > modules now. > > >

Re: [pulseaudio-discuss] [PATCH v12 01/13] bluetooth: Fix usage of MTU, buffer sizes and return values of encode/decode methods

2019-07-13 Thread Tanu Kaskinen
On Fri, 2019-07-05 at 15:02 +0200, Pali Rohár wrote: > /* Run from IO thread */ > static int a2dp_write_buffer(struct userdata *u, size_t nbytes) { > int ret = 0; > > +if (PA_UNLIKELY(!nbytes)) { > +u->write_index += (uint64_t) u->write_memchunk.length; > +

Re: [pulseaudio-discuss] [PATCH v2 4/8] core: move sink-inputs conditionally when update default_sink

2019-07-13 Thread Tanu Kaskinen
On Fri, 2019-07-12 at 20:52 +0200, Georg Chini wrote: > On 12.07.19 13:13, Tanu Kaskinen wrote: > > On Wed, 2019-07-10 at 22:03 +0200, Georg Chini wrote: > > > On 10.07.19 16:03, Tanu Kaskinen wrote: > > > > On Fri, 2019-07-05 at 10:57 +0200, Georg Chini wrote: >

  1   2   3   4   5   6   7   8   9   10   >