[pulseaudio-discuss] [PATCH] stream-restore: Check for readability before reading volume

Colin Guthrie gmane at colin.guthr.ie
Fri Apr 15 12:31:22 PDT 2011

'Twas brillig, and Arun Raghavan at 12/04/11 09:48 did gyre and gimble:
> On Tue, 2011-04-12 at 13:11 +0530, Arun Raghavan wrote:
>> This avoids an assert in pa_sink_input_get_volume() when connecting a
>> passthrough stream.
> Based on Tanu's comments on the previous version of the patch, this one
> should be correct.

Cool.  In my tree now. It's a bit strange having an assert for writable
right after a check for readable... it should perhaps be less harsh, but
we can cross that bridge in the future :)



Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

More information about the pulseaudio-discuss mailing list