All of lore.kernel.org
 help / color / mirror / Atom feed
* A Minimal Playback Program does't work on my system
@ 2014-08-14 16:42 Carpon frédéric
  2014-08-14 16:44 ` Michael Trimarchi
  2014-08-14 17:34 ` Clemens Ladisch
  0 siblings, 2 replies; 8+ messages in thread
From: Carpon frédéric @ 2014-08-14 16:42 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

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 ?

^ permalink raw reply	[flat|nested] 8+ messages in thread
* A minimal playback program does't work on my system
@ 2014-08-15 17:19 Carpon frédéric
  2014-08-15 17:31 ` Michael Trimarchi
  2014-08-16  0:36 ` Joël Krähemann
  0 siblings, 2 replies; 8+ messages in thread
From: Carpon frédéric @ 2014-08-15 17:19 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hello,

Yesterday i have written.
I answer to everybody. I am new and I don't know if there is special rule. 
Note : It would be good to have a forum to see the messages and answers in a pretty form. 

the programme in c comes from 

http://equalarea.com/paul/alsa-audio.html
you can download it at
https://mon-partage.fr/f/uvyw39wo/

To answer to Michael i have sound in my HDMI with that : 
>speaker-test -c2 -D hw:0,0

so i did that 
>gcc -o    minimal_playback     minimal_playback.c     -lasound (warning comes)
and
>./minimal_playback "plughw:0,0"
and i have this result :
>Error of segmentation

Where i can an exemple with the possibility to do something like that  :
>./minimal_playback  "plughw:0,0"  "mywave.wav"


Thank you for your help

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-16 11:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-14 16:42 A Minimal Playback Program does't work on my system Carpon frédéric
2014-08-14 16:44 ` Michael Trimarchi
2014-08-14 17:34 ` Clemens Ladisch
  -- strict thread matches above, loose matches on Subject: below --
2014-08-15 17:19 A minimal playback program " Carpon frédéric
2014-08-15 17:31 ` Michael Trimarchi
2014-08-16 11:50   ` Michael Trimarchi
2014-08-16 11:52     ` Michael Trimarchi
2014-08-16  0:36 ` Joël Krähemann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.