Which API to use for simple clients?
Quoted 7 lines
I have two Audio related projects that need updating.
Both have existing
/dev/dspstyle backends at present, which have been working fine. But recently (SuSE 9.0 install?) when run under ALSA emulation of/dev/dspthey both started producing segfaults - "after program had exited", (neither valgrind nor gdb can give any info on the fault).
Quoted 6 lines
So I decided it was time to do a native ALSA backend(s). I have rsynth backend working, and perl Audio:: one almost working. But before going forward I would like to solicit opinions on what is the "right" API to use.
(please tell me if I missed any):
Portaudio, which gives you macos and windows for free (but of course you must also port the gui stuff...)
Quoted 2 lines
2. ALSA
3. JACK
Do the callbacks once and it's trivial to port to all three of the above in my experience.