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

  • From: "Barrett" <trac@xxxxxxxxxxxx>
  • Date: Fri, 10 Jan 2014 19:13:46 -0000

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

Comment (by Barrett):

 I talked some time ago with hamish about doing this ticket, so in the
 latest days i've finally got the time to do it. I've actually take a class
 from the beos sample code, it's the MediaRecorder. The patch include a
 modified version of it, with some improvements and cleanup. I've also
 rewritten the header file, setting it's copyright to Haiku Inc.

 The main advantage over the BSoundConsumer class is that it support any
 type of media, it's implementation is very simple and effective, this will
 allow us in future to improve it easily. I've also removed some code from
 SoundRecorder since it wasn't needed anymore. The idea is to do a set of
 patches to improve SoundRecorder, before all i would like to separate a
 bit more the audio from gui and then rewrite the code to share it's
 controls with MediaPlayer. I'm also planning to fix style in the process.
 I've actually tried to do some of it in GCI but i've had no students
 taking this task.

 So i would like to release the work as a set of patches, so this is the
 first part. I'm currently in test phase. but the app looks like it's
 working perfectly, so i would like to know if there is any comment or
 suggestion....

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

Other related posts: