Re: [pulseaudio-discuss] pulseaudio xbmc passthrough success

2011-03-04 Thread Colin Guthrie
'Twas brillig, and Kelly Anderson at 03/03/11 22:04 did gyre and gimble: Forgot to mention. I'm getting Hi-def video/audio and only using 8% cpu. That's just awesome. Vdpau is handling the video decode. Very nice :) Looking forward to getting this setup on my system :) Col -- Colin

Re: [pulseaudio-discuss] Configuring PulseAudio to use ALSA PCM plugin

2011-03-04 Thread Colin Guthrie
'Twas brillig, and Ben C at 03/03/11 19:39 did gyre and gimble: On Wed, 2011-03-02 at 18:16 -0800, Ben C wrote: Hello, I'm trying to configure PulseAudio to use an ALSA PCM plugin in the audio chain. PulseAudio as been configured with: load-module module-alsa-sink device=my_sink And

Re: [pulseaudio-discuss] Problem in running locally compiled pulse utility programs

2011-03-04 Thread Maarten Bosmans
2011/3/4 ssrk ssrk...@gmail.com: Hi, I run Ubuntu 9.10, which by default has pulseaudio and utilities like pactl, pacmd. I downloaded pulseaudio source tarball http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-0.9.22.tar.gz and extracted it, ran configure script, compiled it and

Re: [pulseaudio-discuss] Problem in running locally compiled pulse utility programs

2011-03-04 Thread ssrk
Hi Maarten, Thanks for that reply. Right on the money. You can only use that utility against the pulseaudio daemon of the same version. My PC runs pulseaudio-0.9.19 So now I downloaded pulseaudio-0.9.19, compiled it and tried running pactl, the same problem again. -- Regards, ssrk

Re: [pulseaudio-discuss] Problem in running locally compiled pulse utility programs

2011-03-04 Thread Colin Guthrie
'Twas brillig, and ssrk at 04/03/11 07:17 did gyre and gimble: Hi, I run Ubuntu 9.10, which by default has pulseaudio and utilities like pactl, pacmd. I downloaded pulseaudio source tarball http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-0.9.22.tar.gz and extracted it, ran

Re: [pulseaudio-discuss] unused check_required function in modules/alsa/alsa-mixer.c

2011-03-04 Thread Colin Guthrie
'Twas brillig, and David Henningsson at 04/03/11 00:05 did gyre and gimble: On 2011-03-03 17:54, Maarten Bosmans wrote: I intended to catch diwic on IRC, but didn't see him the last couple of days, so in order not to forget, here is my question to the list. In this commit some stuff got

Re: [pulseaudio-discuss] [RFC] Alsa UCM integration.

2011-03-04 Thread Liam Girdwood
On Fri, 2011-03-04 at 08:37 +0200, Tanu Kaskinen wrote: On Tue, 2011-03-01 at 15:20 +, Liam Girdwood wrote: UCM supports between 0..n active devices per verb. e.g. it is possible to enable both the headphone device and speaker device at the same time. Right, I missed this. But

[pulseaudio-discuss] [PATCH] bluetooth: Allow frame length changes when decoding a2dp

2011-03-04 Thread Maarten Lankhorst
My android phone sends packets with a different frame length than the decoder initially expects, since libsbc already allows this case, just check the current frame length. --- From d98ec65d36fad5e523703350485d323926e82bb6 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst m.b.lankho...@gmail.com

[pulseaudio-discuss] [PATCH] bluetooth: Do not stop decoding because of a crc error

2011-03-04 Thread Maarten Lankhorst
--- Letting my phone play music all night I noticed it was gone in the morning because a crc error occurred. I don't think it should be as fatal as it currently is, so just try our luck again on next frame instead of stopping decode entirely. From 0d3062e988c9a4f01b5bf38a48a90a685cf97078 Mon

Re: [pulseaudio-discuss] unused check_required function in modules/alsa/alsa-mixer.c

2011-03-04 Thread Colin Guthrie
'Twas brillig, and Colin Guthrie at 04/03/11 10:04 did gyre and gimble: Can anyone else spot something dumb on my part before I report this upstream? It could be a very serious problem. Just FYI, I submitted upstream after Arun confirmed the problem on his system:

[pulseaudio-discuss] [PATCH 0/7] Working around bad decibel information

2011-03-04 Thread Tanu Kaskinen
Here's a pile of patches. The first two implement the concept of decibel fixes for alsa devices. A decibel fix is basically a table that maps the raw volume steps of a mixer element to manually configured decibel values. The rest of the patches are random fixes that have piled up while testing

[pulseaudio-discuss] [PATCH 1/7] alsa-mixer: Add DecibelFix section to the profile set config file format.

2011-03-04 Thread Tanu Kaskinen
From: Tanu Kaskinen ext-tanu.kaski...@nokia.com This commit only implements the parser, the decibel fix data is not yet used for anything. --- src/modules/alsa/alsa-mixer.c| 223 +- src/modules/alsa/alsa-mixer.h| 19 ++

[pulseaudio-discuss] [PATCH 2/7] alsa-mixer: Use decibel fixes when getting and setting decibel volumes.

2011-03-04 Thread Tanu Kaskinen
From: Tanu Kaskinen ext-tanu.kaski...@nokia.com --- src/modules/alsa/alsa-mixer.c | 263 src/modules/alsa/alsa-mixer.h |8 +- 2 files changed, 215 insertions(+), 56 deletions(-) diff --git a/src/modules/alsa/alsa-mixer.c

[pulseaudio-discuss] [PATCH 3/7] pacat: Fix memory leak when draining the context.

