[haiku-bugs] Re: [Haiku] #8911: Write a new BSoundConsumer class to replace the SoundConsumer class

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 31 Aug 2012 15:26:59 -0000

#8911: Write a new BSoundConsumer class to replace the SoundConsumer class
------------------------------+-----------------------
   Reporter:  korli           |      Owner:  axeld
       Type:  enhancement     |     Status:  new
   Priority:  normal          |  Milestone:  R1
  Component:  Kits/Media Kit  |    Version:  R1/alpha3
 Resolution:                  |   Keywords:
 Blocked By:                  |   Blocking:
Has a Patch:  0               |   Platform:  All
------------------------------+-----------------------

Comment (by hamish):

 If no one else is working on this, I'd like to.

 Regarding the cleaner API, I think BSoundConsumer should be made more
 analogous to BSoundPlayer, i.e.:

 * registering and connecting the nodes and setting the time source should
 be handled by the constructor, which should take a `media_input` parameter
 * starting the node and time source (if necessary) should be done in
 `BSoundConsumer::Start`

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8911#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: