[pulseaudio-discuss] Pulseaudio and Jack

2009-05-26 Thread Patrick Shirkey
Hi, Is it likely that pavucontroller could provide an option for auto connecting to JACK i/o instead of disabling the PA audio stream until jack is stopped? It would also be handy if PA could remember which jack ports were connected to between sessions. Cheers. -- Patrick Shirkey

Re: [pulseaudio-discuss] Reset all client/stream volumes

2009-05-26 Thread Michał Sawicz
Dnia 2009-05-26, wto o godzinie 12:15 +1200, Jason Taylor pisze: Thats seems a bit hacky... there is no other way to rest all streams ? Hacky? I've seen hackier... And I don't know other ways to do that. -- Michał Sawicz mic...@sawicz.net ___

Re: [pulseaudio-discuss] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.15-131-g759a9d0

2009-05-26 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 25/05/09 23:02 did gyre and gimble: This is an automated email from the git hooks/post-receive script. It was generated because of a push to the PulseAudio Sound Server repository. commit ebce3185ef8064ab42106d2fd24aba21a159905d Author: Lennart

Re: [pulseaudio-discuss] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.15-131-g759a9d0

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 10:55, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Lennart Poettering at 25/05/09 23:02 did gyre and gimble: This is an automated email from the git hooks/post-receive script. It was generated because of a push to the PulseAudio Sound Server repository.

Re: [pulseaudio-discuss] Pulseaudio and Jack

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 14:04, Patrick Shirkey (pshir...@boosthardware.com) wrote: Hi, Is it likely that pavucontroller could provide an option for auto connecting to JACK i/o instead of disabling the PA audio stream until jack is stopped? 'pavucontroller' what do you mean? We now have a

[pulseaudio-discuss] No sound with PA after muting the master channel and restarting PA

2009-05-26 Thread Ozan Çağlayan
Hi, First of all here's a bug reported by someone else in debian bug tracking system: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525572 Here's the summary: 1) Start pulseaudio (per-user), 2) Play something, it works, nice. 3) Mute the master channel using KMix or amixer, doesn't matter:

[pulseaudio-discuss] Can I configure a stream when not active?

2009-05-26 Thread Phil Wieland
Is there any way to set the volume and output device of a stream which is not currently active? Scenario: Ubuntu 9.04. I have two output devices, a sound card and a USB phone handset. The default output stream is (foolishly) set to the USB phone. I hover the mouse pointer over an ogg file

Re: [pulseaudio-discuss] Can I configure a stream when not active?

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 14:59, Phil Wieland (p...@philwieland.com) wrote: Is there any way to set the volume and output device of a stream which is not currently active? Scenario: Ubuntu 9.04. I have two output devices, a sound card and a USB phone handset. The default output stream is

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Lennart Poettering
On Mon, 25.05.09 11:34, Jason Taylor (killerkiwi2...@gmail.com) wrote: I've worked around this by using xlib to grab the pid of the window application and that seems to work.. No applications seem to set xid yet that I can see (banshee, rythembox, vlc, mplayer, totem etc) As mentioned

Re: [pulseaudio-discuss] No sound with PA after muting the master channel and restarting PA

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 19:17, Ozan Çağlayan (o...@pardus.org.tr) wrote: Hi, First of all here's a bug reported by someone else in debian bug tracking system: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525572 Can you verify that this is the same bug as

Re: [pulseaudio-discuss] No sound with PA after muting the master channel and restarting PA

2009-05-26 Thread Ozan Çağlayan
Lennart Poettering wrote: On Tue, 26.05.09 19:17, Ozan Çağlayan (o...@pardus.org.tr) wrote: Can you verify that this is the same bug as https://bugzilla.redhat.com/show_bug.cgi?id=494851? It's possible but the report is not clear at all, I'm not sure. I don't use Gnome so I don't have

Re: [pulseaudio-discuss] running pulseaudio on embedded device (nslu2)

2009-05-26 Thread Lennart Poettering
On Mon, 25.05.09 17:14, bjorn (bjlu9...@student.uu.se) wrote: I finally got pulseaudio working on my nslu2 running debian lenny. At first impressions the performance is pretty impressive with regards to the limited specs of the platform. (266mhz, 32mb ram, no FPU). Installation was _pretty_

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Lennart Poettering
On Mon, 25.05.09 12:51, Jud Craft (craft...@gmail.com) wrote: I understand how audacious it would be to post and tell you that Pulseaudio is doing the volume scaling wrong, but let me demonstrate a problem. I won't post twice -- I know you guys are busy on this list -- but I've really wanted