2011-03-04 Thread Tanu Kaskinen
--- src/utils/pacat.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/utils/pacat.c b/src/utils/pacat.c index 6cd01d2..749593e 100644 --- a/src/utils/pacat.c +++ b/src/utils/pacat.c @@ -105,6 +105,7 @@ static void context_drain_complete(pa_context*c, void

[pulseaudio-discuss] [PATCH 4/7] alsa-mixer: Add a default case for a switch, so that the compiler won't complain about unhandled cases.

2011-03-04 Thread Tanu Kaskinen
--- src/modules/alsa/alsa-mixer.c | 32 +--- 1 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c index f71dfc3..6fbd560 100644 --- a/src/modules/alsa/alsa-mixer.c +++

[pulseaudio-discuss] [PATCH 5/7] alsa-card: Print the profile set configuration when loading the card.

2011-03-04 Thread Tanu Kaskinen
--- src/modules/alsa/module-alsa-card.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/modules/alsa/module-alsa-card.c b/src/modules/alsa/module-alsa-card.c index 3f8576d..43340ae 100644 --- a/src/modules/alsa/module-alsa-card.c +++

[pulseaudio-discuss] [PATCH 6/7] dbusiface-stream: Fix crash when there's no resampling used.

2011-03-04 Thread Tanu Kaskinen
--- src/modules/dbus/iface-stream.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/modules/dbus/iface-stream.c b/src/modules/dbus/iface-stream.c index a9eb373..6b46fa9 100644 --- a/src/modules/dbus/iface-stream.c +++ b/src/modules/dbus/iface-stream.c @@ -490,6

[pulseaudio-discuss] [PATCH 7/7] dbus: Always accept mono volumes when setting device or stream volume.

2011-03-04 Thread Tanu Kaskinen
pa_sink_set_volume() and friends accept mono volumes too, so no need to impose unneeded restrictions in the D-Bus API. --- src/modules/dbus/iface-device.c |9 - src/modules/dbus/iface-stream.c |9 - 2 files changed, 8 insertions(+), 10 deletions(-) diff --git

Re: [pulseaudio-discuss] [PATCH 2/7] alsa-mixer: Use decibel fixes when getting and setting decibel volumes.

2011-03-04 Thread Tanu Kaskinen
On Fri, 2011-03-04 at 17:42 +0200, Tanu Kaskinen wrote: +pa_log(decibel_fix_get_step(): searching for the closest step of %0.2f dB, rounding %s, *db_value / 100.0, (rounding 0) ? up : down); +pa_log(decibel_fix_get_step(): selected step %li (%0.2f dB), i + db_fix-min_step,

Re: [pulseaudio-discuss] Configuring PulseAudio to use ALSA PCM plugin

2011-03-04 Thread Ben C
Thank you for your help Colin, The reason I'm doing this is I'm researching audio processing effects. So I need to intercept the PCM audio stream somewhere along the chain. Currently what we have already coded is an ALSA PCM plugin framework, so we would like to use that to intercept the PCM

[pulseaudio-discuss] Nvidia hdmi passthrough patch

2011-03-04 Thread Kelly Anderson
Hey, Here's a patch that I created for git that adds passthrough support for the Nvidia hdmi port. Pretty much just copy/paste from the iec958 sections. --- ./src/modules/alsa/alsa-sink.c.orig2011-02-16 22:58:11.0 -0700 +++ ./src/modules/alsa/alsa-sink.c2011-02-17

Re: [pulseaudio-discuss] Nvidia hdmi passthrough patch

2011-03-04 Thread Paul Menzel
Dear Kelly, Am Freitag, den 04.03.2011, 14:50 -0700 schrieb Kelly Anderson: Here's a patch that I created for git that adds passthrough support for the Nvidia hdmi port. Pretty much just copy/paste from the iec958 sections. --- ./src/modules/alsa/alsa-sink.c.orig2011-02-16

[pulseaudio-discuss] Volume algorithm

2011-03-04 Thread Tarantism
I need to implement a volume scaling in a pulse module. I have 0-100 input values. What algorithm does pulse usually implement for this so that I can match it? ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de

Re: [pulseaudio-discuss] [PATCH] bluetooth: Allow frame length changes when decoding a2dp

2011-03-04 Thread Luiz Augusto von Dentz
Hi, On Fri, Mar 4, 2011 at 10:48 AM, Maarten Lankhorst m.b.lankho...@gmail.com wrote: My android phone sends packets with a different frame length than the decoder initially expects, since libsbc already allows this case, just check the current frame length. I believe Ive send you a patch to

Re: [pulseaudio-discuss] [PATCH] bluetooth: Allow frame length changes when decoding a2dp

2011-03-04 Thread Maarten Lankhorst
Hey Luiz, Op 05-03-11 00:24, Luiz Augusto von Dentz schreef: Hi, On Fri, Mar 4, 2011 at 10:48 AM, Maarten Lankhorst m.b.lankho...@gmail.com wrote: My android phone sends packets with a different frame length than the decoder initially expects, since libsbc already allows this case, just check

[pulseaudio-discuss] Nvidia hdmi passthrough

2011-03-04 Thread Kelly Anderson
diff --git a/src/Makefile.am b/src/Makefile.am index 24e2f82..bb501fb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1131,7 +1131,9 @@ dist_alsapaths_DATA = \ modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \

Re: [pulseaudio-discuss] Nvidia hdmi passthrough

2011-03-04 Thread Kelly Anderson
I finally got git send-email to work. Had to change my sendmail config. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss