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

Michael Trimarchi michael at amarulasolutions.com
Thu Aug 14 18:44:30 CEST 2014


Hi

On Thu, Aug 14, 2014 at 6:42 PM, Carpon frédéric
<frederic.carpon at yahoo.fr> wrote:
> 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)
>

I don't see the code, btw. Have you tested on a desktop?

Michael

>
> Can you help me please ?
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


More information about the Alsa-devel mailing list