ALSA [was: Re: [PD] [ot] rme hammerfall]
vanDongen/Gilcher
gml at xs4all.nl
Sat Dec 6 11:32:37 CET 2003
In theory you could use the alsa-lib api to look up card names through card
numbers. I think you can "scan" through the asoundrc this way. The
documentation in alsa-lib is pretty much non-existant.
Since the Alsa code in pd was pretty sloppy, the last time I looked, maybe the
whole alsa part should be redone. OTOH if portaudio works, why maintain the
ALSA part?
Gerard
On Saturday 06 December 2003 08:52, Frank Barknecht wrote:
> Hallo,
>
> Ivica Bukvic hat gesagt: // Ivica Bukvic wrote:
> > Completely understandable, but I am wondering can't you specify
> > which Alsa device you are using in Pd?
>
> You could, but you cannot anymore. In Pd (version devel_0_37 from CVS,
> the official doesn't do ALSA at all anymore, I guess, but I'd have to
> look it up) ALSA is treated just like any other soundsystem like OSS,
> in that you can only specify a card number. Above that the Media menu
> allows to specify, if "hw:X" or "plughw:X" is to be used.
>
> Both do not allow customized PCMs, that are defined in an asoundrc.
> For my laptop, I resorted to hardcode my PCM names in the Pd source.
>
> I wonder, if the ALSA backend of PortAudio allows selection of
> asoundrc-defined PCMs in general? I also saw card-counting in the
> source...
>
> ciao
--
electronic & acoustic musics-- http://www.xs4all.nl/~gml
More information about the Pd-list
mailing list