Re: [pulseaudio-discuss] Ubuntu Hardy, Pulseaudio and Jack

2009-05-26 Thread Lennart Poettering
On Mon, 25.05.09 15:49, Patrick Shirkey (pshir...@boosthardware.com) wrote: - It's very cool that PA is now able to auto configure itself to cede control of the default device when JACK is started. Do you know which version of jack this works with as I would like to run some tests? jackd

Re: [pulseaudio-discuss] Volume problems in Pulse and alsamixer.

2009-05-26 Thread Lennart Poettering
On Sun, 24.05.09 10:32, Jan Buchal (buc...@brailcom.org) wrote: LP What I said is basically that it is *not* weird and *does* make LP a lot of sense, although the 'percent' to loudness mapping in LP 0.9.15 can be improved. Which I did in PA git. (As much as I love emacs otherwise,

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Lennart Poettering
On Wed, 27.05.09 11:01, Jason Taylor (killerkiwi2...@gmail.com) wrote: Maybe a step back I know a stream is active.. its volume is set to zero or its muted Is there anyway to tell if there is any data/sound being produced by the stream My current hack is to set the volume to 2%

Re: [pulseaudio-discuss] Rhythmbox and Pulseaudio: per-application volume adjustment causes major ruckus

2009-05-26 Thread Lennart Poettering
On Sat, 23.05.09 19:50, Jud Craft (craft...@gmail.com) wrote: Unlike most multimedia applications that have an internal volume meter, Rhythmbox actually communicates it's internal volume value to Pulseaudio, and Pulse in turn uses that as Rhythmbox's per-app volume. Problem: when Rhythmbox

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Jason Taylor
So I can still detect data with pa_stream_peek.. if its zero there is no data 2009/5/27 Lennart Poettering lenn...@poettering.net On Wed, 27.05.09 11:01, Jason Taylor (killerkiwi2...@gmail.com) wrote: Maybe a step back I know a stream is active.. its volume is set to zero or its

Re: [pulseaudio-discuss] PA_STREAM_ADJUST_LATENCY with Simple API?

2009-05-26 Thread Lennart Poettering
On Sat, 23.05.09 03:32, Cristian Morales Vega (cmorv...@yahoo.es) wrote: Hi, I just wanted to know if there is a way to use the PA_STREAM_ADJUST_LATENCY flag using the simple API. I see that pa_simple_new() has a parameter for pa_buffer_attr, but no for pa_stream_flags_t. Why I would want

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Lennart Poettering
On Wed, 27.05.09 11:18, Jason Taylor (killerkiwi2...@gmail.com) wrote: So I can still detect data with pa_stream_peek.. if its zero there is no data But what's the point of fiddling with the volume at all in this case? Why not use PA_VOLUME_NORM? Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] Connect sources to sinks directly

2009-05-26 Thread Lennart Poettering
On Fri, 22.05.09 19:27, mark (mfal...@gmail.com) wrote: Can we has this plz? Best way to make this happen is by doing it yourself! I know there are some long term trac bugs about this but I thought I would bring it here to see what people are thinking. Yes it is ticket 90. I can write

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Jason Taylor
Then you could hear the sound .. I dont want to be able to hear it.. just detect that there IS sound Just occured to me... I could move the stream to a null sink Cheers 2009/5/27 Lennart Poettering lenn...@poettering.net On Wed, 27.05.09 11:18, Jason Taylor (killerkiwi2...@gmail.com)

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Lennart Poettering
On Wed, 27.05.09 11:27, Jason Taylor (killerkiwi2...@gmail.com) wrote: Then you could hear the sound .. I dont want to be able to hear it.. just detect that there IS sound Why would you do that? You could simply detect signal inside of your application then Lennart -- Lennart Poettering

Re: [pulseaudio-discuss] PA_STREAM_ADJUST_LATENCY with Simple API?

2009-05-26 Thread Cristian Morales Vega
2009/5/27 Lennart Poettering lenn...@poettering.net: On Sat, 23.05.09 03:32, Cristian Morales Vega (cmorv...@yahoo.es) wrote: Hi, I just wanted to know if there is a way to use the PA_STREAM_ADJUST_LATENCY flag using the simple API. I see that pa_simple_new() has a parameter for

Re: [pulseaudio-discuss] PA_STREAM_ADJUST_LATENCY with Simple API?

2009-05-26 Thread Cristian Morales Vega
2009/5/27 Lennart Poettering lenn...@poettering.net: On Sat, 23.05.09 03:32, Cristian Morales Vega (cmorv...@yahoo.es) wrote: Hi, I just wanted to know if there is a way to use the PA_STREAM_ADJUST_LATENCY flag using the simple API. I see that pa_simple_new() has a parameter for

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Jason Taylor
Talk about fast response.. :) I don't control the application making the sound I'm trying to work around the flash/firefox not releasing its sink input correctly.. the only way I know of to detect if it is active is using peek to read the data in the stream. When flash/firefox is making noise

