Re: [pulseaudio-discuss] pa_stream_seek ... not

2009-12-23 Thread Mads Kiilerich
Lennart Poettering wrote, On 12/22/2009 07:00 PM: On Mon, 14.12.09 20:16, Mads Kiilerich (m...@kiilerich.com) wrote: The streams.h documentation tells how the write pointer can be moved with pa_stream_write() - and reset with pa_stream_flush(). But AFAICS there is no way to move the write p

Re: [pulseaudio-discuss] changing pulse sink

2009-12-23 Thread Matt Zagrabelny
On Wed, 2009-12-23 at 23:27 +0100, Michał Sawicz wrote: > Dnia 2009-12-23, śro o godzinie 16:08 -0600, Matt Zagrabelny pisze: > > > > What I would like to be able to do is toggle between the local sound > > card and the network sink. I looked at PA Dev Chooser, but that > > doesn't > > seem to sho

Re: [pulseaudio-discuss] changing pulse sink

2009-12-23 Thread Michał Sawicz
Dnia 2009-12-23, śro o godzinie 16:08 -0600, Matt Zagrabelny pisze: > > What I would like to be able to do is toggle between the local sound > card and the network sink. I looked at PA Dev Chooser, but that > doesn't > seem to show what I would expect as far as choosing the sink. Don't use padev

[pulseaudio-discuss] changing pulse sink

2009-12-23 Thread Matt Zagrabelny
Greetings, I have the following setup: aclient (laptop) aserver (headless computer) I currently have pulse on aclient configured to use aserver, via: aclient:~/.pulse/client.conf default-server = aserver I have amarok running locally on aclient and it pipes it sound via PA to aserver and all

Re: [pulseaudio-discuss] Pulseaudio Mixing & DSP Mixing

2009-12-23 Thread pl bossart
I also don't think mixing PCM streams in hw would bring much added value. However the initial post mentioned that the DSP can handle decoders as well. That's a completely different story. If you have compressed streams, you could benefit from offloading the decompression and mix to the DSP. The pr

Re: [pulseaudio-discuss] PulseAudio 0.9.21 deadlocking when accessed through OpenAl 1.10.622 (AlienArena)

2009-12-23 Thread Kelly Anderson
On 12/23/2009 03:04 AM, Colin Guthrie wrote: 'Twas brillig, and Kelly Anderson at 23/12/09 08:21 did gyre and gimble: AlienArena was deadlocking trying to go through OpenAl which was set to use PulseAudio. After quite a bit of debugging (entering prints in OpenAl pulse code), I finally foun

[pulseaudio-discuss] [PATCH] rtpoll-better-support-for-DEBUG_TIMING-logs

2009-12-23 Thread pl bossart
On all the platforms I tested, PulseAudio is frequently awaken and doesn't sleep for the duration specified for the poll timeout. Sometimes wake-ups occur within milliseconds of the poll call for no good reason; this seems to be related to ALSA issues (see my posts on the ALSA mailing list on null

Re: [pulseaudio-discuss] Pulseaudio Mixing & DSP Mixing

2009-12-23 Thread Marc-André Lureau
Hi On Wed, Dec 23, 2009 at 3:49 PM, Lennart Poettering wrote: > On Wed, 23.12.09 14:04, tieg (tie...@access-company.com) wrote: > > That said, I am quite sure that hw mixing is not particularly useful > on desktops. It has some validity however in embedded environments. > On the N900, mixing alm

Re: [pulseaudio-discuss] Pulseaudio Mixing & DSP Mixing

2009-12-23 Thread Lennart Poettering
On Wed, 23.12.09 14:04, tieg (tie...@access-company.com) wrote: > Recently, I am considering to port pulseaudio to TI OMAP 3430. However, > pulseaudio framework does not take DSP solution into consideration. It > is trouble for me to decide mixing with DSP or pulseaudio. If with DSP, > pulseaudio

