[PD-dev] buffer resizing

Tim Blechmann TimBlechmann at gmx.net
Mon Apr 7 16:54:16 CEST 2003


hi developers...

i thought a lot about a buffer resizer that uses an own thread. some
times ago thomas grill wrote, that it's not sure that this prevents
audio dropouts because huge amounts of memory have to be copied...
maybe it's a stupid question, but why is that a problem?
isn't it possible to create a new (resized) audio array in a seperate
thread and edit the pointer to point to the new array. after that you
should free the old array...

i'm not that into the structure of pd, that's why i'm asking...


 Tim                          mailto:TimBlechmann at gmx.net
                              ICQ: 96771783
                              http://www.nyds-exp-discogs.tk
--
The only people for me are the mad ones, the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn,
burn, like fabulous yellow roman candles exploding like spiders across
the stars and in the middle you see the blue centerlight pop and
everybody goes "Awww!"
                                                          Jack Kerouac





More information about the Pd-dev mailing list