🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #143

Re: memory fragmentation

#143
From: Mark Jacobs
Date: Mon, 16 May 2005 15:19
11 lines
1550 bytes
Jonathan Benedicto wrote:
> Actually, if I do create a new buffer every time I need it, then the 
> clicks disappear. It's just when I re-use one of those buffers that 
> they come.

So, why not do that, and free the buffer after use. If allocating a new one 
every time and freeing it afterwards, means you get clickless playback, then 
use that. But I must admit, I am mystified by your problem.
-- 
Mark Jacobs
http://www.dkcomputing.co.uk
Technical Details
Message-ID: <4288b9ba@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42851140$1@newsgroups.borland.com> <428861c0@newsgroups.borland.com> <4288899b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,6e41daf58c14cc3a
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 16 May 2005 16:19:12 +0100
From: Mark Jacobs <http://www.jacobsm.com/mjmsg.htm?mj@critical>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Re: memory fragmentation
References: <42851140$1@newsgroups.borland.com> <428861c0@newsgroups.borland.com> <4288899b@newsgroups.borland.com>
In-Reply-To: <4288899b@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.144.157.8
Message-ID: <4288b9ba@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1116256698 81.144.157.8 (16 May 2005 08:18:18 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!mpls-transit-01.news.qwest.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail