All of lore.kernel.org
 help / color / mirror / Atom feed
* question application playback
@ 2012-01-03 12:23 Ricardo Barbosa
  2012-01-03 12:28 ` Daniel Mack
  2012-01-03 12:30 ` Irfan shaikh
  0 siblings, 2 replies; 9+ messages in thread
From: Ricardo Barbosa @ 2012-01-03 12:23 UTC (permalink / raw)
  To: Alsa-devel@alsa-project.org

Hi all.


I am new to development using the alsa API and follow the link code http://equalarea.com/paul/alsa-audio.html

insert the following code.

 FILE *fp;
 fp = fopen("file.mp3", "r");
 fclose(fp);

and changed variable buf by the variable fp, but by running the file file.mp3 he does not play according to the way it interferes with the function snd_pcm_writei ? someone could help me in developing this playback, I thank

Regards.

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

end of thread, other threads:[~2012-01-30  2:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-03 12:23 question application playback Ricardo Barbosa
2012-01-03 12:28 ` Daniel Mack
2012-01-03 12:49   ` Vinod Koul
2012-01-03 12:30 ` Irfan shaikh
2012-01-04  5:52   ` Rajeev kumar
2012-01-04 13:33     ` Vinod Koul
2012-01-29  6:31       ` Wang Xingchao
2012-01-29 15:51         ` Gabriel M. Beddingfield
2012-01-30  2:25           ` Wang Xingchao

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.