Re: [pulseaudio-discuss] no clue how to downsample network audio stream + some minor issues

2009-11-26 Thread Colin Guthrie
Hi, 'Twas brillig, and vitaminx at 26/11/09 03:27 did gyre and gimble: I'm pretty new to pulseaudio and after some days of reading manuals i'm actually stuck with 3 things: - i have a media server running pulseaudio and i want to stream audio to it. works pretty well so far, but my bandwidth

Re: [pulseaudio-discuss] hang when trying to drain empty stream

2009-11-26 Thread Colin Guthrie
'Twas brillig, and Gregory Petrosyan at 25/11/09 21:34 did gyre and gimble: On Thu, Nov 19, 2009 at 9:54 PM, Gregory Petrosyan gregory.petros...@gmail.com wrote: I believe there is a bug in PA: when trying to drain empty stream (newly created, or just after pa_stream_flush()) returned

Re: [pulseaudio-discuss] Why no 'default device' option?

2009-11-26 Thread Colin Guthrie
'Twas brillig, and Jeremy Nickurak at 25/11/09 20:37 did gyre and gimble: On Wed, Nov 25, 2009 at 11:48, Colin Guthrie gm...@colin.guthr.ie mailto:gm...@colin.guthr.ie wrote: PA will always remember what your app has chosen. So if you play something with an app for the very first time,

Re: [pulseaudio-discuss] Why no 'default device' option?

2009-11-26 Thread Colin Guthrie
'Twas brillig, and Daniel Chen at 25/11/09 19:50 did gyre and gimble: On Wed, Nov 25, 2009 at 12:14 PM, Vadim Peretokin vpereto...@gmail.com wrote: Currently with PulseAudio, every new app that I start will use the onboard sound card. I have to manually go to pavucontrol, and change the streams

[pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Markus Rechberger
Hi, I've been working quite a while with pulseaudio, one thing that breaks alsa compatibility is that since PA is user based root is not allowed to access audio. This always worked with native Alsa even if root is not in the audio group. I'm not sure if this behaviour is intended to be like that

Re: [pulseaudio-discuss] Why no 'default device' option?

2009-11-26 Thread Ng Oon-Ee
On Thu, 2009-11-26 at 08:42 +, Colin Guthrie wrote: 'Twas brillig, and Jeremy Nickurak at 25/11/09 20:37 did gyre and gimble: On Wed, Nov 25, 2009 at 11:48, Colin Guthrie gm...@colin.guthr.ie mailto:gm...@colin.guthr.ie wrote: PA will always remember what your app has chosen. So

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread David Csercsics
On Thu, Nov 26, 2009 at 04:51:25PM +0800, Markus Rechberger wrote: Hi, I've been working quite a while with pulseaudio, one thing that breaks alsa compatibility is that since PA is user based root is not allowed to access audio. This always worked with native Alsa even if root is not in the

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Markus Rechberger
On Thu, Nov 26, 2009 at 5:27 PM, David Csercsics a...@shaw.ca wrote: On Thu, Nov 26, 2009 at 04:51:25PM +0800, Markus Rechberger wrote: Hi, I've been working quite a while with pulseaudio, one thing that breaks alsa compatibility is that since PA is user based root is not allowed to access

Re: [pulseaudio-discuss] hang when trying to drain empty stream

2009-11-26 Thread Gregory Petrosyan
On Thu, Nov 26, 2009 at 11:44 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Please push a bug into Trac so that it's not lost among the many emails when he returns. Already there -- http://pulseaudio.org/ticket/725 Gregory ___

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Daniel Chen
On Thu, Nov 26, 2009 at 4:54 AM, Markus Rechberger mrechber...@gmail.com wrote: The flash plugin is able to interfere and mute pulseaudio occasionally ... the applications (eg. mplayer) don't show up anything strange but audio is mute for it... So a gotcha here is mplayer, since you mentioned

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Markus Rechberger
On Thu, Nov 26, 2009 at 7:48 PM, Daniel Chen seven.st...@gmail.com wrote: On Thu, Nov 26, 2009 at 4:54 AM, Markus Rechberger mrechber...@gmail.com wrote: The flash plugin is able to interfere and mute pulseaudio occasionally ... the applications (eg. mplayer) don't show up anything strange

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Colin Guthrie
'Twas brillig, and Markus Rechberger at 26/11/09 08:51 did gyre and gimble: Hi, I've been working quite a while with pulseaudio, one thing that breaks alsa compatibility is that since PA is user based root is not allowed to access audio. This always worked with native Alsa even if root is not

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Markus Rechberger
On Thu, Nov 26, 2009 at 10:31 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Markus Rechberger at 26/11/09 08:51 did gyre and gimble: Hi, I've been working quite a while with pulseaudio, one thing that breaks alsa compatibility is that since PA is user based root is not

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Colin Guthrie
'Twas brillig, and Markus Rechberger at 26/11/09 14:50 did gyre and gimble: I don't know how the permission stuff is handled, but root should be an exception for this and be allowed by default. The exception to the rule is not necessarily the problem (the concept itself is valid enough), but

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Markus Rechberger
On Thu, Nov 26, 2009 at 11:15 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Markus Rechberger at 26/11/09 14:50 did gyre and gimble: I don't know how the permission stuff is handled, but root should be an exception for this and be allowed by default. The exception to the

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Colin Guthrie
'Twas brillig, and Markus Rechberger at 26/11/09 15:32 did gyre and gimble: So really there are only two solutions here: 1. Bypass pulse and access the audio directly. 2. Run roots very own PA process and use it. 3. Run system-wide PA. 4. Run PA on top of some lower level mixer e.g. dmix.

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Colin Guthrie
'Twas brillig, and Markus Rechberger at 26/11/09 18:13 did gyre and gimble: we could move it to kernelspace too it's a driver. Do you read lkml? Not going to happen. no, I meant our work not pulseaudio. Ahh right, sorry :) We moved the entire video4linux and DVB framework to userspace.

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Markus Rechberger
On Fri, Nov 27, 2009 at 7:02 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Markus Rechberger at 26/11/09 18:13 did gyre and gimble: we could move it to kernelspace too it's a driver. Do you read lkml? Not going to happen. no, I meant our work not pulseaudio. Ahh right,

Re: [pulseaudio-discuss] Accessing audio as root

2009-11-26 Thread Markus Rechberger
This is a little bit offtopic I'm using Ubuntu 9.10 here. right now I'm experiencing that mplayer just mutes after a few seconds, when I start up pavucontrol audio starts to work again. See this is what I mean when writing about that Pulseaudio does not work correctly with most distributions