Re: [pulseaudio-discuss] GSoC Proposal: Configurable maximum volume for sinks and sources

2012-03-29 Thread Tanu Kaskinen
On Tue, 2012-03-27 at 19:16 +0200, Matěj Laitl wrote: Note, however, that there's another extra job that you'd preferably do before starting with the volume things (or at least before starting to extend the client API), which reduces the probability of running out of stuff to do. One of

[pulseaudio-discuss] [PATCH] pasuspender: Check pa_context_connect() return value.

2012-03-29 Thread Tanu Kaskinen
--- src/utils/pasuspender.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/utils/pasuspender.c b/src/utils/pasuspender.c index 0a60923..ac764d2 100644 --- a/src/utils/pasuspender.c +++ b/src/utils/pasuspender.c @@ -292,7 +292,11 @@ int main(int argc, char

[pulseaudio-discuss] [PATCH] Fix pa_parse_boolean() return value checking.

2012-03-29 Thread Tanu Kaskinen
pa_parse_boolean() return value shouldn't be stored in pa_bool_t, because 1 and -1 need to be distinguished. --- src/daemon/cmdline.c| 37 + src/pulsecore/cli-command.c |4 ++-- src/utils/pactl.c | 18 -- 3 files

Re: [pulseaudio-discuss] [PATCH] pasuspender: Check pa_context_connect() return value.

2012-03-29 Thread David Henningsson
On 03/29/2012 11:18 AM, Tanu Kaskinen wrote: --- src/utils/pasuspender.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/utils/pasuspender.c b/src/utils/pasuspender.c index 0a60923..ac764d2 100644 --- a/src/utils/pasuspender.c +++ b/src/utils/pasuspender.c @@

Re: [pulseaudio-discuss] [PATCH] use CLOCK_MONOTONIC_COARSE to reduce the system call

2012-03-29 Thread Pierre-Louis Bossart
On 3/29/2012 8:31 AM, Deng Zhenrong wrote: According to the description below: http://lkml.org/lkml/2009/7/17/258 There are two benefits: a) it doesn't need to access the hardware. b) avoid the syscall by using vdso clock_gettime(). The cons is the CLOCK_MONOTONIC_COARSE returns the

Re: [pulseaudio-discuss] [PATCH] use CLOCK_MONOTONIC_COARSE to reduce the system call

2012-03-29 Thread Arun Raghavan
Hi, On Thu, 2012-03-29 at 21:31 +0800, Deng Zhenrong wrote: According to the description below: http://lkml.org/lkml/2009/7/17/258 There are two benefits: a) it doesn't need to access the hardware. b) avoid the syscall by using vdso clock_gettime(). The cons is the