Re: [pulseaudio-discuss] module-combine-sink default sample specs

2009-05-26 Thread Lennart Poettering
On Fri, 22.05.09 18:11, Maarten Bosmans (mkbosm...@gmail.com) wrote: Any chance in landing the patch in http://pulseaudio.org/ticket/521 ? It works here and I adressed the concerns about the first patch. I usually go through the bts right before I do a new release. 0.9.16 will probably come

Re: [pulseaudio-discuss] get x11.xid

2009-05-26 Thread Lennart Poettering
On Wed, 27.05.09 11:45, Jason Taylor (killerkiwi2...@gmail.com) wrote: Talk about fast response.. :) I don't control the application making the sound I'm trying to work around the flash/firefox not releasing its sink input correctly.. the only way I know of to detect if it is active is

Re: [pulseaudio-discuss] Rhythmbox and Pulseaudio: per-application volume adjustment causes major ruckus

2009-05-26 Thread Jud Craft
On Tue, May 26, 2009 at 6:01 PM, Lennart Poettering lenn...@poettering.net wrote: The control flow should go like this: user changes volume in rb UI - rb forwards that as sink input volume change to PA - PA applies it to the stream - PA forwards it via the flat vol logic to the sink volume.

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Jud Craft
Long post coming, I apologize ahead of time. I really do appreciate you taking the time to explain it, even if I am a little frustrated (and you may be as well if I drag this thread on for much longer). First, I'm not sure what you mean by reference volume and virtual volume. My Internal Audio

Re: [pulseaudio-discuss] Rhythmbox and Pulseaudio: per-application volume adjustment causes major ruckus

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 19:08, Jud Craft (craft...@gmail.com) wrote: On Tue, May 26, 2009 at 6:01 PM, Lennart Poettering lenn...@poettering.net wrote: The control flow should go like this: user changes volume in rb UI - rb forwards that as sink input volume change to PA - PA applies it to

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Finn Thain
Lennart wrote: Now, I must admit that this all is a bit hard to grasp. And thus not exactly the definition of easy to use. We had a couple of discussions on this very ML about this. So far noone came up with a way to fix this in a way that would be completely convincing. I can't claim

Re: [pulseaudio-discuss] Rhythmbox and Pulseaudio: per-application volume adjustment causes major ruckus

2009-05-26 Thread Jud Craft
Forgive my nebulous use of feedback. I merely meant that changes in Rhythmbox were pushed to Pulse, and changes to Pulse were pushed back to Rhythmbox. Not that they fed into each other in series. I will admit that this echoes into the other thread, though: since this is apparently expected

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 19:47, Jud Craft (craft...@gmail.com) wrote: Long post coming, I apologize ahead of time. I really do appreciate you taking the time to explain it, even if I am a little frustrated (and you may be as well if I drag this thread on for much longer). First, I'm not sure

Re: [pulseaudio-discuss] Rhythmbox and Pulseaudio: per-application volume adjustment causes major ruckus

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 20:21, Jud Craft (craft...@gmail.com) wrote: Forgive my nebulous use of feedback. I merely meant that changes in Rhythmbox were pushed to Pulse, and changes to Pulse were pushed back to Rhythmbox. Not that they fed into each other in series. Aha. Yes, RB's volume slider

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Lennart Poettering
On Wed, 27.05.09 11:10, Finn Thain (fth...@telegraphics.com.au) wrote: Lennart wrote: Now, I must admit that this all is a bit hard to grasp. And thus not exactly the definition of easy to use. We had a couple of discussions on this very ML about this. So far noone came up with

