MP3 player - a minimal software application able to load and play a MP3 file
Romanian flag

      This MP3 audio files player, build for a Windows Embedded ARM operating system (Pocket PC build), offers the basic functions of an audio player: a select button, a play button, a stop button and a progress bar which displays the current song/playback time.
The main issue encountered in the creation of this MP3 player was the searching of an audio library which could offer support for both Windows Embedded and ARM (Pocket PC  - ARMv4 architecture). The majority of the audio libraries (DSHOW, DIRECT SOUND) can’t be used for Windows Embedded applications.
      FMOD SOUND SYSTEM is one of the audio libraries which can offer support for Windows Embedded too. It has a variety of functions specific to audio files.
      With only two functions, FSOUND_STREAM_OPEN (or FSOUND_SAMPLE_LOUD  if the audio file has a small dimension, KB order) and FSOUND_STREAM_PLAY, it  was possible to play a MP3  audio file on a real embedded – the application was tested on OMAP3430 EVM and simulated ARM device (Pocket PC). The FMOD library contains two APIs: FMUSIC and FSOUND.  FMUSIC plays .MOD, .S3M, .XM, .IT, .MID audio file formats. FSOUND plays .MP2, MP3, .WAV, .OGG, .RAW audio file formats. The FMOD SOUND SYSTEM library is an open source and this can be considered a great advantage.
      The selection of the audio file was made through CFileDialog which allows to open or to save a file.
      To use the functions of FMOD library the header (fmod.h) and the fmodce.lib must be included into the Visual Studio project. Since, this is an application for ARM devices (Pocket PC) with Windows Embedded operating system, the WINCE library version was used (you can download this library from here).

      Before you use the MP3 player upload the fmodce.dll in folder's application (see the following picture).

      In conclusion, the MP3 Player was made in a simple manner, through the audio library FMOD, the code being easy to implement.

The program was build in Visual Studio 2008 environment based on MFC Smart Device Application template and tested on OMAP3530 EVM board and Pocket PC 2003 SDK.
Download the program code source

first MP3 player screenshot     the second MP3 player screenshot

Back
Main Frame (acces to all the site)
Course of Intelligent Embedded Systems
"Gheorghe Asachi" Technical University of Iasi
Faculty of Electronics, Telecommunications and Information Technology
Associate Professor Dan Marius Dobrea