Re: [pulseaudio-discuss] What is latency? And other related questions

2010-02-16 Thread Lennart Poettering
On Sun, 14.02.10 11:13, David Henningsson (launchpad@epost.diwic.se) wrote: > > Tristin Celestin wrote: > > Is there a downside to making a version of pa_stream_writable_size > > available in the > > simple API? > > Good question. In your use case, can see the use for a function > returnin

Re: [pulseaudio-discuss] What is latency? And other related questions

2010-02-16 Thread Lennart Poettering
On Fri, 12.02.10 09:20, David Henningsson (launchpad@epost.diwic.se) wrote: > > What happens here either there is a large period (~30 seconds to > > 90 seconds) of silence before audio begins to play fine, or I get > > bursts of audio (5-10 seconds) followed by very long bursts of > > silence.

Re: [pulseaudio-discuss] What is latency? And other related questions

2010-02-16 Thread Lennart Poettering
On Thu, 11.02.10 07:35, Tristin Celestin (tristin_celes...@yahoo.com) wrote: Heya, (there is something wrong with your mailer. It doesn't do proper line breaking.) > I managed to write a plugin that successfully delivers audio using > the normal pulseaudio API. I check the size of > pa_stream_wr

Re: [pulseaudio-discuss] What is latency? And other related questions

2010-02-14 Thread David Henningsson
Tristin Celestin wrote: > Is there a downside to making a version of pa_stream_writable_size available > in the > simple API? Good question. In your use case, can see the use for a function returning how many bytes that can be written to pa_simple_write without pa_simple_write blocking. > Why w

Re: [pulseaudio-discuss] What is latency? And other related questions

2010-02-13 Thread Tristin Celestin
> First, make sure that your tlength is at least two-three time as large > as mixlen. My guess is that you supply a tlength but for some reason > fail to fill it properly, so you get underruns on the PA frontend, which > makes PA increase tlength even more, leading to higher prebuffering (and > lat

Re: [pulseaudio-discuss] What is latency? And other related questions

2010-02-12 Thread David Henningsson
Tristin Celestin wrote: > This application I am writing a plugin for has a mode where it uses a timer > to drive the delivery of sound. At every tick, if some condition is filled, > the buffer is filled with data, otherwise the application runs. > > I managed to write a plugin that successfully

[pulseaudio-discuss] What is latency? And other related questions

2010-02-11 Thread Tristin Celestin
This application I am writing a plugin for has a mode where it uses a timer to drive the delivery of sound. At every tick, if some condition is filled, the buffer is filled with data, otherwise the application runs. I managed to write a plugin that successfully delivers audio using the normal p