discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Interfacing GNURadio with other software


From: Frank Brickle
Subject: Re: [Discuss-gnuradio] Interfacing GNURadio with other software
Date: Tue, 12 Dec 2006 10:25:49 -0500
User-agent: Thunderbird 1.5.0.8 (X11/20061115)

Eric A. Cottrell wrote:

>  Is there a loopback audio device, maybe using Jack? 

This is exactly the sort of thing jack was designed to do. You can
think of jack as providing virtual patchcords among the inputs
and/or outputs of all the audio applications you have running.

What you have to be aware of is that all the applications using
jack have to share a common sampling rate and fundamental buffer
size. An individual app that uses a different rate or internal
buffer size is reponsible for rebuffering and resampling. Jack
provides lock-free ringbuffers to smooth out things like that.

In addition, each link in a chain of jack-connected applications
increases the latency of the final output by one buffer. If you
want to minimize total latency, it's best to put as many
processing steps as possible into a single jack application. For
that reason, some algorithms are better realized as plugins rather
than standalone applications. The plugin API's are well-developed
and straightforward, and there are a number of existing
applications which act as little more than skeletons for plugins.

73
Frank
AB2KT





reply via email to

[Prev in Thread] Current Thread [Next in Thread]