[pulseaudio-discuss] [PATCH v3] filter-apply: Fixed a stream moves to wrong sink(or source).

2017-04-11 Thread KimJeongYeon
For example, a normal stream tried to attach to filter sink(or source), which filter loaded and managed by filter-apply. But, the stream become to attach to the ***master sink(or source)*** of filter module due to restoring operation. It seems should to be attached to the filter sink(or source) pro

Re: [pulseaudio-discuss] [PATCH] filter-apply: Fixed a stream moves to wrong sink(or source).

2017-04-11 Thread KimJeongYeon
2017-04-10 22:59 GMT+09:00 Georg Chini : > Thinking again, it looks that my suggestion also does not cover all cases. > When the > stream is moved away from the filter sink, it will have filter.apply set > which it did not > have initially. This is obviously wrong, so we need an additional propert

Re: [pulseaudio-discuss] [PATCH] filter-apply: Fixed a stream moves to wrong sink(or source).

2017-04-11 Thread Georg Chini
On 11.04.2017 15:48, KimJeongYeon wrote: 2017-04-10 22:59 GMT+09:00 Georg Chini : Thinking again, it looks that my suggestion also does not cover all cases. When the stream is moved away from the filter sink, it will have filter.apply set which it did not have initially. This is obviously wrong

Re: [pulseaudio-discuss] [PATCH 1/2] sink-input: Allow sink_input_set_rate() to be called during a move

2017-04-11 Thread Tanu Kaskinen
On Mon, 2017-04-10 at 22:13 +0200, Georg Chini wrote: > During a move sink_input->sink is not valid. This leads to a crash when > sink_input_set_rate() is called from the moving() callback. This patch > fixes the problem. > --- > src/pulsecore/sink-input.c | 7 ++- > 1 file changed, 6 insertio

Re: [pulseaudio-discuss] [PATCH 2/2] loopback: Reset sink input rate when source or sink changes

2017-04-11 Thread Tanu Kaskinen
On Mon, 2017-04-10 at 22:13 +0200, Georg Chini wrote: > If source or sink are changed, the current sink input rate may be different > from the default rate. Switch sink input rate back to default to avoid the > influence of the previous combination of source and sink. > --- > src/modules/module-lo

Re: [pulseaudio-discuss] [PATCH 2/2] loopback: Reset sink input rate when source or sink changes

2017-04-11 Thread Georg Chini
On 11.04.2017 21:43, Tanu Kaskinen wrote: On Mon, 2017-04-10 at 22:13 +0200, Georg Chini wrote: If source or sink are changed, the current sink input rate may be different from the default rate. Switch sink input rate back to default to avoid the influence of the previous combination of source a

Re: [pulseaudio-discuss] [PATCH] context: Check for errno == ECHILD instead of ESRCH after failed waitpid().

2017-04-11 Thread Tanu Kaskinen
On Sun, 2017-04-09 at 00:15 +0200, Imre Vadász wrote: > When the specified pid no longer exists as a child of the process (since > it was already reaped by the SIGCHLD handler), errno is set to ECHILD, not > to ESRCH. > --- > src/pulse/context.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion

[pulseaudio-discuss] [PATCH 2/2] sample.c: Allow module-loopback to exceed PA_RATE_MAX

2017-04-11 Thread Georg Chini
The rate set by module loopback may exceed PA_RATE_MAX by 1%, therefore allow rates higher than PA_RATE_MAX in pa_sample_rate_valid(). --- src/pulse/sample.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pulse/sample.c b/src/pulse/sample.c index cb042541..ff77985c 100

[pulseaudio-discuss] [PATCH 1/2] loopback: Implement underrun protection

2017-04-11 Thread Georg Chini
The latency controller will try to adjust to the configured latency regardless of underruns. If the configured latency is set too small, it will lead to periodically occuring underruns. Therefore an underrun protection is implemented which will increase the target latency if too many underruns are

[pulseaudio-discuss] Pulseaudio Sink and source allocator

2017-04-11 Thread ravikiran j
Hi all, I need a some information regarding the pulseaudio, Which module of pulseaudio is going to set the Sink and Source in hfp usage ? Regards, Ravikiran ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org https://lists.f