Re: [pulseaudio-discuss] changing pa_buffer_attr in pulse's settings possible?

2009-12-23 Thread Halim Sahin
Hi, The latency wasn't the problem. The playback can be stopped and start quickly It's the prebuffering. Pulse start playback after it got enough samples. E. G. e is not enough. v is enough. Typing one e produces nothing. Typing two produces e e . Maybe you have another idea to solve the problem

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Markus Rechberger
On Wed, Dec 23, 2009 at 3:14 PM, Colin Guthrie wrote: > 'Twas brillig, and Markus Rechberger at 23/12/09 13:45 did gyre and gimble: >> You're certainly good at ignoring bugreports your way, instead of >> finding solutions >> to fix it up. > > Can you give links to these bug reports please? > read

Re: [pulseaudio-discuss] changing pa_buffer_attr in pulse's settings possible?

2009-12-23 Thread Halim Sahin
Hi, The latency wasn't the problem. The playback can be stopped and start quickly It's the prebuffering. Pulse start playback after it got enough samples. E. G. e is not enough. v is enough. Typing one e produces nothing. Typing two produces e e . Maybe you have another idea to solve the problem

Re: [pulseaudio-discuss] keyboard shortcuts for pavucontrol

2009-12-23 Thread Halim Sahin
Hi Col, I havent looked in the code but it wiould be enough to add a shortcut for opening the contextmenu for moving the streams. like shift+f10 I am able to tab to the label of the stream so it should be possible to add the shortcut if the streamlabel is selected. Thanks Halim

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Halim Sahin
Hi Col, 1. I gave you some examples what doesn't work as expected. How should I run my text-to-speech server before login to have audiooutput for reading the login screen? 2. Running daemons worked well under alsa (see my previous post). I am using every day this setup. Speechd runs with uid speec

Re: [pulseaudio-discuss] keyboard shortcuts for pavucontrol

2009-12-23 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 23/12/09 13:55 did gyre and gimble: > On Wed, 23.12.09 14:40, Halim Sahin (halim.sa...@freenet.de) wrote: > >> Hello, >> >> In my previous mail I have written about the great feature of pulse to >> move some streams between audio cards. >> This is really gr

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Colin Guthrie
'Twas brillig, and Markus Rechberger at 23/12/09 13:45 did gyre and gimble: > You're certainly good at ignoring bugreports your way, instead of > finding solutions > to fix it up. Can you give links to these bug reports please? Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.i

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Colin Guthrie
'Twas brillig, and Halim Sahin at 23/12/09 13:24 did gyre and gimble: > The Problem can be summarized in one sentence: > Pulseaudio currently breaks multiuser systems and is only useful for > one-user-desktop. Actually no, the exact opposite. PA works very well for multi user desktops. The vast ma

Re: [pulseaudio-discuss] keyboard shortcuts for pavucontrol

2009-12-23 Thread Halim Sahin
Hi Lennart. On Mi, Dez 23, 2009 at 02:55:54 +0100, Lennart Poettering wrote: > On Wed, 23.12.09 14:40, Halim Sahin (halim.sa...@freenet.de) wrote: > > > Hello, > > > > In my previous mail I have written about the great feature of pulse to > > move some streams between audio cards. > > This is re

Re: [pulseaudio-discuss] changing pa_buffer_attr in pulse's settings possible?

2009-12-23 Thread Lennart Poettering
On Wed, 23.12.09 15:02, Halim Sahin (halim.sa...@freenet.de) wrote: > > Hi, > We have developed a libao driver for speech-dispatcher text-to-speech > server. > The problem was that if we get short sample like an > e, i, u pulseaudio didn't play them. > Adjusting the mentioned value in pa_buffer_a

Re: [pulseaudio-discuss] PulseAudio disables many soud apps

2009-12-23 Thread Lennart Poettering
On Wed, 23.12.09 10:29, Joerg Anders (j...@informatik.tu-chemnitz.de) wrote: > Hi all! > > I'm convinced you are all very proud and happy of PulseAudio. > But read what I had to write to the many NtEd > > (http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml) > > users which have no h

