Re: [pulseaudio-discuss] regression in pacat

2010-02-17 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 17/02/10 02:36 did gyre and gimble: On Thu, 11.02.10 23:34, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Colin Guthrie at 11/02/10 22:52 did gyre and gimble: 'Twas brillig, and pl bossart at 11/02/10 21:41 did gyre and gimble: Hi

Re: [pulseaudio-discuss] RFC stream-restore save_sink|source flag reset more musings on device selection.

2010-02-17 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 17/02/10 02:28 did gyre and gimble: I'd advise to not fire the subscription event here, unless an existing module really needs this. (Though generally I am tempted to say that modules that care about save_sink and the routing stuff should use synchrnous

Re: [pulseaudio-discuss] Automatically change 'Default device'?

2010-02-17 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 17/02/10 02:13 did gyre and gimble: On Mon, 15.02.10 17:13, Ng Oon-Ee (ngoo...@gmail.com) wrote: Wait no longer! http://colin.guthr.ie/2010/02/this-is-the-route-to-hell/ Col A nice read Colin, thanks. /me also wonders whether all these 'restore'

Re: [pulseaudio-discuss] regression in pacat

2010-02-17 Thread Mads Kiilerich
On 02/17/2010 09:45 AM, Colin Guthrie wrote: 'Twas brillig, and Lennart Poettering at 17/02/10 02:36 did gyre and gimble: On Thu, 11.02.10 23:34, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Colin Guthrie at 11/02/10 22:52 did gyre and gimble: 'Twas brillig, and pl bossart

Re: [pulseaudio-discuss] Automatically change 'Default device'?

2010-02-17 Thread Lennart Poettering
On Wed, 17.02.10 09:26, Colin Guthrie (gm...@colin.guthr.ie) wrote: 4) The UI would allow the user to fix any setting the system chose and the system will then remember as good as possible. So intended roles should slot in here? After we've tried to find the right device for the stream

Re: [pulseaudio-discuss] [PATCH] new virtual-sink and virtual-source modules

2010-02-17 Thread Lennart Poettering
On Tue, 16.02.10 22:19, pl bossart (bossart.nos...@gmail.com) wrote: What I am now looking at is a way to handle sinks and sources in a more optimized manner for low-latency speech calls: it doesn't make any sense power-wise to handle uplink and downlink paths in completely separate threads

Re: [pulseaudio-discuss] playback latency information

2010-02-17 Thread Lennart Poettering
On Fri, 22.01.10 15:26, pl bossart (bossart.nos...@gmail.com) wrote: This is probably a question for Lennart... I am somewhat confused on how the playback latency should be estimated. I was under the impression that pa_stream_get_latency() was the way to go, but I came across some code in

Re: [pulseaudio-discuss] [SOLVED] Re: No sound output after upgrade

2010-02-17 Thread Lennart Poettering
On Sun, 24.01.10 22:03, David Björkevik (da...@bjorkevik.se) wrote: --- a 2010-01-24 20:53:23.288259727 +0100 +++ b 2010-01-24 20:53:15.762260385 +0100 @@ -147,20 +147,20 @@ Simple mixer control 'Multi Track Peak',0 Capabilities: volume penum Playback channels: Front Left - Front

Re: [pulseaudio-discuss] regression in pacat

2010-02-17 Thread pl bossart
Actually I had I really wanted to write what I wrote. i.e. passing NULL as buffer_attr means use the default latency (which is 250ms). Passing a buffer_attr with all values set to -1 means i don't care about latency (which ideally means 2s latency). So, yes, I actually meant what I did in

Re: [pulseaudio-discuss] Automatically change 'Default device'?

2010-02-17 Thread Colin Guthrie
Yo 'Twas brillig, and Lennart Poettering at 17/02/10 15:18 did gyre and gimble: Indeed. You've not specifically mentioned the fact that I'm really proposing three priority/history lists (per-app, per-role, default) that should be checked in order so I'm not sure how signed up you are to that

Re: [pulseaudio-discuss] regression in pacat

2010-02-17 Thread Lennart Poettering
On Wed, 17.02.10 14:38, pl bossart (bossart.nos...@gmail.com) wrote: Actually I had I really wanted to write what I wrote. i.e. passing NULL as buffer_attr means use the default latency (which is 250ms). Passing a buffer_attr with all values set to -1 means i don't care about latency

Re: [pulseaudio-discuss] regression in pacat

2010-02-17 Thread Lennart Poettering
On Wed, 17.02.10 23:39, Lennart Poettering (lenn...@poettering.net) wrote: On Wed, 17.02.10 14:38, pl bossart (bossart.nos...@gmail.com) wrote: Actually I had I really wanted to write what I wrote. i.e. passing NULL as buffer_attr means use the default latency (which is 250ms).

Re: [pulseaudio-discuss] regression in pacat

2010-02-17 Thread Lennart Poettering
On Wed, 17.02.10 23:53, Lennart Poettering (lenn...@poettering.net) wrote: So, yes, I actually meant what I did in fb55798a... Now the question is why this doesn't work for Pierre. Additional information: - paplay file.wav does not start, the start callback isn't called Oh,

