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

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

 



Gilles Degottex <gilles.degottex@xxxxxxxxxx> 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

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux