[alsa-devel] A Minimal Playback Program does't work on my system

Carpon frédéric frederic.carpon at yahoo.fr
Thu Aug 14 18:42:03 CEST 2014


Hello,

I am new 

System : Raspberry
Linux: ArchLinuxArm

I would like to run this exemple of A Minimal Playback Program from here : Howto use the ALSA API
from the page Tutorials for application developers but there is a bug :
i have done
> pacman -sy
> pacman -s alsa-utils
 to install the last alas-utils
done gcc exemple.c -lasound (warning comes)
and ./a.out my_file.wav 
and the result is :
"AlSA lib pcm.2239:(and_pcm_open_noupdate) Unknown PCM my_file.wav "
cannot open audio device my_file.wav (No such file or directory)


Can you help me please ?


More information about the Alsa-devel mailing list