Re: [pulseaudio-discuss] RFC: Filter module loader

2011-04-21 Thread Colin Guthrie
'Twas brillig, and Tanu Kaskinen at 21/04/11 05:55 did gyre and gimble: On Fri, 2011-04-15 at 20:55 +0200, Colin Guthrie wrote: Also, I had to apply this patch to equalizer-sink to prevent it from crashing the server on unload: diff --git a/src/modules/module-equalizer-sink.c

Re: [pulseaudio-discuss] [PATCH] protocol-dbus: Fix some memory management bugs.

2011-04-21 Thread Colin Guthrie
'Twas brillig, and Tanu Kaskinen at 21/04/11 06:06 did gyre and gimble: There were several memory leaks. In addition to those, pa_dbus_protocol_add_interface() used a string from the caller as a key to a hashmap, instead of a copy of the string. This caused trouble when the caller freed the

[pulseaudio-discuss] [PATCH] stream-restore: simple fallback volume table

2011-04-21 Thread Tanu Kaskinen
From: Marc-André Lureau marcandre.lur...@gmail.com Comment from Tanu Kaskinen: I made a few tweaks, so blame me if the patch contains bugs. --- src/modules/module-stream-restore.c | 97 ++- 1 files changed, 95 insertions(+), 2 deletions(-) diff --git

Re: [pulseaudio-discuss] [PATCH] stream-restore: simple fallback volume table

2011-04-21 Thread Tanu Kaskinen
On Thu, 2011-04-21 at 14:31 +0300, Tanu Kaskinen wrote: From: Marc-André Lureau marcandre.lur...@gmail.com Comment from Tanu Kaskinen: I made a few tweaks, so blame me if the patch contains bugs. The commit message is a bit short... The purpose of this patch is to make it possible to

[pulseaudio-discuss] [PATCH] Alsa-plugins: Pulse: Fix snd_pcm_avail returning 0 in some cases

2011-04-21 Thread David Henningsson
Due to a round-off error, snd_pcm_avail could in some cases return 0 even though more data could be written to the stream. This was discovered by Maarten Lankhorst [1], and there is also a test program available that triggers this error [2]. [1]

Re: [pulseaudio-discuss] review+pull-request: Passthrough support

2011-04-21 Thread pl bossart
Somehow we need to find a way to set this AES0 byte when opening the iec958 or hdmi device in the passthrough code, and reset it back to 0x04 for PCM playback (should be fairly easy to do by looking at the code of iecset in alsa-utils). Beats me why this was not needed for plain ac3, but

Re: [pulseaudio-discuss] glib functions on PA

2011-04-21 Thread Margarita Olaya
Hi Tanu, On Thu, Apr 21, 2011 at 12:12 AM, Tanu Kaskinen ta...@iki.fi wrote: On Thu, 2011-04-21 at 10:13 +0530, Arun Raghavan wrote: On Wed, 2011-04-20 at 23:26 -0500, Margarita Olaya wrote: Hi, The initial implementation of  jack detection is using threads and simple file operations

Re: [pulseaudio-discuss] glib functions on PA

2011-04-21 Thread Margarita Olaya
On Thu, Apr 21, 2011 at 11:21 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Margarita Olaya at 21/04/11 17:16 did gyre and gimble: Hi Tanu, On Thu, Apr 21, 2011 at 12:12 AM, Tanu Kaskinen ta...@iki.fi wrote: On Thu, 2011-04-21 at 10:13 +0530, Arun Raghavan wrote: On Wed,

Re: [pulseaudio-discuss] review+pull-request: Passthrough support

2011-04-21 Thread pl bossart
Yes. The C bits are usually ignored by the receiver since a lot of sources don't configure them well. But it turns out that in this case setting the non-audio bit is a mandatory setting. I tried to implement this audio/non-audio switch by playing with ALSA controls, however there are a couple

[pulseaudio-discuss] how to set buffer attributes in 0.9.15

2011-04-21 Thread sohail abbasi
hi everyone, I am stuck in the pulseaudio programing, I am adding pulseaudio support in my existing application.Design of the application is synchronous and multithreaded. I need exactly 320 samples  (320*4 bytes) for reading and writing. While using pulseaudio 0.9.14 , below parameters works