Re: [pulseaudio-discuss] [PATCH 1/2] sink, source: Add a flag to inhibit suspend

2013-08-07 Thread Tanu Kaskinen
On Thu, 2013-08-08 at 12:09 +0530, Arun Raghavan wrote: > On Thu, 2013-08-08 at 09:07 +0300, Tanu Kaskinen wrote: > > On Thu, 2013-08-08 at 10:53 +0530, Arun Raghavan wrote: > > > This adds the ability to inhibit the suspending of a sink/source. Policy > > > modules may override this, but should av

Re: [pulseaudio-discuss] [PATCH 2/2] alsa-ucm: Use playback/capture rate specification from UCM

2013-08-07 Thread Tanu Kaskinen
On Wed, 2013-08-07 at 23:26 +0530, Arun Raghavan wrote: > Add new PlaybackRate/CaptureRate values for UCM that can be used to > specify custom rates for devices. This value can either be set on the > verb, which makes it apply to all devices, or on the device to override > the verb setting. > --- >

Re: [pulseaudio-discuss] [PATCH 1/2] sink, source: Add a flag to inhibit suspend

2013-08-07 Thread Arun Raghavan
On Thu, 2013-08-08 at 09:07 +0300, Tanu Kaskinen wrote: > On Thu, 2013-08-08 at 10:53 +0530, Arun Raghavan wrote: > > This adds the ability to inhibit the suspending of a sink/source. Policy > > modules may override this, but should avoid doing so if they can. > > --- > > src/pulse/def.h|

Re: [pulseaudio-discuss] [PATCH 1/2] alsa: Allow sample spec override in mappings

2013-08-07 Thread Arun Raghavan
On Thu, 2013-08-08 at 09:19 +0300, Tanu Kaskinen wrote: > On Wed, 2013-08-07 at 23:26 +0530, Arun Raghavan wrote: > > This allows mappings to override some or all of the sample_spec used to > > open the ALSA device. The intention, to start with, is to use this for > > devices in UCM that need to be

[pulseaudio-discuss] [PATCH 5/6] module-remap-sink: Add resample_method argument

2013-08-07 Thread Peter Meerwald
From: Peter Meerwald the main intent is to make testing different sample rate resampling implementations easier; so far there is only global control via resample-method (command line argument and /etc/pulse/daemon.conf) module-remap-*'s only purpose is resampling (comprising format conversion, c

[pulseaudio-discuss] [PATCH 6/6] module-remap-source: Add resample_method argument

2013-08-07 Thread Peter Meerwald
From: Peter Meerwald Signed-off-by: Peter Meerwald --- src/modules/module-remap-source.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/modules/module-remap-source.c b/src/modules/module-remap-source.c index 7c35085..5fa6465 100644 --- a/src/modules/module-remap-source.c +++

[pulseaudio-discuss] [PATCH 4/6] module-sine: Add rate argument

2013-08-07 Thread Peter Meerwald
From: Peter Meerwald useful for testing resampling Signed-off-by: Peter Meerwald --- src/modules/module-sine.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/modules/module-sine.c b/src/modules/module-sine.c index 573a7c0..6bf395e 100644 --- a/src/modules/module-sine.c +++ b/sr

[pulseaudio-discuss] resample_method argument for module-remap-*

2013-08-07 Thread Peter Meerwald
v2 of a patch serie to add resample_method to module-remap-* and a rate argument to module-sine + adding helper functions to modargs regards, p. ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/ma

[pulseaudio-discuss] [PATCH 3/6] modules: Make use of new function pa_modargs_get_sample_rate()

2013-08-07 Thread Peter Meerwald
Signed-off-by: Peter Meerwald --- src/modules/bluetooth/module-bluetooth-device.c | 3 +-- src/modules/module-sine-source.c| 2 +- src/pulsecore/modargs.c | 4 +--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/modules/bluetooth/module-

[pulseaudio-discuss] [PATCH 1/6] modargs: Add pa_modargs_get_resample_method()

2013-08-07 Thread Peter Meerwald
From: Peter Meerwald Signed-off-by: Peter Meerwald --- src/pulsecore/modargs.c | 18 ++ src/pulsecore/modargs.h | 4 2 files changed, 22 insertions(+) diff --git a/src/pulsecore/modargs.c b/src/pulsecore/modargs.c index 09ca9fc..7133906 100644 --- a/src/pulsecore/modargs.

[pulseaudio-discuss] [PATCH 2/6] modargs: Add pa_modargs_get_sample_rate()

2013-08-07 Thread Peter Meerwald
return sample rate from the "rate" module argument Signed-off-by: Peter Meerwald --- src/pulsecore/modargs.c | 11 +++ src/pulsecore/modargs.h | 3 +++ 2 files changed, 14 insertions(+) diff --git a/src/pulsecore/modargs.c b/src/pulsecore/modargs.c index 7133906..65bc669 100644 --- a/s

Re: [pulseaudio-discuss] [PATCH 1/2] alsa: Allow sample spec override in mappings

2013-08-07 Thread Tanu Kaskinen
On Wed, 2013-08-07 at 23:26 +0530, Arun Raghavan wrote: > This allows mappings to override some or all of the sample_spec used to > open the ALSA device. The intention, to start with, is to use this for > devices in UCM that need to be opened at a specific rate (like modem > devices). This can be e

Re: [pulseaudio-discuss] [PATCH 1/2] sink, source: Add a flag to inhibit suspend

2013-08-07 Thread Tanu Kaskinen
On Thu, 2013-08-08 at 10:53 +0530, Arun Raghavan wrote: > This adds the ability to inhibit the suspending of a sink/source. Policy > modules may override this, but should avoid doing so if they can. > --- > src/pulse/def.h| 6 ++ > src/pulsecore/sink.c | 3 +++ > src/pulsecore/source

[pulseaudio-discuss] [PATCH 2/2] alsa-ucm: Add mechanism to prevent auto-suspend of sources/sinks

2013-08-07 Thread Arun Raghavan
This is required for things like modem PCMs on phones that are essentially fake devices that need to be kept open for the correspnding route (modem -> CODEC) to remain active. --- src/modules/alsa/alsa-mixer.h | 3 +++ src/modules/alsa/alsa-sink.c | 2 +- src/modules/alsa/alsa-source.c | 4 +

[pulseaudio-discuss] UCM and modem PCMs (again)

2013-08-07 Thread Arun Raghavan
Hi folks, So we're at the point where we are (at least I am :p) being bitten by having to deal with always-open modem PCMs again. The tl;dr summary of the situation is: we're dealing with phones where you have to hold an ALSA device open to enable routing from the baseband chip to the CODEC, even

[pulseaudio-discuss] [PATCH 1/2] sink, source: Add a flag to inhibit suspend

2013-08-07 Thread Arun Raghavan
This adds the ability to inhibit the suspending of a sink/source. Policy modules may override this, but should avoid doing so if they can. --- src/pulse/def.h| 6 ++ src/pulsecore/sink.c | 3 +++ src/pulsecore/source.c | 3 +++ 3 files changed, 12 insertions(+) diff --git a/src/puls

[pulseaudio-discuss] [PATCH 2/2] alsa-ucm: Use playback/capture rate specification from UCM

2013-08-07 Thread Arun Raghavan
Add new PlaybackRate/CaptureRate values for UCM that can be used to specify custom rates for devices. This value can either be set on the verb, which makes it apply to all devices, or on the device to override the verb setting. --- src/modules/alsa/alsa-ucm.c | 29 +++-- sr

[pulseaudio-discuss] [PATCH 1/2] alsa: Allow sample spec override in mappings

2013-08-07 Thread Arun Raghavan
This allows mappings to override some or all of the sample_spec used to open the ALSA device. The intention, to start with, is to use this for devices in UCM that need to be opened at a specific rate (like modem devices). This can be extended to allow overrides in profile-sets as well. --- src/mod

Re: [pulseaudio-discuss] [PATCH 26/56] bluetooth: Create pa_bluetooth_transport for BlueZ 5 support

2013-08-07 Thread João Paulo Rechi Vita
On Wed, Aug 7, 2013 at 4:07 AM, Tanu Kaskinen wrote: > On Tue, 2013-08-06 at 20:08 -0300, João Paulo Rechi Vita wrote: >> On Mon, Jul 29, 2013 at 12:29 PM, Tanu Kaskinen >> wrote: >> > On Thu, 2013-07-25 at 00:31 -0300, João Paulo Rechi Vita wrote: >> >> On Jul 18, 2013 12:31 PM, "Tanu Kaskinen"

[pulseaudio-discuss] [PATCH] add module-tunnel-sink-new: experimental rewrite of module-tunnel using libpulse. Old module-tunnel shares duplicated functionality with libpulse because it is implementin

2013-08-07 Thread Alexander Couzens
Signed-off-by: Alexander Couzens --- src/Makefile.am | 6 + src/modules/module-tunnel-sink-new.c | 527 +++ 2 files changed, 533 insertions(+) create mode 100644 src/modules/module-tunnel-sink-new.c diff --git a/src/Makefile.am b/src/Makefi

[pulseaudio-discuss] [PATCH] v3 simplified version

2013-08-07 Thread Alexander Couzens
removed all volume control to have a simpler version upstream before adding more and more features. Alexander Couzens (1): add module-tunnel-sink-new: experimental rewrite of module-tunnel using libpulse. Old module-tunnel shares duplicated functionality with libpulse because it is i

Re: [pulseaudio-discuss] [PATCH 26/56] bluetooth: Create pa_bluetooth_transport for BlueZ 5 support

2013-08-07 Thread Tanu Kaskinen
On Tue, 2013-08-06 at 20:08 -0300, João Paulo Rechi Vita wrote: > On Mon, Jul 29, 2013 at 12:29 PM, Tanu Kaskinen > wrote: > > On Thu, 2013-07-25 at 00:31 -0300, João Paulo Rechi Vita wrote: > >> On Jul 18, 2013 12:31 PM, "Tanu Kaskinen" > >> wrote: > >> > > >> > On Fri, 2013-07-12 at 15:06 -0300

Re: [pulseaudio-discuss] RCF: Public API for managing nodes

2013-08-07 Thread Tanu Kaskinen
On Tue, 2013-08-06 at 15:21 -0500, Pierre-Louis Bossart wrote: > >> seems to me that > >> 'nodes' could also mean a change in audio profiles, eg the headset is > >> really an audio codec attribute and routing to the headset isn't > >> necessarily a change of routing within PulseAudio. > > > > The h