Re: [Jack-Devel] driver_null_cycle

PrevNext  Index
DateTue, 14 Jan 2014 22:11:11 -0500
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToMatt Flax <[hidden] at flatmax dot org>
CcJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToMatt Flax [Jack-Devel] driver_null_cycle
Follow-UpMatt Flax Re: [Jack-Devel] driver_null_cycle
On Tue, Jan 14, 2014 at 10:01 PM, Matt Flax <[hidden]> wrote:

> Hi there,
>
> Can someone please clarify the driver_null_cycle function for me ?
>
> The function is defined as so :
> static int you_driver_null_cycle (you_driver_t *driver, jack_nframes_t
> nframes);
>
> My question is w.r.t. the nframes. Is this function meant to flush nframes
> from the audio stream ?
>
> Here is what is written in include/driver.h
>    The JACK engine will call this after the wait function (above) has
>    been called, but for some reason the engine is unable to execute
>    a full "cycle". the driver should do whatever is necessary to
>    keep itself running correctly, but cannot reference ports
>    or other JACK data structures in any way.
>

"the driver should do whatever is necessary to keep itself running
correctly"

that's about the core of it. what that is depends on the driver and in turn
on the device.
PrevNext  Index

1389755486.1294_0.ltw:2,a <CAFa_cK=WEvhdsSmv3btnxN6T=16ae2mYfgCXXaFR02m=YRDkrg at mail dot gmail dot com>