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

From: Stéphane Letz <letz@email-addr-hidden>
Date: Tue Aug 21 2007 - 20:02:27 EEST

>
> Message: 5
> Date: Tue, 21 Aug 2007 12:18:49 +0200
> From: Fons Adriaensen <fons@email-addr-hidden>
> Subject: Re: [LAU] Re: Jackmp - libjackdmp.so
> To: linux-audio-user@email-addr-hidden
> Message-ID: <20070821101849.GC6214@email-addr-hidden-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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
Received on Tue Aug 21 20:15:02 2007

This archive was generated by hypermail 2.1.8 : Tue Aug 21 2007 - 20:15:02 EEST