On Tue, 2006-10-03 at 08:34 +0100, padawan12 wrote:
Isn't the way to solve this problem to preallocate some space and have sndfiler read into that, then swap the pointer?
sndfiler preallocates the buffer, and loads the sound into this memory region ... it's not only swapping one pointer to this memory region ... the whole dsp chain contains pointers to this region and has thus has to be updated ... the bottleneck is the pd kernel itself, not the external
i suggested two changes:
maybe one of these solutions will make it into the pd kernel before 2015 ...
so, blame pd, not sndfiler ...
cheers ... tim
-- tim@klingt.org ICQ: 96771783 http://www.mokabar.tk
Nothing exists until or unless it is observed. An artist is making something exist by observing it. And his hope for other people is that they will also make it exist by observing it. I call it 'creative observation.' Creative viewing. William S. Burroughs