[LAU] Re: Jackmp - libjackdmp.so

Fons Adriaensen fons at kokkinizita.net
Tue Aug 21 06:18:49 EDT 2007


On Tue, Aug 21, 2007 at 11:39:12AM +0200, Fons Adriaensen wrote:

> - Why does Alsaplayer wrongly think it can't connect to jackdmp ?

Because it doesn't read the sample rate, but counts on jackd 
calling the sample rate callback. Apparently jackdmp doesn't
do this. The main code thinks that the jack interface failed
when it sees a sample rate of zero. Then it opens OSS (!!!)

> - Why, if that happens, it falls back on ALSA while the user has
>   clearly requested to use JACK ?

IMHO it should _never_ do this. Starting to play on a interface
that the user has  not specified - and even specifically excluded
by requesting another one - is as wrong as writing to a random
existing file when the one specified can't be opened.

-- 
FA

Follie! Follie! Delirio vano è questo !





More information about the Linux-audio-user mailing list