Re: [pulseaudio-discuss] changing pa_buffer_attr in pulse's settings possible?

2009-12-23 Thread Halim Sahin
Hi, We have developed a libao driver for speech-dispatcher text-to-speech server. The problem was that if we get short sample like an e, i, u pulseaudio didn't play them. Adjusting the mentioned value in pa_buffer_attr fixed this. Thanks to Bill who has found the problem. His approach did the foll

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Lennart Poettering
On Wed, 23.12.09 14:45, Markus Rechberger (mrechber...@gmail.com) wrote: > You're certainly good at ignoring bugreports your way, instead of > finding solutions to fix it up. I you feel that we dont give a bug report the attention you believe it should get then hey, nothing stops you from doing s

Re: [pulseaudio-discuss] keyboard shortcuts for pavucontrol

2009-12-23 Thread Lennart Poettering
On Wed, 23.12.09 14:40, Halim Sahin (halim.sa...@freenet.de) wrote: > Hello, > > In my previous mail I have written about the great feature of pulse to > move some streams between audio cards. > This is really great but sometimes difficult to use for blind poeple. > > When I open pavucontrol and

Re: [pulseaudio-discuss] changing pa_buffer_attr in pulse's settings possible?

2009-12-23 Thread Lennart Poettering
On Wed, 23.12.09 14:34, Halim Sahin (halim.sa...@freenet.de) wrote: > Hi, > Can I setup the default vallues of the pa_buffer_attr in pulse's > settings? What do you mean by "default"? For compat reasons the default is 250ms or so. If we didnt have to care for compat I'd pick a 2s default... > I

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Markus Rechberger
On Wed, Dec 23, 2009 at 1:49 PM, Lennart Poettering wrote: > On Wed, 23.12.09 13:16, Markus Rechberger (mrechber...@gmail.com) wrote: > >> > Right. It is innovative to carry on with the brokeness we always had >> > just because we always had it and not because we would ever think >> > about the br

[pulseaudio-discuss] keyboard shortcuts for pavucontrol

2009-12-23 Thread Halim Sahin
Hello, In my previous mail I have written about the great feature of pulse to move some streams between audio cards. This is really great but sometimes difficult to use for blind poeple. When I open pavucontrol and tab to a stream i can't open the contextmenu with the keyboard. I must use the mou

[pulseaudio-discuss] changing pa_buffer_attr in pulse's settings possible?

2009-12-23 Thread Halim Sahin
Hi, Can I setup the default vallues of the pa_buffer_attr in pulse's settings? I need to change the value of pa_buffer_attr.tlength. If this isn't supported can you please add this in the upcomming pulseaudio version? Thanks Halim ___ pulseaudio-discus

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Halim Sahin
Hello list, Just my thoughts on this problem: 1. pulseaudio is now the prefered audiooutput system in most distros. It brings great new features which are useful at all. I like the feature mooving streams from one audiodevice to another. This makes using of headset comfortable and is realy useful.

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Lennart Poettering
On Wed, 23.12.09 13:16, Markus Rechberger (mrechber...@gmail.com) wrote: > > Right. It is innovative to carry on with the brokeness we always had > > just because we always had it and not because we would ever think > > about the brokeness and fix it? Is that what you think? > > Right, we had /et

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Markus Rechberger
On Wed, Dec 23, 2009 at 1:16 PM, Markus Rechberger wrote: > On Wed, Dec 23, 2009 at 12:57 PM, Lennart Poettering > wrote: >> On Tue, 22.12.09 17:54, Markus Rechberger (mrechber...@gmail.com) wrote: >> >>> >> Well, but nevertheless an X session is required to allow differend user >>> >> accounts t

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Markus Rechberger
On Wed, Dec 23, 2009 at 12:57 PM, Lennart Poettering wrote: > On Tue, 22.12.09 17:54, Markus Rechberger (mrechber...@gmail.com) wrote: > >> >> Well, but nevertheless an X session is required to allow differend user >> >> accounts to access the audio subsystem at the same time. This is a >> >> draw

