No, I changed it according to your tips and could compile without complaints.
/* #include <asoundlib.h> */ #include <alsa/asoundlib.h> $ 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 Now what? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1551041 Title: snd_au8820 0000:01:04.0: BUG: , pos = 16386, buffer size = 16384, period size = 1024 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1551041/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs