[LAD] jack samplerate/buffersize callbacks

James Warden warjamy at yahoo.com
Sat Sep 5 12:23:41 UTC 2009


guitarix allows this too from its main menu, so that the user can modify the latency during a session.

J.

--- On Sat, 9/5/09, Gabriel M. Beddingfield <gabriel at teuton.org> wrote:

> From: Gabriel M. Beddingfield <gabriel at teuton.org>
> Subject: Re: [LAD] jack samplerate/buffersize callbacks
> To: "cal" <cal at graggrag.com>
> Cc: Linux-audio-dev at lists.linuxaudio.org
> Date: Saturday, September 5, 2009, 8:16 AM
> 
> Hi Cal,
> 
> On Sat, 5 Sep 2009, cal wrote:
> 
> > I can't quite figure it out, can anyone tell me the
> circumstances that would
> > lead to jack reporting a change to
> samplerate/buffersize on the fly?
> > 
> > cheers, Cal
> 
> It's part of the API of JACK... so any application can
> cause it to happen for any reason.  It usually doesn't
> happen automatically, but as the result of a user's
> interaction.
> 
> For example, the attached C++ program gives you a
> command-line tool to change the buffersize on the fly. 
> Compile & run it like this:
> 
>    $ g++ -o jack_set_buffer_size
> jack_set_buffer_size.cpp -ljack
>    $ ./jack_set_buffer_size 1024
> 
> It's pretty simple to write a similar app. for samplerate.
> 
> HTH,
> Gabriel
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
> 


      



More information about the Linux-audio-dev mailing list