Re: [pulseaudio-discuss] Accessing audio as root

2009-12-23 Thread Lennart Poettering
On Tue, 22.12.09 17:54, Markus Rechberger (mrechber...@gmail.com) wrote: > >> Well, but nevertheless an X session is required to allow differend user > >> accounts to access the audio subsystem at the same time. This is a > >> drawback for me as I'm used to do a lot of my daily work on a text > >>

Re: [pulseaudio-discuss] Two outputs

2009-12-23 Thread Colin Guthrie
'Twas brillig, and Tanu Kaskinen at 23/12/09 06:08 did gyre and gimble: > ti, 2009-12-22 kello 20:34 +, Colin Guthrie kirjoitti: >> Now as PA will not add individual sinks for both the digital and analog, >> you'll have to load a separate module-alsa-sink for the other one you >> want - e.g. if

Re: [pulseaudio-discuss] PulseAudio 0.9.21 deadlocking when accessed through OpenAl 1.10.622 (AlienArena)

2009-12-23 Thread Colin Guthrie
'Twas brillig, and Kelly Anderson at 23/12/09 08:21 did gyre and gimble: > AlienArena was deadlocking trying to go through OpenAl which was set to > use PulseAudio. After quite a bit of debugging (entering prints in > OpenAl pulse code), I finally found a solution with the help of a SUSE > bug rep

[pulseaudio-discuss] PulseAudio disables many soud apps

2009-12-23 Thread Joerg Anders
Hi all! I'm convinced you are all very proud and happy of PulseAudio. But read what I had to write to the many NtEd (http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml) users which have no hardware MIDI synthesizer und rely to TiMidity++ (http://timidity.sourceforge.net/) http:/

Re: [pulseaudio-discuss] PulseAudio 0.9.21 deadlocking when accessed through OpenAl 1.10.622 (AlienArena)

2009-12-23 Thread Kelly Anderson
On 12/23/2009 01:56 AM, Arun Raghavan wrote: On Wed, 2009-12-23 at 01:21 -0700, Kelly Anderson wrote: AlienArena was deadlocking trying to go through OpenAl which was set to use PulseAudio. After quite a bit of debugging (entering prints in OpenAl pulse code), I finally found a solution wit

Re: [pulseaudio-discuss] PulseAudio 0.9.21 deadlocking when accessed through OpenAl 1.10.622 (AlienArena)

2009-12-23 Thread Arun Raghavan
On Wed, 2009-12-23 at 01:21 -0700, Kelly Anderson wrote: > AlienArena was deadlocking trying to go through OpenAl which was set to > use PulseAudio. After quite a bit of debugging (entering prints in > OpenAl pulse code), I finally found a solution with the help of a SUSE > bug report. > > htt

[pulseaudio-discuss] PulseAudio 0.9.21 deadlocking when accessed through OpenAl 1.10.622 (AlienArena)

2009-12-23 Thread Kelly Anderson
AlienArena was deadlocking trying to go through OpenAl which was set to use PulseAudio. After quite a bit of debugging (entering prints in OpenAl pulse code), I finally found a solution with the help of a SUSE bug report. http://lists.opensuse.org/opensuse-bugs/2009-10/msg10497.html which po

Re: [pulseaudio-discuss] Pulseaudio Mixing & DSP Mixing

2009-12-23 Thread Jason Newton
On 12/22/2009 10:04 PM, tieg wrote: > Recently, I am considering to port pulseaudio to TI OMAP 3430. However, > pulseaudio framework does not take DSP solution into consideration. It > is trouble for me to decide mixing with DSP or pulseaudio. If with DSP, > pulseaudio seems nonsense. If with pulse