[LAU] Re: Re: Jackmp - libjackdmp.so (Fons Adriaensen)

Stéphane Letz letz at grame.fr
Tue Aug 21 13:02:27 EDT 2007


>
> Message: 5
> Date: Tue, 21 Aug 2007 12:18:49 +0200
> From: Fons Adriaensen <fons at kokkinizita.net>
> Subject: Re: [LAU] Re: Jackmp - libjackdmp.so
> To: linux-audio-user at lists.linuxaudio.org
> Message-ID: <20070821101849.GC6214 at linux-2.site>
> Content-Type: text/plain; charset=iso-8859-1
>
> 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 (!!!)


Just stupid. sample rate callback has been deprecated i think....

i guess reading the sample rate with jack_get_sample_rate should work



>
>> - 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.
>


Hum also...


Stephane 



More information about the Linux-audio-user mailing list