[linux-audio-dev] Jack and sample rate conversion : realtime or not ?

Jack O'Quin joq at io.com
Thu Mar 24 00:55:55 UTC 2005

Olivier Guilyardi <ml at xung.org> writes:

> Hi,
> If playing a sound file that has a different framerate from Jack, using
> libsamplerate, should I :
> - convert in real time, in the process callback ?
> - convert the whole file into memory when loading it ?
> Actually, I've already coded the second option, but just discovered the
> jack_set_samplerate_callback() method, which seems to require the
> first option... Is it important to support framerate changes while
> rolling ?

No.  That callback has never been implemented and may very likely be
removed from the interface.

More information about the Linux-audio-dev mailing list