Re: [LAD] Tutorial for programming with JACK

From: Kjetil Matheussen <k.s.matheussen@email-addr-hidden>
Date: Thu Mar 08 2012 - 14:21:42 EET

Emanuel Rumpf:
>
> Am 8. M?rz 2012 01:08 schrieb <kallipygos@email-addr-hidden>:
>>
>> It is possible with (curses-ansi escapes) TUI vary sine parameters -
>> Frequency and amplitude.
>>
> Possible with restrictions:
> You cannot call blocking functions in jacks process() function.
> Thus non-blocking inter-thread communication may be necessary.
>
>>
>> Is it possible this program __as_is__ rewrite for jack output ?
>>
>
> Jack Audio uses a _callback_ based api.
> What you have there is not.
>
> You could re-use the above code with simple adjustments
> by adding an additional bridging library.
> (Eventually causing loss of realtime capabilities.)
>
> Look at :
>
> bio2jack -- http://bio2jack.sourceforge.net/
>

Shouldn't be used. bio2jack both allocates memory and locks a mutex in
the process callback.
(yes, it still does, look at the code on sourceforge)

> jackasyn --
>
> http://packages.debian.org/search?suite=default&section=all&arch=any&searchon=sourcenames&keywords=jackasyn
> (I couldn't find its original home)

Good advice. jackasyn is made properly.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Thu Mar 8 16:15:01 2012

This archive was generated by hypermail 2.1.8 : Thu Mar 08 2012 - 16:15:01 EET