Re: [pulseaudio-discuss] [PATCH] core: Provide a replacement for scandir on Win32

2017-08-04 Thread Tanu Kaskinen
On Fri, 2017-08-04 at 15:05 +0200, Vadim Troshchinskiy wrote: > В письме от четверг, 3 августа 2017 г. 11:08:44 CEST пользователь Tanu > Kaskinen написал: > > Thanks for the patch! It would be good to get this in the upcoming > > release. Some complaints below. > > Hello, I have made the fixes, a

[pulseaudio-discuss] [PATCH 1/3] protocol-native: add message sending capability

2017-08-04 Thread Georg Chini
This patch adds the PA_COMMAND_SEND_OBJECT_MESSAGE command to protocol-native so that clients can use the messaging feature introduced in patch "core: add generic message interface". Sending messages can in effect replace the extension system for modules. The approach is more flexible than the ext

[pulseaudio-discuss] [PATCH 3/3] core: add message handler

2017-08-04 Thread Georg Chini
This patch adds a small message handler to the core which enables clients to list available handlers via the list-handlers message. Command: pacmd send-message /core list-handlers pactl can be used with the same parameters. With list-all-handlers private handlers will also be listed. --- src/pulse

[pulseaudio-discuss] [PATCH 2/3] pactl, pacmd, cli-command: Add send-message command

2017-08-04 Thread Georg Chini
--- man/pactl.1.xml.in | 6 ++ man/pulse-cli-syntax.5.xml.in| 6 ++ shell-completion/bash/pulseaudio | 4 ++-- shell-completion/zsh/_pulseaudio | 2 ++ src/pulsecore/cli-command.c | 44 src/utils/pacmd.c|

[pulseaudio-discuss] [PATCH 1/3] core: add generic message interface

2017-08-04 Thread Georg Chini
This patch adds a new feature to the core which allows to exchange messages between objects. An object can register/unregister a message handler with pa_core_message_handler_{register, unregister}() while any other object can send a message to the handler using the pa_core_send_message() function.

[pulseaudio-discuss] [PATCH 3/3] pactl: Add signal receiver

2017-08-04 Thread Georg Chini
--- man/pactl.1.xml.in | 5 + shell-completion/bash/pulseaudio | 3 ++- shell-completion/zsh/_pulseaudio | 1 + src/utils/pactl.c| 25 - 4 files changed, 32 insertions(+), 2 deletions(-) diff --git a/man/pactl.1.xml.in b/man/pactl.1.xml

[pulseaudio-discuss] [PATCH 2/3] protocol-native: Add signal receiving capability

2017-08-04 Thread Georg Chini
This patch extends the client subscription API, so that signals sent from PulseAudio can be processed. Within PulseAudio, a signal can be emitted using pa_signal_post(). The interface can be used to notify the client of events that are not covered by the subscription API (for example a button press

Re: [pulseaudio-discuss] [PATCH 2/2] loopback: Track and use average adjust time

2017-08-04 Thread Tanu Kaskinen
On Mon, 2017-04-17 at 21:37 +0200, Georg Chini wrote: > @@ -327,11 +335,20 @@ static void adjust_rates(struct userdata *u) { > } > > /* Allow one underrun per hour */ > -if (u->iteration_counter * u->adjust_time / PA_USEC_PER_SEC / 3600 > > run_hours) { > +if (u->iteration_coun

Re: [pulseaudio-discuss] [PATCH] core: Provide a replacement for scandir on Win32

2017-08-04 Thread Vadim Troshchinskiy
В письме от четверг, 3 августа 2017 г. 11:08:44 CEST пользователь Tanu Kaskinen написал: > Thanks for the patch! It would be good to get this in the upcoming > release. Some complaints below. Hello, I have made the fixes, and also fixed a few warnings. --- src/pulsecore/conf-parser.c | 42 +++

[pulseaudio-discuss] internal speaker silent in Asus eee netbook (patch)

2017-08-04 Thread Guenter Milde
Dear PulseAudio developers, after updating my Asus eee netbook from Debian 8 to Debian 9, the internal speaker fell silent. System: Debian, pulseaudio 10.0 Audio Device: Intel NM10/ICH7 Diagnosis: headphones work speaker: no sound despite signal shown in pavucontrol Note:

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: set PCM Capture Source for iec958 input

2017-08-04 Thread Tanu Kaskinen
On Fri, 2017-08-04 at 15:18 +0530, Arun Raghavan wrote: > On Fri, 4 Aug 2017, at 01:51 PM, Tanu Kaskinen wrote: > > It was reported that on a certain USB card, identified as > > "0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device", > > the "PCM Capture Source" element had to be set to "IEC

Re: [pulseaudio-discuss] [PATCH] alsa-mixer: set PCM Capture Source for iec958 input

2017-08-04 Thread Arun Raghavan
On Fri, 4 Aug 2017, at 01:51 PM, Tanu Kaskinen wrote: > It was reported that on a certain USB card, identified as > "0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device", > the "PCM Capture Source" element had to be set to "IEC958 In" before > the iec958 input would work. > > The iec958-st

[pulseaudio-discuss] [PATCH] alsa-mixer: set PCM Capture Source for iec958 input

2017-08-04 Thread Tanu Kaskinen
It was reported that on a certain USB card, identified as "0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device", the "PCM Capture Source" element had to be set to "IEC958 In" before the iec958 input would work. The iec958-stereo-input.conf file didn't exist before, although the path was re