29 Dec
2015
29 Dec
'15
12:16 p.m.
Hi there
Rob van der Putten wrote:
On my box the snd_rawmidi_ stuff is in /usr/include/alsa/rawmidi.h /usr/include/alsa/asoundlib.h includes alsa/rawmidi.h, so a #include <alsa/asoundlib.h> in the c file should do.
I compile with cc -Wall -lasound -o foo foo.c
Actually cc -Wall -O2 -lasound -o foo foo.c
Hope this helps.
Regards, Rob