[alsa-devel] Rawmidi

Rob van der Putten rob at sput.nl
Tue Dec 29 12:16:49 CET 2015


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



More information about the Alsa-devel mailing list