Subject: Re: [ecasound] buffering question
From: janne halttunen (jhalttun_AT_pp.htv.fi)
Date: Tue Dec 31 2002 - 14:00:32 EET
On Fri, 27 Dec 2002 15:16:51 +0000
The Eye <the.eye_AT_gmx.li> wrote:
> On Fri, Dec 27, 2002 at 11:40:32AM +0200, janne halttunen wrote:
> > This was the power of 2 thingie. So you have 64, 128, 256, 512, 1024,
> > 2048, 4096, 8192, 16384, 32768 .. and so on, which you can pass to
> > ecasound as buffer-size values.
> >
>
> apparently not ..
>
> ecasound -b:4096 -i:alsa,default -o:test.wav
> ****************************************************************************
> * ecasound v2.2.0-rc2 (C) 1997-2002 Kai Vehmanen
> ****************************************************************************
> - [ Session created ] ------------------------------------------------------
> - [ Chainsetup created (cmdline) ] -----------------------------------------
> (eca-chainsetup-parser) Setting buffersize to (samples) 4096.
> - [ Connecting chainsetup ] ------------------------------------------------
> (eca-chainsetup) 'rt' buffering mode selected.
> (eca-control) ERROR: Connecting chainsetup failed: "Enabling chainsetup:
> AUDIOIO-ALSA: buffersize 4096 is out of range!"
>
> and so on for anything bigger .. 2048 is the last buffer size of the
> ones you listed that doesn't cause an error here.
>
> ?
This has propably something to do with alsa.
$ ecasound-cvs -b 4096 -i null -o null
works ok.
Maybe you could use big double-buffering buffer instead of this. Or then you could tweak your alsa configuration.
janne
This archive was generated by hypermail 2b28 : Tue Dec 31 2002 - 13:57:15 EET