[LAD] a *simple* ring buffer, comments pls?

Paul Davis paul at linuxaudiosystems.com
Mon Jul 11 22:34:26 UTC 2011


On Mon, Jul 11, 2011 at 6:27 PM, Robin Gareus <robin at gareus.org> wrote:
> On 07/12/2011 12:12 AM, Arnold Krille wrote:

>> Real-time means "as fast as possible".
>
> No, "real-time" means - _guaranteed_ to be done before time X.
> AKA. guaranteed response time.

and in an audio context, for developers of applications, real time means:

   time to process N audio frames = (A * number_of_frames) + B

where A and B are constants. that is, you have a fixed amount of
computation per frame, plus a constant overhead.

this is an *ideal* - its not often actually accomplished in real life.



More information about the Linux-audio-dev mailing list