New topic: 

Ring Buffers and Queues

<http://forums.realsoftware.com/viewtopic.php?t=38217>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        mark.gregory          Post subject: Ring Buffers and 
QueuesPosted: Sat Mar 19, 2011 8:08 pm                         
Joined: Thu Jan 07, 2010 7:57 am
Posts: 43
Location: Solihull UK                Does anyone have any thoughts on how to 
craft a queue or a ring buffer in RB
I have several samples of audio that I want one routine to populate and another 
to play to keep them
seamless

I did think of an array or use an array of memory blocks.

The data is normal utf8 stuff

Mark   
                             Top                 mjh          Post subject: Re: 
Ring Buffers and QueuesPosted: Sun Mar 20, 2011 6:48 am                         
        
Joined: Sun Feb 19, 2006 3:10 pm
Posts: 1151
Location: Hamburg, Germany                If the size is fixed or limited you 
could use an array; otherwise I would suggest using a linked list of objects.   
   
_________________
Michael J. Hußmann 
http://digicam-experts.de  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to