Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-27 Thread xing wang
Hi tanuk, Let me quote piece of your post: "Are there any real problems with this rewinding, like the beginning of the stream disappearing, or an audible drop-out in the audio? The sink buffer has to be always rewound when a new stream is created, because initially the sink buffer contains silence

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-26 Thread xing wang
2011/5/26 Colin Guthrie : > 'Twas brillig, and xing wang at 26/05/11 10:42 did gyre and gimble: >> 2011/5/26 Colin Guthrie : >>> 'Twas brillig, and xing wang at 26/05/11 09:09 did gyre and gimble: I: main.c: This is PulseAudio 0.9.22 >>> >>> Just as a very small aside, David did some work on "

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-26 Thread Colin Guthrie
'Twas brillig, and xing wang at 26/05/11 10:42 did gyre and gimble: > 2011/5/26 Colin Guthrie : >> 'Twas brillig, and xing wang at 26/05/11 09:09 did gyre and gimble: >>> I: main.c: This is PulseAudio 0.9.22 >> >> Just as a very small aside, David did some work on "Fighting Rewinds" >> recently. >>

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-26 Thread xing wang
2011/5/26 Colin Guthrie : > 'Twas brillig, and xing wang at 26/05/11 09:09 did gyre and gimble: >> I: main.c: This is PulseAudio 0.9.22 > > Just as a very small aside, David did some work on "Fighting Rewinds" > recently. > > Just search the stable-queue git log for "Fighting rewinds"... > > These

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-26 Thread Colin Guthrie
'Twas brillig, and xing wang at 26/05/11 09:09 did gyre and gimble: > I: main.c: This is PulseAudio 0.9.22 Just as a very small aside, David did some work on "Fighting Rewinds" recently. Just search the stable-queue git log for "Fighting rewinds"... These may already be included in your build, b

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-26 Thread xing wang
san at ccrma.stanford.edu (Baek Chang) Date: Sat, 30 Apr 2011 15:38:34 -0700 Subject: [pulseaudio-discuss] rewind and underrun issues on start of playback Message-ID: Hi, I'm seeing some issue with underruns/rewinds occurring on the beginning of every sink input playback. I see rewind reque

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-03 Thread Colin Guthrie
Hi, 'Twas brillig, and Dan Muresan at 03/05/11 19:51 did gyre and gimble: >> I think you are correct in that there is an alsa bug. It seems that >> pulseaudio 0.9.14 didn't exhibit this bug in the driver, but pulseaudio >> 0.9.22 does. > > I asked before, but for some reason never got an answer

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-03 Thread Dan Muresan
> I think you are correct in that there is an alsa bug.  It seems that > pulseaudio 0.9.14 didn't exhibit this bug in the driver, but pulseaudio > 0.9.22 does. I asked before, but for some reason never got an answer from this list: is there a simple way to disable rewinds? They seem to be related

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-03 Thread Mark Brown
On Tue, May 03, 2011 at 11:09:56AM -0700, Baek Chang wrote: > I think you are correct in that there is an alsa bug. It seems that > pulseaudio 0.9.14 didn't exhibit this bug in the driver, but pulseaudio > 0.9.22 does. > It seems like the rewind is causing the driver to not have data in its first

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-03 Thread Baek Chang
I think you are correct in that there is an alsa bug. It seems that pulseaudio 0.9.14 didn't exhibit this bug in the driver, but pulseaudio 0.9.22 does. It seems like the rewind is causing the driver to not have data in its first hw buffer, the dropout in the beginning is a hw buffer size. Thanks

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-03 Thread Colin Guthrie
'Twas brillig, and Baek Chang at 02/05/11 04:52 did gyre and gimble: > Also, if i revert to pulseaudio 0.9.14, i do not see this issue > happening. I can hear the very short samples in the beginning fine. I think generally that the rewinding should work, and that by reverting you are just bypassi

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-01 Thread Baek Chang
Also, if i revert to pulseaudio 0.9.14, i do not see this issue happening. I can hear the very short samples in the beginning fine. On Sun, May 1, 2011 at 8:45 PM, Baek Chang wrote: > I am hearing that very very short sounds, smaller than hw buffer size, > occasionally not heard. The initial po

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-01 Thread Baek Chang
I am hearing that very very short sounds, smaller than hw buffer size, occasionally not heard. The initial portion of audio is silenced. If i remove the rewind request from protocal-native.c, then the problem is resolved, but other issues are there, audible glitches when doing volume changes. On

Re: [pulseaudio-discuss] rewind and underrun issues on start of playback

2011-05-01 Thread Tanu Kaskinen
On Sat, 2011-04-30 at 15:38 -0700, Baek Chang wrote: > Hi, > > I'm seeing some issue with underruns/rewinds occurring on the beginning of > every sink input playback. > I see rewind requests on alsa sink of 9600 bytes. The alsa driver is > configured with the following buffer sizes > > I: sink.c

[pulseaudio-discuss] rewind and underrun issues on start of playback

2011-04-30 Thread Baek Chang
Hi, I'm seeing some issue with underruns/rewinds occurring on the beginning of every sink input playback. I see rewind requests on alsa sink of 9600 bytes. The alsa driver is configured with the following buffer sizes I: sink.c: device.buffering.buffer_size = "9600" I: sink.c: device.buf