Re: [LAD] Program design: C++ -> SHM -> Python

From: <fons@email-addr-hidden>
Date: Sun Dec 26 2010 - 15:02:49 EET

On Sun, Dec 26, 2010 at 12:37:47PM +0000, Harry Van Haaren wrote:

> On Sun, Dec 26, 2010 at 11:20 AM, <fons@email-addr-hidden> wrote:
>
> > Depends entirely on if the delay is acceptable or not. You can send it as
> > a binary blob - encoding each sample would be quite a waste of time.
> >
>
> I should have specified: The data will be the Sample played back by the
> engine,
> and it will be sent to the GUI, to be able to show the waveform / spectral
> etc info.
>
> IMO: Delay acceptable yes. Binary blob is good advice, thanks.

One thing to consider: sending such large blocks of data may block
the sender, so you should not do this from the RT audio processing
thread.

Ciao,

-- 
FA
There are three of them, and Alleline.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Dec 26 16:15:03 2010

This archive was generated by hypermail 2.1.8 : Sun Dec 26 2010 - 16:15:03 EET