![](https://secure.gravatar.com/avatar/5388769d10f9e13e4de14f11613554aa.jpg?s=120&d=mm&r=g)
3 Jan
2012
3 Jan
'12
1:23 p.m.
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.