Hi all, Attached is a ALSArtaudio_block.c and a getlongopts.c, changed to conform to the new 0.9 ALSA api.
It works on my system, but that is no guarantee of course. Please try it out. The changes in the options are: --incard and --outcard now need strings, f.i. hw:0,0 or whatever you have setup in your .asoundrc As a short form, I picked -y and -Y to do the same thing. (not the most logical letters, but not that many are left free in csound.) I think it would be nice to eventually change this so you can use the normal -i and -o files. F.i like ecasound : preface the device with 'ALSA:' Another oddity I didn't have the time to track down, is that realtime input only works if you specify the --sched options, even if it fails to setup its priority scheduling. Otherwise csound gives an 'end of inputfile' message and tops the sound input. Did this happen in the previous ALSA version? regards Gerard
ALSArtaudio-block.c
Description: Binary data
getlongopts.c
Description: Binary data