Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <ed@...>
Cc: <linux-audio-dev@...>
Date: Wednesday, March 28, 2012 - 5:55 pm

On Wed, 2012-03-28 at 10:47 -0700, Ed Sweeney wrote:

You're welcome. The capture_client.c example in jack is sort of what
you'd have to do, but only in one direction. Someone else may know of a
more directly applicable example...

(Though, personally I'd suggest using a semaphore if available instead
of a mutex/cond pair; sem_post is the best way to signal from the audio
thread and the signal will always "get through" unlike a trylock.
Semaphores are awesome, it's really a shame that most portability
libraries (and C++0x) don't include them...)

-dr

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

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

Messages in current thread:
Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua, Emanuel Rumpf, (Wed Mar 28, 6:51 pm)
Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua, David Robillard, (Wed Mar 28, 5:45 pm)
Re: [LAD] JACK session API in Perl, Python, Ruby, and Lua, David Robillard, (Wed Mar 28, 5:55 pm)