Re: [linux-audio-user] Instrument Tuner: fmit 0.9.0

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] Instrument Tuner: fmit 0.9.0
From: Jack O'Quin (joq_AT_io.com)
Date: Wed Nov 24 2004 - 03:27:56 EET


Gilles Degottex <gilles.degottex_AT_net2000.ch> writes:

> > The whole point is: In a recording session you set up a certain
> > connection jack <-> fmit. You use fmit -- which has an appetite for cpu
> > cycles -- and then you want to release the cpu from fmit. So you want
> > to halt it's operation.
> >
> > But you don't want to manually setup the connection again. You want to
> > hit a button and have fmit back connected to where you left it.
> > "Preferred jack source" is not always applicable, it's session
> > specific. fmit could remember it's connections and restore them
> > whatever they were, right?

> In a fast research, JACK does not seems to support a "suspend" state or
> something like this, but I'll simulate one. There will be always a little bit
> CPU usage, just enough to raise the jack process function and throw away the
> data.

You could use jack_deactivate(), but then you'd have to restore your
port connections when it's time to jack_activate() again.

  http://jackit.sourceforge.net/docs/reference/html/jack_8h.html#a19

Probably easier and good enough just to return immediately from
process() when "suspended".

-- 
  joq


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Nov 24 2004 - 03:36:41 EET