[pulseaudio-discuss] [PATCH] fix two warnings in utils/padsp.c

2011-10-18 Thread Lu Guanqun
CC libpulsedsp_la-padsp.lo utils/padsp.c:1524:5: warning: no previous prototype for '__open_2' [-Wmissing-prototypes] utils/padsp.c:2560:5: warning: no previous prototype for '__open64_2' [-Wmissing-prototypes] --- src/utils/padsp.c |3 +++ 1 files changed, 3 insertions(+), 0

Re: [pulseaudio-discuss] Alternate sample rates

2011-10-18 Thread Wang Xingchao
2011/10/18 Arun Raghavan arun.ragha...@collabora.co.uk: Hello, I just pushed a bunch of patches by Pierre Louis-Bossart to introduce an on-by-default alternate-sample-rate to configuration in addition to default-sample-rate. This was discussed earlier this year on list[1]. There's some more

[pulseaudio-discuss] [PATCH] alsa-mixer: Implement a new path option: mute-during-activation.

2011-10-18 Thread Tanu Kaskinen
--- src/modules/alsa/alsa-mixer.c | 23 +++- src/modules/alsa/alsa-mixer.h |3 +- src/modules/alsa/alsa-sink.c |6 ++-- src/modules/alsa/alsa-source.c |6 ++--

Re: [pulseaudio-discuss] PulseAudio support on Solaris

2011-10-18 Thread Maarten Bosmans
2011/10/17 Brian Cameron brian.came...@oracle.com: I found this issue when I try to build PA clients.  For example, when PulseAudio tries to build pactl, I see these errors.  I see similar errors trying to build any PA client: Undefined                       first referenced  symbol          

[pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Wang Xingchao
if all channels have same volume setting, use fast way to do volume change. this patch intended to work for two formats: s16ne/s16re. Signed-off-by: Wang Xingchao xingchao.w...@intel.com --- src/pulsecore/svolume_c.c | 70 + 1 files changed, 70

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Wang Xingchao
Hi all, I didnot touch much formats optermization, only for most used s16nr/re, please help review whether the idea is acceptable. If so, i will take the responsbility for all formats. --xingchao 2011/10/18 Wang Xingchao xingchao.w...@intel.com: if all channels have same volume setting, use

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Tanu Kaskinen
On Tue, 2011-10-18 at 12:24 +0300, Wang Xingchao wrote: Hi all, I didnot touch much formats optermization, only for most used s16nr/re, please help review whether the idea is acceptable. If so, i will take the responsbility for all formats. Have you measured the performance with and without

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Maarten Bosmans
2011/10/18 Wang Xingchao xingchao.w...@intel.com: if all channels have same volume setting, use fast way to do volume change. this patch intended to work for two formats: s16ne/s16re. I did some work to optimize svolume already, see my branch on github:

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Michał Sawicz
Dnia 2011-10-18, wto o godzinie 12:26 +0200, Rémi Denis-Courmont pisze: One regularly requested feature addition for VLC media player is the ability to record desktop audio in sync with screen capture. This is theoretically feasible with a PulseAudio sink monitor source. But but, I am a it

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Michał Sawicz
Dnia 2011-10-18, wto o godzinie 13:33 +0200, Rémi Denis-Courmont pisze: Eh? The user doing the recording typically wants to hear the sound while recording. So I don't see what null sink has to do here. As long as you only want to record your speakers, then just record the monitor of the output

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Wang Xingchao
2011/10/18 Maarten Bosmans mkbosm...@gmail.com: 2011/10/18 Wang Xingchao xingchao.w...@intel.com: if all channels have same volume setting, use fast way to do volume change. this patch intended to work for two formats: s16ne/s16re. I did some work to optimize svolume already, see my branch

Re: [pulseaudio-discuss] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Tanu Kaskinen
On Tue, 2011-10-18 at 14:49 +0300, Wang Xingchao wrote: Tanu, i've not done much performance test, do you have some tools for svolume test? All suggestions are appreciated. No, I don't know any particular tools. I was asking just because I don't think the patches can be merged before there is

[pulseaudio-discuss] New hook for card profile changes

2011-10-18 Thread Tanu Kaskinen
Hi, I'm writing a new module that needs to run some code before the profiles of a certain alsa card are activated. For this I need a new hook in the core: PA_CORE_HOOK_CARD_PROFILE_ABOUT_TO_ACTIVATE or something like that. Will such hook be accepted in upstream even if the module is not merged in

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Rémi Denis-Courmont
On Tue, 18 Oct 2011 13:38:39 +0200, Michał Sawicz mic...@sawicz.net wrote: Dnia 2011-10-18, wto o godzinie 13:33 +0200, Rémi Denis-Courmont pisze: Eh? The user doing the recording typically wants to hear the sound while recording. So I don't see what null sink has to do here. As long as you

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Rémi Denis-Courmont
On Tue, 18 Oct 2011 14:15:13 +0200, Michał Sawicz mic...@sawicz.net wrote: Dnia 2011-10-18, wto o godzinie 14:03 +0200, Rémi Denis-Courmont pisze: If the user has selected I want to record (or stream) my desktop, how does the application get hold of the desktop audio? In other words how should

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Michał Sawicz
Dnia 2011-10-18, wto o godzinie 14:19 +0200, Rémi Denis-Courmont pisze: --8-- Video applications need to provide a choice of video sources (webcams, desktop capture...). For this, there is no video mixer applications. In terms of usability, I would expect to choose the audio source at the same

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Rémi Denis-Courmont
On Tue, 18 Oct 2011 15:05:31 +0200, Michał Sawicz mic...@sawicz.net wrote: The volume control tool would have two problems: - It only works after the record stream is started, so that the source output exists. For recording purpose, you'd want to select the source before you start the

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread David Henningsson
On 10/18/2011 12:26 PM, Rémi Denis-Courmont wrote: Hello, One regularly requested feature addition for VLC media player is the ability to record desktop audio in sync with screen capture. This is theoretically feasible with a PulseAudio sink monitor source. But but, I am a it puzzled as

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Michał Sawicz
Dnia 2011-10-18, wto o godzinie 15:31 +0200, Rémi Denis-Courmont pisze: Not true. If you select the fallback recording stream before you start recording, that's what VLC will get as the source. Also, if you select a source for VLC, it will stick thanks to module-*-restore, so after setting

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Rémi Denis-Courmont
Le mardi 18 octobre 2011 16:35:59 David Henningsson, vous avez écrit : Btw, as for recording microphone, that does seem adequate to me, e g if somebody records things like Now look what happens when I press this button. Fair enough, but a PulseAudio client cannot cleanly ask PulseAudio to mix

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread David Henningsson
On 10/18/2011 04:06 PM, Rémi Denis-Courmont wrote: Le mardi 18 octobre 2011 16:35:59 David Henningsson, vous avez écrit : Btw, as for recording microphone, that does seem adequate to me, e g if somebody records things like Now look what happens when I press this button. Fair enough, but a

[pulseaudio-discuss] [PATCH] core: New hook: PA_CORE_HOOK_CARD_PROFILE_ABOUT_TO_ACTIVATE.

2011-10-18 Thread Tanu Kaskinen
The hook users probably want access to the card object as well, so a pa_card pointer was added to pa_card_profile. --- src/pulsecore/card.c | 17 + src/pulsecore/card.h |6 ++ src/pulsecore/core.h |1 + 3 files changed, 20 insertions(+), 4 deletions(-) diff --git

Re: [pulseaudio-discuss] Alternate sample rates

2011-10-18 Thread Pierre-Louis Bossart
Very Cool feature! Why not change sample_spec totally according to sink's availability, but only sample rate? The default sample_spec used at initialization, if alsa driver supports various formats/rates, PA could change sink's sample_spec in order to fit sink-input's request. Is there any

Re: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24.

2011-10-18 Thread Tanu Kaskinen
Hi, Looks quite good to me. Some review comments below. On Wed, 2011-10-12 at 12:40 +0200, David Henningsson wrote: Note: There is still no notification when status availability changes. Signed-off-by: David Henningsson david.hennings...@canonical.com --- The protocol skew in Ubuntu

Re: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24.

2011-10-18 Thread David Henningsson
On 10/18/2011 07:16 PM, Tanu Kaskinen wrote: Hi, Looks quite good to me. Some review comments below. Thanks for the review. On Wed, 2011-10-12 at 12:40 +0200, David Henningsson wrote: Note: There is still no notification when status availability changes. Signed-off-by: David

[pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24.

2011-10-18 Thread David Henningsson
Note: There is still no notification when status availability changes. Signed-off-by: David Henningsson david.hennings...@canonical.com --- PROTOCOL| 10 configure.ac|2 +- src/modules/module-tunnel.c | 91

Re: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24.

2011-10-18 Thread Pierre-Louis Bossart
Subject: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24. --- PROTOCOL| 10 configure.ac|2 +- src/modules/module-tunnel.c | 91

Re: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24.

2011-10-18 Thread David Henningsson
On 10/18/2011 10:44 PM, Pierre-Louis Bossart wrote: Subject: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24. --- PROTOCOL| 10 configure.ac|2 +-

Re: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24.

2011-10-18 Thread Pierre-Louis Bossart
Did you miss my previous explanation, or did you find it insufficient? I'm repeating it below: The protocol skew in Ubuntu 11.10 was actually a mistake on my part. Since the UI changes that would depend on this information being available was backed out, I probably should have backed the

[pulseaudio-discuss] Pulse and audio settings

2011-10-18 Thread Robert Orzanna
Hello, With the new version of pulse (1.0-4) I hoped that pulse will somehow take care of my alsa settings which still is not the case. All settings, for example set with alsamixer, are discarded after reboot. Now I wonder what's the best way to define some settings such as mic and PCM level

Re: [pulseaudio-discuss] [PATCH] Introduce available concept for ports, and communicate that to clients. Bump protocol version to 24.

2011-10-18 Thread David Henningsson
On 10/19/2011 12:11 AM, Pierre-Louis Bossart wrote: Did you miss my previous explanation, or did you find it insufficient? I'm repeating it below: The protocol skew in Ubuntu 11.10 was actually a mistake on my part. Since the UI changes that would depend on this information being available was