Hi Wini,
Thanks for this (I'll buy you a beer in Graz...) I think the best way to use it is to call the alsamm functions automatically if the regular (interleaved non-mmap) mode isn't available. I put a non-interleaved non-mmap attempt in s_audio_alsa.c, but apparently the alsa driver simply doesn't work for that case (crashes the machine) so I won't mind simply replaceing that with the code you wrote. Then there won't have to be an extra API choice...
I'll try rolling this into my upcoming 0.38. Unfortunately the code is broken in other respects right now and wouldn't be suitable for checking into CVS; so I'll just upload a tarball for people to grab if they want to try it.
cheers Miller
On Fri, Aug 06, 2004 at 04:47:19PM +0200, Winfried Ritsch wrote:
Hello,
PD's ALSA Interface is not working with Hammerfall RME96xx, HDSP96xx and HDSP-MADI cards, since we need this I have implemented a seperate ALSAMM Interface. I can get good latency responses (6.9ms stable) and also added multicard support.
For a first try you can get it here:
http://puredata.org/Members/ritsch/pd_alsa_mmap
I dont know if I should or someone else will insert this in cvs (since I have no access to pd-cvs at the moment) and make maybe a alsamm branch for first implementations until several poeple have reported it stable (or noone reported it broken in one month ;-))) before do a merge.
Any suggest ?
Please report sucessfull usage and the configuration used.
mfg Winfried Ritsch
--
- ao.Univ.Prof. DI Winfried Ritsch
- ritsch@iem.at - http://iem.at/ritsch
- Institut fuer Elektronische Musik und Akustik
- University of Music and Dramatic Art Graz
- Tel. ++43-316-389-3510 (3170) Fax ++43-316-389-3171
- PGP-ID 69617A69 (see keyserver http://wwwkeys.at.gpg.net/)
--
PD-dev mailing list PD-dev@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-dev