Csound Csound-dev Csound-tekno Search About

[Cs-dev] Bug report: cs5 and recent version of jack

Date2005-03-11 08:09
FromOlivier =?iso-8859-1?b?RG9hcuk=?=
Subject[Cs-dev] Bug report: cs5 and recent version of jack
Hello,

When compiled and run with jack v0.99.50, i get the following error with fl.csd:

 *** openJackStream(): error setting JACK buffer size
Failed to initialise real time audio input
inactive allocs returned to freespace


Note that everything works fine with 0.99.22.

--
Olivier


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-11 11:14
FromIstvan Varga
SubjectRe: [Cs-dev] Bug report: cs5 and recent version of jack
Olivier Doaré wrote:

> When compiled and run with jack v0.99.50, i get the following error with fl.csd:
> 
>  *** openJackStream(): error setting JACK buffer size
> Failed to initialise real time audio input
> inactive allocs returned to freespace
> 
> 
> Note that everything works fine with 0.99.22.

Are you running Csound with the same setting for -b that you
use as JACK period size ? I mean something like this:

   jackd -d alsa -p 128 ...
   csound -b 128 ...

Also, make sure that both -b and -B are power of two, and -B
is higher than -b.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-11 12:53
FromOlivier =?iso-8859-1?b?RG9hcuk=?=
SubjectRe: [Cs-dev] Bug report: cs5 and recent version of jack
Ok, thank you. Everything works fine now. I should have found it myself, sorry.
The problem is that my version 0.99.22 of jack allowed a program to change
buffer size of jack when running. So i did not need to care about buffer size
with csound.

It *seems* that v0.99.50 doesn't allow anymore to change buffer size, the reason
of the error. I don't know if the developpers have disabled the feature or if it
is now a compile time, i will check.

Thanks for the response, so it was not a bug, Csound5 is bug free! ;)

--
Olivier


Selon Istvan Varga :

> Olivier Doaré wrote:
>
> > When compiled and run with jack v0.99.50, i get the following error with
> fl.csd:
> >
> >  *** openJackStream(): error setting JACK buffer size
> > Failed to initialise real time audio input
> > inactive allocs returned to freespace
> >
> >
> > Note that everything works fine with 0.99.22.
>
> Are you running Csound with the same setting for -b that you
> use as JACK period size ? I mean something like this:
>
>    jackd -d alsa -p 128 ...
>    csound -b 128 ...
>
> Also, make sure that both -b and -B are power of two, and -B
> is higher than -b.


--


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net