[haiku-bugs] Re: [Haiku] #4954: Proliferation of BBuffer instances when playing sound

  • From: "Barrett" <trac@xxxxxxxxxxxx>
  • Date: Thu, 11 Jun 2015 14:55:22 -0000

#4954: Proliferation of BBuffer instances when playing sound
------------------------------+-------------------------
Reporter: Adek336 | Owner: axeld
Type: bug | Status: in-progress
Priority: normal | Milestone: R1
Component: Kits/Media Kit | Version: R1/alpha1
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
------------------------------+-------------------------

Comment (by Barrett):

I've continued my work on BBufferGroup and BBuffer in a branch :

https://github.com/Barrett17/haiku/commits/bbuffergroup_refactor

This is an initial cleanup, i've tried to improve efficiency and it's
solving the possible problem of adding the same buffer id multiple times
in a group by checking it. While the final aim would be to solve the
BBuffer proliferation (by making the reference count system to work) i
think it's better to submit this first part instead to cumulate commits.

--
Ticket URL: <https://dev.haiku-os.org/ticket/4954#comment:8>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: