On Wed, 7 Aug 2013 08:01:14 +0200
Max Kellermann <m...@duempel.org> wrote:

> On 2013/08/07 04:19, Alexis Ballier <aball...@gentoo.org> wrote:
> > Allocate the buffer as needed instead of relying on an arbitrary
> > constant that might not be enough.
> 
> That allocates a new buffer for each frame.  I consider that
> unnecessary overhead.

not much more than the current code that does it for each packet
(there's usually only one frame per packet), but yes this can be
improved. let me resend a better patch.

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to