Re: [LAD] opinions wanted on a couple of architecture questions

From: Iain Duncan <iainduncanlists@email-addr-hidden>
Date: Fri Dec 09 2011 - 22:07:35 EET

> - how should one handle memory management of the messages? Is it ok for
> Engine to allocate memory for new
> messages and have them destroyed on receipt,
> - or should I have queue delete the memory and return by value when
> messages are fetched?
> - what is the crustimony proceedcake for allocated memory from an engine?
>

Oops, perhaps I missed the boat on the ringbuffer, is the whole point that
with a ring buffer the memory for the max number of messages is
pre-allocated and we can just call by value in and out of the ringbuffer
without any memory management?

thanks
Iain

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Dec 10 00:15:03 2011

This archive was generated by hypermail 2.1.8 : Sat Dec 10 2011 - 00:15:03 EET