Hi It's good to work with pointers, as Nick pointed out.
If that is not possilbe for any reason, an options is to use a (pre-allocated) memory pool. You might want to examine this library : TLSF http://www.gii.upv.es/tlsf/ " I could allocate in the non-realtime thread and then pass memory over in queues. " That could be feasable. - E.R. _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev