Re: [LAD] Communicating between python UI and C++ engine for real time audio?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Thursday, November 3, 2011 - 8:13 pm

--20cf303f6700a4613204b0da10b7
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Nov 3, 2011 at 1:39 PM, Paul Davis wrote:

> no, using a protocol like OSC doesn't solve the basic problem: making

Yes, sorry must not have made myself clear :)

Currently using the jack ringbuffer as a RT queue. Thought of a nice
abstraction of the "one way only" problem too:
Just wrap two ringbuffers into a single class, and then have two set / get
functions.

Basically one "RtQueue" instance can pass messages back and forth between
two threads lock free.
I'd like to improve it so that one get / set method is there, and its
thread-aware so it will automatically push / pull to the right ringbuffer.
But that's a touch hard for me as I'm using GLib threads and finding which
thread is running is something i can't do yet :D

-Harry

--20cf303f6700a4613204b0da10b7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 3, 2011 at 1:39 PM, Paul Davis <paul@linuxau=
diosystems.com
> wrote:
no, using a protocol like OSC doesn't solve the basic problem: making
changes to data structures used by the RT code when those changes
can't be done with RT constraintsYes, sorry m=
ust not have made myself clear :)Currently using the jack ringbuffe=
r as a RT queue. Thought of a nice abstraction of the "one way only&qu=
ot; problem too:
Just wrap two ringbuffers into a single class, and then have two set / get =
functions.Basically one "RtQueue" instance can pass messa=
ges back and forth between two threads lock free.I'd like to improv=
e it so that one get / set method is there, and its thread-aware so it will=
automatically push / pull to the right ringbuffer. But that's a touch =
hard for me as I'm using GLib threads and finding which thread is runni=
ng is something i can't do yet :D
-Harry

--20cf303f6700a4613204b0da10b7--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] Communicating between python UI and C++ engine for..., Harry van Haaren, (Thu Nov 3, 8:13 pm)
Re: [LAD] Communicating between python UI and C++ engine for..., Gabriel M. Beddingfield, (Thu Nov 3, 2:05 am)
Re: [LAD] Communicating between python UI and C++ engine for..., Vytautas Jancauskas, (Thu Nov 3, 7:49 am)