Skip to contentSkip to conversation

A Minimal Playback Program does't work on my system

DISCUSSION Carpon frédéric 3 participants 3 messages Aug 14, 2014

lore
Share & tools
lore
#0 lore raw

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 ?

#1 lore raw

Hi

Quoted 10 lines · Carpon frédéric

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 9 lines
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)

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