$ l
totalt 24
-rwxrwxr-x 1 olle olle 39 mar 10 15:06 maker
-rwxrwxr-x 1 olle olle 13240 mar 10 16:02 pcm_avail
-rw-rw-r-- 1 olle olle 3703 mar 10 16:02 pcm_avail.c
olle@xenial32 /media/multimed-2/test/test0/snd_au8820 $ ./pcm_avail
Playback open error: No such file or directory
No, I changed it according to your tips and could compile without complaints.
/* #include <asoundlib.h> */
#include <alsa/asoundlib.h>
$ l multimed- 2/test/ test0/snd_ au8820 $ ./pcm_avail
totalt 24
-rwxrwxr-x 1 olle olle 39 mar 10 15:06 maker
-rwxrwxr-x 1 olle olle 13240 mar 10 16:02 pcm_avail
-rw-rw-r-- 1 olle olle 3703 mar 10 16:02 pcm_avail.c
olle@xenial32 /media/
Playback open error: No such file or directory
Now what?