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

[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 wit

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

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 +- src/modu

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 ++

[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 --- PROTOCOL| 10 configure.ac|2 +- src/modules/module-tunnel.c | 91 +-- src/pulse/def.h

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 Henningsson --

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 > --- > > The protocol skew in Ubuntu 11.10 was actually a mistake o

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

[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 a/s

[pulseaudio-discuss] Bluetooth Audio Handling IRC Meeting

2011-10-18 Thread Daniel Wagner
Hi Everyone, [Sorry for cross posting but it might be interesting for someone on these mailing lists] I would like to invite to a IRC discussion on the HFP audio handling. Topic is to find a solution for the handling/routing of the audio streams (SCO link) in BlueZ, PulseAudio and oFono. - Curr

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 Pu

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

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 >

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Michał Sawicz
Dnia 2011-10-18, wto o godzinie 14:22 +0200, Rémi Denis-Courmont pisze: > So where in pavucontrol do I select the VIDEO source? Duh? As stated in my previous email - there isn't a video mixer. Yet. > > Even Skype does that now. > > The drop-downs in Skype's sound preferences only contain "Pulseaud

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 how

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 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 recording. > Not

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 sa

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 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 it selec

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 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 only want to r

Re: [pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Michał Sawicz
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 it select "a" sink monitor source? "It" as in "the application" should

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 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 only want to r

[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] [RFC PATCH] softvolume: implement fast volume translation

2011-10-18 Thread Wang Xingchao
2011/10/18 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 pa

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

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

2011-10-18 Thread Wang Xingchao
2011/10/18 Maarten Bosmans : >> 2011/10/18 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. > > I did some work to optimize svolume already, see my branch on github: > https://github.com

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] Screen casting with PulseAudio

2011-10-18 Thread Rémi Denis-Courmont
On Tue, 18 Oct 2011 12:55:13 +0200, Michał Sawicz wrote: > 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 feasib

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

[pulseaudio-discuss] Screen casting with PulseAudio

2011-10-18 Thread Rémi Denis-Courmont
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 how to record the correct source. In this case, the defau

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

2011-10-18 Thread Maarten Bosmans
> 2011/10/18 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. I did some work to optimize svolume already, see my branch on github: https://github.com/mkbosmans/pulseaudio/compare/master..

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 wit

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 : > if all channels have same volume setting, use fast way to > do volume c

[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 --- src/pulsecore/svolume_c.c | 70 + 1 files changed, 70 insertions(+), 0 deletions(-)

Re: [pulseaudio-discuss] PulseAudio support on Solaris

2011-10-18 Thread Maarten Bosmans
2011/10/17 Brian Cameron : > 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] [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 ++-- .../alsa/mixer/paths/ana

Re: [pulseaudio-discuss] [PATCH] alsa-card: Handle the "profile" modarg.

2011-10-18 Thread Tanu Kaskinen
On Mon, 2011-10-03 at 18:11 +0300, Kaskinen Tanu wrote: > --- > src/modules/alsa/module-alsa-card.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/src/modules/alsa/module-alsa-card.c > b/src/modules/alsa/module-alsa-card.c > index 6d1a5e1..a8d9c59 100644 > --- a

Re: [pulseaudio-discuss] Alternate sample rates

2011-10-18 Thread Wang Xingchao
2011/10/18 Arun Raghavan : > 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 information on my blog[2].