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  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
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


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
 wrote:

I believe there is a bug in PA: when trying to drain empty stream
(newly created, or just after pa_stream_flush()) returned pa_operation
never completes. Because it's not possible to know in advance if
a stream is empty, IMO pa_stream_drain should succeed ASAP
when called on empty stream, and not hang.


Hey, a week has passed, and the bug is still alive!


Sorry, the main guy who could answer this is currently on holidays.

Please push a bug into Trac so that it's not lost among the many emails 
when he returns.


I'm not sure I know enough about this side of things to comment in any 
useful way (on the surface of your description I'm tending to agree with 
your but I don't know the implications!


Col

--

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


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

2009-11-25 Thread Gregory Petrosyan
On Thu, Nov 19, 2009 at 9:54 PM, Gregory Petrosyan
 wrote:
> I believe there is a bug in PA: when trying to drain empty stream
> (newly created, or just after pa_stream_flush()) returned pa_operation
> never completes. Because it's not possible to know in advance if
> a stream is empty, IMO pa_stream_drain should succeed ASAP
> when called on empty stream, and not hang.

Hey, a week has passed, and the bug is still alive!

Gregory
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


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

2009-11-19 Thread Gregory Petrosyan
Hi!

I believe there is a bug in PA: when trying to drain empty stream
(newly created, or just after pa_stream_flush()) returned pa_operation
never completes. Because it's not possible to know in advance if
a stream is empty, IMO pa_stream_drain should succeed ASAP
when called on empty stream, and not hang.

Gregory
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss