3 Jan
2012
3 Jan
'12
1:28 p.m.
On 01/03/2012 01:23 PM, Ricardo Barbosa wrote:
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");
MP3s are compressed audio files that cannot be used directly with the ALSA API. If you have to use mp3 files, have a look at libmpg123 or use a higher level interface in the first place, for example GStreamer.
Daniel