[PD-dev] alsa rme pd again

=?X-UNKNOWN?Q?g=FCnter_geiger?= geiger at xdv.org
Tue Aug 13 11:15:58 CEST 2002


On Tue, 13 Aug 2002, Orm Finnendahl wrote:
> I got the new RME card and since jack doesnt't work properly on my
> laptop,

What kind of problems do you have ?

> The patch makes pd work with all cards, which work with the snd
> program of Bill Schottstaedt (also the RME 9652). For the Hammerfall
> to work you have to set an environment variable
> $SNDLIB_ALSA_PLAYBACK_DEVICE to "default:0,0". This is an ALSA
> software layer which converts the interleaced samples into non
> inteleaved. And of course you need to have the sndlib installed.

The problem with this solution is that we are first converting from
non-interleaved into interleaved and then back into non-interleaved.

In the OSS portion of pds code this is handled the proper way.
There is no unecessary conversion done.

The ALSA code in pd is just missing the direct way, that is, sending
non-interleaved samples.

Guenter

>
> I could send the patch but would prefer Stefan doing it, as it's his
> work and he only sent me a preliminary hack shortly before I had to
> head off for the workshop.
>
>
> Yours,
> Orm
>
> P.S.: It might be a good idea to add a configure flag like
> --with-sndlib to compile pd against this library for future releases
> as it seems to be a cleaner interface to ALSA than the old pd code.
>




More information about the Pd-list mailing list