Re: [pulseaudio-discuss] Working with PA and jack

2009-05-26 Thread Lennart Poettering
On Tue, 19.05.09 11:37, Patrick Shirkey (pshir...@boosthardware.com) wrote: Hi, After some discussion on the LAU lists over the past couple of years it would appear their is a usability issue that is giving PA a bad reputation as a pita. I believe it boils down to this previously posted

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Finn Thain
On Wed, 27 May 2009, Lennart Poettering wrote: You are misunderstanding the flat volume logic. Probably. But since attenuator knobs don't tweak each other (rather I am in control), I think you can read what I wrote as arguing against flat volume logic, on the grounds of intuitive

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Lennart Poettering
On Wed, 27.05.09 12:02, Finn Thain (fth...@telegraphics.com.au) wrote: On Wed, 27 May 2009, Lennart Poettering wrote: You are misunderstanding the flat volume logic. Probably. But since attenuator knobs don't tweak each other (rather I am in control), I think you can read what

Re: [pulseaudio-discuss] Sound works, still returns error alsa-util.c: Error opening PCM device

2009-05-26 Thread Lennart Poettering
On Sun, 17.05.09 13:06, Saeed Abbassi (saeed...@gmail.com) wrote: Hey Lennart, I've upgraded to FC 10, and tried to run my Java application, Got the same error, While the Java application running, the PulseAudio was running (according to top -p PA_process_ID)

Re: [pulseaudio-discuss] load alsa-sink module fails

2009-05-26 Thread Lennart Poettering
On Sat, 16.05.09 15:17, aon.913784...@aon.at (aon.913784...@aon.at) wrote: Hi! I can\'t load Pulseaudio when I add one line to ~/.pulse/default.pa http://pastebin.com/m5b95ed64 The error is: http://pastebin.com/m1be8a80a My .asoundrc is: http://pastebin.com/m59483a9a Without the extra

Re: [pulseaudio-discuss] Distribution kernels and glitch-free (Packagers, read this!)

2009-05-26 Thread Lennart Poettering
On Fri, 15.05.09 17:30, Hynek Hanke (ha...@brailcom.org) wrote: Dear Lennart, I've set all the connection parameters to the values you have suggested by default. This is pre_buffering = (uint32_t) -1; maxlength = (uint32_t) -1; prebuf = (uint32_t) -1; and PA_STREAM_ADJUST_LATENCY into

Re: [pulseaudio-discuss] Names of network sinks

2009-05-26 Thread Lennart Poettering
On Thu, 14.05.09 10:30, Russell Strong (russ...@strong.id.au) wrote: I have a problem publishing a sink because of a name collision the exact error message is: E: module-zeroconf-publish.c: avahi_entry_group_add_service_strlst(): Local name collision Could you please file a bug on our

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Lennart Poettering
On Tue, 26.05.09 21:25, Jud Craft (craft...@gmail.com) wrote: So, reading these as linear factors. If X is 0.75 and Y is 0.8, then, yes, the virtual sink volume and hence the hw volume control is configured to 0.8, which is then shown in the UI on the volume slider of the sink. As I said

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Jud Craft
No, genuinely. I really assumed that flat-volume was a different way of presenting the relative volumes, rather than a truly different method of managing stream volume. Truthfully, I insist upon my point about Vista. They may do the same things on the inside, but in Vista, the only thing that

Re: [pulseaudio-discuss] Per-app flat volume adjustment is highly unintuitive, if mathematically consistent.

2009-05-26 Thread Jud Craft
Actually, wait. There is one last thing that might clue me in. Let's say I have, relative to each other, Firefox/youTube set to 100% and Banshee set to 80%. Now, imagine I'm listening to Banshee and my volume is 100%. Does flat volume mean that if I start to play a Firefox video...that Firefox

Re: [pulseaudio-discuss] Pulseaudio and Jack

2009-05-26 Thread Patrick Shirkey
Lennart Poettering wrote: On Tue, 26.05.09 14:04, Patrick Shirkey (pshir...@boosthardware.com) wrote: Hi, Is it likely that pavucontroller could provide an option for auto connecting to JACK i/o instead of disabling the PA audio stream until jack is stopped? 'pavucontroller'