Re: [ecasound] ecasound and ALSA (Re: 0.9.0beta1 is out)

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] ecasound and ALSA (Re: 0.9.0beta1 is out)
From: Jeremy Hall (jhall@uu.net)
Date: Thu Feb 22 2001 - 13:04:44 EET


uh my personal preference is for -z:xruns to be a .ecasoundrc or usually
on but you can turn it off. which is the default?

_J

In the new year, Kai Vehmanen wrote:
> Ok, this bug is now fixed in the ALSA CVS-tree. As far as I know, the
> latest ecasound (1.9dev3 in the CVS-tree) now works without problems with
> ALSA. Here's a short syntax summary:
>
> # ALSA pcm-device names, here device "sb" is used
> # for playback (defined in ~/.asoundrc)
> ecasound -i file.wav -o alsa,sb
>
> # explicit ALSA pcm-hw access (card, device[, subdev])
> ecasound -i file.wav -o alsahw,0,0
>
> # explicit ALSA pcm-plugin access
> ecasound -i file.wav -o alsaplugin,0,0
>
> # ALSA OSS-emulation (snd-*-oss modules loaded)
> ecasound -i file.wav -o /dev/dsp0
>
> # OSS-emulation with libaoss (only native ALSA modules loaded)
> export LD_PRELOAD=libaoss.so
> ecasound -i file.wav -o /dev/dsp0
>
> ... and of course, same syntax for capture/recording. As for
> playback reliability and latency, here're some useful ecasound options:
>
> -r
> - change to SCHED_FIFO scheduling (requires root priviledges)
> -z:db
> - use double-buffering for disk i/o (defaults to 100000 sample
> frames per audio object)
> -z:nointbuf
> - limit buffering done by ALSA to 3 fragments
> -z:xruns
> - stop if under/overruns occur
> -b:sample_frames
> - set internal buffersize (=fragment size, period time, etc),
> defaults to 1024 sample frames
>
> On Thu, 22 Feb 2001, Abramo Bagnara wrote:
>
> > Kai Vehmanen wrote:
> > >
> > >
> > > 2) .. but fails with snd-pcm-oss modules
> > >
> > > - /dev/dsp opened in o_wronly mode
> > > - SNDCTL_DSP_GETCAPS ioctl reports that trigger is supported
> > > - SNDCTL_DSP_SETTRIGGER fails with errno 77
> >
> > Fixed now.
> >
> >
>
> --
> . http://www.eca.cx ... [ audio software for linux ] /\ .
> . http://www.eca.cx/sculpscape [ my armchair-tunes mp3/ra/wav ]
>
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request@wakkanet.fi>.
>

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Feb 22 2001 - 15:18:49 EET