[pulseaudio-discuss] On-the-fly changing of sinks or sources in combine- and loopback-modules? Sound-distortions at the beginning of module-loopback?

2010-02-17 Thread Peter Kornatowski
Hello, 1. Is it possible to change the sinks or sources in an already loaded module-combine or module-loopback without unloading and reloading the module? 2. I also have a problem with sound distortions (mostly much higher and quicker voice) several seconds after loading the loopback-module

Re: [pulseaudio-discuss] On-the-fly changing of sinks or sources in combine- and loopback-modules? Sound-distortions at the beginning of module-loopback?

2010-02-17 Thread Lennart Poettering
On Thu, 18.02.10 00:09, Peter Kornatowski (pk...@gmx.net) wrote: Hello, 1. Is it possible to change the sinks or sources in an already loaded module-combine or module-loopback without unloading and reloading the module? Unless otherwise configured module-combine will automatically add all

Re: [pulseaudio-discuss] Audio over SSH

2010-02-17 Thread Jeremy Nickurak
These instructions work, but it's not exactly what I wanted. I have 2 machines, each logged in. Machine A has a sound card, machine B does not. I would like to be able to sit down at machine B and run applications, whose audio will go to the speakers hooked up to A. This means that an application

Re: [pulseaudio-discuss] Audio over SSH

2010-02-17 Thread Michał Sawicz
Dnia 2010-02-17, śro o godzinie 17:35 -0700, Jeremy Nickurak pisze: What I'd really like is for the pulseaudio server at B to show the sinks/sources from A, so I could just select A's sound device as the fallback (although since it's the only device, even that wouldn't be neccesary.) This

Re: [pulseaudio-discuss] regression in pacat

2010-02-17 Thread Lennart Poettering
On Wed, 17.02.10 23:57, Lennart Poettering (lenn...@poettering.net) wrote: On Wed, 17.02.10 23:53, Lennart Poettering (lenn...@poettering.net) wrote: So, yes, I actually meant what I did in fb55798a... Now the question is why this doesn't work for Pierre. Additional

Re: [pulseaudio-discuss] Need assistance debugging symptom of pacmd spinning during suspend-to-ram attempt

2010-02-17 Thread Lennart Poettering
On Fri, 15.01.10 23:02, Daniel Chen (seven.st...@gmail.com) wrote: On Fri, Jan 15, 2010 at 12:21 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Well pacmd isn't really a regular PA client it connects via a different IPC mechanism. It would be better to use pactl here I believe.

Re: [pulseaudio-discuss] General Pulse audio async api questions

2010-02-17 Thread Lennart Poettering
On Sat, 16.01.10 17:39, Forwind info (forw...@forwind.net) wrote: Understood. One question re headphone operation - when is jack-sensing expected in PA ? When ALSA did the groundwork and we have a usable API we can build on. Lennart -- Lennart PoetteringRed Hat, Inc.

Re: [pulseaudio-discuss] Need assistance debugging symptom of pacmd spinning during suspend-to-ram attempt

2010-02-17 Thread Daniel Chen
On Wed, Feb 17, 2010 at 8:04 PM, Lennart Poettering lenn...@poettering.net wrote: Hmpf. Both commands should be equivalent actually. If you can make one hang with 100% CPU then this is certainly a bug we need to fix. Can you tell me how to reproduce this without having to install Ubuntu and

Re: [pulseaudio-discuss] Need assistance debugging symptom of pacmd spinning during suspend-to-ram attempt

2010-02-17 Thread Lennart Poettering
On Fri, 15.01.10 11:24, Daniel Chen (seven.st...@gmail.com) wrote: Hi, For the latest stable-queue branch, at https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/507941 there's a report of pacmd consuming 100% CPU when suspending-to-ram. It seems to be triggered by running the

Re: [pulseaudio-discuss] Need assistance debugging symptom of pacmd spinning during suspend-to-ram attempt

2010-02-17 Thread Lennart Poettering
On Wed, 17.02.10 20:14, Daniel Chen (seven.st...@gmail.com) wrote: On Wed, Feb 17, 2010 at 8:04 PM, Lennart Poettering lenn...@poettering.net wrote: Hmpf. Both commands should be equivalent actually. If you can make one hang with 100% CPU then this is certainly a bug we need to fix. Can

Re: [pulseaudio-discuss] Need assistance debugging symptom of pacmd spinning during suspend-to-ram attempt

2010-02-17 Thread Lennart Poettering
On Thu, 18.02.10 02:26, Lennart Poettering (lenn...@poettering.net) wrote: I can reproduce this here. Looks I should be wearing the the paperbag since I broke the pipe thing when I made the command line thing work. /me goes and fixes that. Done now:

Re: [pulseaudio-discuss] Audio over SSH

2010-02-17 Thread Jeremy Visser
On 02/02/10 09:53, Jeremy Nickurak wrote: What's the right magical incantation to expose an audio sink over ssh to another machine? From reading your followup post: On 18/02/10 11:35, Jeremy Nickurak wrote: I have 2 machines, each logged in. Machine A has a sound card, machine B does not. I