[pulseaudio-discuss] [PATCH] alsa-card: fix null dereference

2018-05-24 Thread Tanu Kaskinen
jack->melem can be null if the jack disappears between probing the card and the init_jacks() call. I don't know if jacks actually ever disappear like that (seems unlikely), but this check is in any case needed as long as init_jacks() has proper handling for the jack disappearing case (rather than

[pulseaudio-discuss] [PATCH v2] udev-detect, alsa-card: Adopt avoid resampling option from daemon.conf

2018-05-24 Thread Sangchul Lee
Previously, the "avoid-resampling" option of daemon.conf is to make the daemon try to use the stream sample rate if possible for all sinks or sources. This patch applies this option to module-udev-detect and module-alsa-card as a module argument in order to override the default value of

Re: [pulseaudio-discuss] How to prevent certain applications from changing recording volume?

2018-05-24 Thread Arun Raghavan
On Wed, 23 May 2018, at 8:59 PM, Tanu Kaskinen wrote: > On Wed, 2018-05-23 at 16:48 +0200, Sven-Hendrik Haase wrote: > > It changes the device volume. I often have to use web-based conference > > tools and apparently browsers like auto adjusting the microphone gain. > > However, this annoys as

Re: [pulseaudio-discuss] Detecting success/error in cli protocol?

2018-05-24 Thread Tomaž Šolc
On 23. 05. 2018 16:42, Tanu Kaskinen wrote: On Thu, 2018-05-17 at 08:28 +0200, Tomaž Šolc wrote: Does anyone have any thoughts on how proper error handling could be implemented in the cli interface? I would be happy to work on a patch to fix this. Getting an error message from the "play-file"