[alsa-devel] question application playback
Daniel Mack
zonque at gmail.com
Tue Jan 3 13:28:55 CET 2012
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
More information about the Alsa-devel
mailing list