[haiku-bugs] Re: [Haiku] #17235: [Media Kit] Distressed/Zombie nodes create ports that cause message timeouts

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 03 Sep 2021 14:58:33 -0000

#17235: [Media Kit] Distressed/Zombie nodes create ports that cause message
timeouts
-----------------------------+-------------------------
  Reporter:  waddlesplash    |      Owner:  nobody
      Type:  bug             |     Status:  new
  Priority:  normal          |  Milestone:  Unscheduled
 Component:  Kits/Media Kit  |    Version:  R1/beta3
Resolution:                  |   Keywords:
Blocked By:                  |   Blocking:
  Platform:  All             |
-----------------------------+-------------------------
Comment (by waddlesplash):

 Well, deleting the nodes immediately will be non-ideal too, because then
 users will wonder why they have a device in /dev but it does not appear in
 Media preferences. It is also the case that nodes which fail init should
 not leave ports open, I guess, so those two fixes combined should improve
 things.

 However, I have a better patch for this case: simply skip initializing
 inputs or outputs when one or the other is invalid or not available, as in
 the case of usb_audio. I will push it shortly.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/17235#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: