Re: [pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-09 Thread Colin Guthrie
Wolfgang Rosenauer wrote: >> Do you write a little data and wait for it to start? Or do you just pump >> data in and analyse it later. The reason I ask is that IIRC pulse will >> not start playing until a minimum buffer size is reached, so if you only >> put in a couple samples it probably wont

Re: [pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-09 Thread Wolfgang Rosenauer
Hi Colin, Colin Guthrie wrote: >> I use snd_pcm_delay() actually to get an idea how long/big our buffer >> still is to tell the stream delivery to send data to a second (software) >> buffer. So I get the buffered frames from alsa's buffer to know how many >> frames are in my queue before reque

Re: [pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-09 Thread Colin Guthrie
Wolfgang Rosenauer wrote: > Hi Colin, > > Colin Guthrie wrote: >>> I've also opened a bug here: >>> https://bugzilla.novell.com/show_bug.cgi?id=405354 >>> >>> I've rewritten some of the Alsa-using code to fix some issues which were >>> in the application but in its current state I can't think of

Re: [pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-08 Thread Wolfgang Rosenauer
Hi Colin, Colin Guthrie wrote: >> I've also opened a bug here: >> https://bugzilla.novell.com/show_bug.cgi?id=405354 >> >> I've rewritten some of the Alsa-using code to fix some issues which were >> in the application but in its current state I can't think of a major >> issue in the app which wo

Re: [pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-08 Thread Wolfgang Rosenauer
Hi Nick, Nick Thompson wrote: > Does aplay make sound? if not then you may have a config issue. I'm > assuming that aplay is working. Yes, (almost) every other sound output on the desktop is working including aplay. > You could try starting the damon from a command line with logging to >

Re: [pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-08 Thread Colin Guthrie
Wolfgang Rosenauer wrote: > Hi, > > I have an application (which is not OSS unfortunately) using ALSA output. > Sound works fine on systems where no pulseaudio is running but doesn't > work at all as soon as PA is running (Gnome desktops on latest Ubuntu > and openSUSE versions were tested). > I

Re: [pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-08 Thread Nick Thompson
Hi Wolfgang, Does aplay make sound? if not then you may have a config issue. I'm assuming that aplay is working. You could try starting the damon from a command line with logging to see if there are any logging messages that might explain the issue. Kill the existing pa with % pulseaudio

[pulseaudio-discuss] PulseAudio <-> ALSA issues

2008-07-08 Thread Wolfgang Rosenauer
Hi, I have an application (which is not OSS unfortunately) using ALSA output. Sound works fine on systems where no pulseaudio is running but doesn't work at all as soon as PA is running (Gnome desktops on latest Ubuntu and openSUSE versions were tested). I've also opened a bug here: https://bugz