[pulseaudio-tickets] [PulseAudio] #571: failed assertion when trying to access appleTV airtunes

PulseAudio trac-noreply at tango.0pointer.de
Fri Oct 30 01:53:01 PDT 2009


#571: failed assertion when trying to access appleTV airtunes
----------------------------+-----------------------------------------------
  Reporter:  globalmatador  |       Owner:  coling       
      Type:  defect         |      Status:  assigned     
 Milestone:                 |   Component:  module-raop-*
Resolution:                 |    Keywords:               
----------------------------+-----------------------------------------------

Comment(by coling):

 Ahh OK, I think I see what is going on here.

 I setup the sink on module init but the connection takes some time to
 establish. During that period, something tries to change the sink volume
 (I'm guessing module-device-restore). This causes things to break.

 You can probably work around this bug for now by removing ~/.pulse
 /*device-volumes.tdb, but it will come back if you change the device
 volume.

 The correct fix would be to store up the requests and purge the queue on
 connection.

 An alternative approach would be to not create the sink on module load and
 only create it after connection, but I don't want to do that as I'd
 eventually like to make the sink play nice and disconnect/reconnect on
 demand (and thus allow other iTunes or PA users use it too rather than
 hogging it.

 Another simple fix would be to just ignore the request if the device is
 not connected yet. This too is not ideal. The attached patch should do
 this. It's not a complete fix but it should get you working....

-- 
Ticket URL: <http://pulseaudio.org/ticket/571#comment:9>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list