[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 --- I have not tested this patch yet, but there are people who already wanted bluez5 support so I'm sending my patch. If there are any problems

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

2016-09-11 Thread Pali Rohár
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 from a2dp to hsp profile based on number and types of source output (recording) streams. And also some people want to use their bluetooth headse

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

2016-09-11 Thread Tanu Kaskinen
On Sun, 2016-09-11 at 14:56 +0300, Tanu Kaskinen wrote: > On Sun, 2016-09-11 at 13:30 +0200, Pali Rohár wrote: > > > > On Sunday 11 September 2016 13:10:53 Ralph Benzinger wrote: > > > > > > Actually looking at "what is wrong with system mode?", all security > > > issues are moot for me, as I own

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

2016-09-11 Thread Tanu Kaskinen
On Sun, 2016-09-11 at 14:56 +0300, Tanu Kaskinen wrote: > On Sun, 2016-09-11 at 13:30 +0200, Pali Rohár wrote: > > I already suggested some pulseaudio cmdline switch or config option to > > enable shared memory data transport also for system wide mode. But do > > not know if some actions were tak

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

2016-09-11 Thread Tanu Kaskinen
On Sun, 2016-09-11 at 13:30 +0200, Pali Rohár wrote: > On Sunday 11 September 2016 13:10:53 Ralph Benzinger wrote: > > Actually looking at "what is wrong with system mode?", all security > > issues are moot for me, as I own all the users on the system.  But > > the point > > > > When in system

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

2016-09-11 Thread Pali Rohár
On Sunday 11 September 2016 13:10:53 Ralph Benzinger wrote: > Actually looking at "what is wrong with system mode?", all security > issues are moot for me, as I own all the users on the system. But > the point > > When in system mode, shared memory data transport is disabled for > securit

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

2016-09-11 Thread Ralph Benzinger
Thanks for the detailed explanations, Tanu! On September 11, you wrote: > I'd just use the system mode. There's not much of a difference between > a system daemon and a daemon that isn't technically running in the > system mode but accepts connections from multiple users. Well, I was staying away

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

2016-09-11 Thread Tanu Kaskinen
On Sun, 2016-09-11 at 12:19 +0200, Ralph Benzinger wrote: > Hello, > > I'm trying to configure PulseAudio on a fresh Kubuntu 16.04 install. > > When I'm logged into the desktop, I run a few other programs such > as browsers as different users. By default, those programs are not > allowed to acce

[pulseaudio-discuss] Multi user access to PulseAudio

2016-09-11 Thread Ralph Benzinger
Hello, I'm trying to configure PulseAudio on a fresh Kubuntu 16.04 install. When I'm logged into the desktop, I run a few other programs such as browsers as different users. By default, those programs are not allowed to access PulseAudio. How can I change that and enable multi user access to Pu

Re: [pulseaudio-discuss] How do I read my microphone's source levels from the cmdline?

2016-09-11 Thread Tanu Kaskinen
On Sun, 2016-09-11 at 12:32 +0300, Tanu Kaskinen wrote: > On Sun, 2016-09-11 at 15:31 +0800, Kai Hendry wrote: > > > > In pavucontrol I can see the levels of my microphone; > > http://s.natalian.org/2016-09-11/levels.mp4 > > > > That reading I hope is all I need for my noise monitoring system. >

Re: [pulseaudio-discuss] How do I read my microphone's source levels from the cmdline?

2016-09-11 Thread Tanu Kaskinen
On Sun, 2016-09-11 at 15:31 +0800, Kai Hendry wrote: > In pavucontrol I can see the levels of my microphone; > http://s.natalian.org/2016-09-11/levels.mp4 > > That reading I hope is all I need for my noise monitoring system. > > How do I get values of my levels from some cli tool like pamix or pa

[pulseaudio-discuss] How do I read my microphone's source levels from the cmdline?

2016-09-11 Thread Kai Hendry
Hi guys, In pavucontrol I can see the levels of my microphone; http://s.natalian.org/2016-09-11/levels.mp4 That reading I hope is all I need for my noise monitoring system. How do I get values of my levels from some cli tool like pamix or pactl? I know I could do this with gstreamer, but I fin