A Minimal Playback Program does't work on my system
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
Quoted 2 lines
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 ?
Hi
Quoted 10 lines · Carpon frédéric
Hello,
I am new
System : Raspberry
Linux: ArchLinuxArmI 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
Quoted 9 lines
Quoted 2 lines
pacman -sy
pacman -s alsa-utilsto install the last alas-utils
done gccexemple.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
Quoted 6 lines
Can you help me please ?
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 2 lines · Carpon frédéric
./a.out my_file.wav
"AlSA lib pcm.2239:(and_pcm_open_noupdate) Unknown PCM my_file.wav "
The parameter must be a sound device name (like "default").
Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel