Dave Phillips said at ÒRe: [CUD] new alsa code in 2 parts, part 1Ó.
[2002/02/02 17:59]


>   Btw, I noticed that settings for -b and -B are indeed critical. I can
> use -b 64 safely, as well as -B 512 and -B 1024. Other values ususally
> result in an "end_of_audio_file" message (or something like that). It
> would be best if those values remained user-supplied, but perhaps
> there's a problem with buffer sizes for certain cards ?
>

This may have to do with the way the read is started. I'm not giving an
explicit 'go' but the pcm should start after a  number of sample frames is
read in the ringbuffer.
Also there are limitations on the possible size of the ringbuffer. But the
code should set the nearest size  that the card can handle to the one given
with -B or -b.
It would be nice if there are default values that will work in almost all
cases.


regards

Gerard
_______________________________________________
[EMAIL PROTECTED] mailing list
http://www.mindrot.org/mailman/listinfo/csound-unix-dev

Reply via email to