Click here to Skip to main content
15,298,794 members
Articles / Desktop Programming / MFC
Posted 3 Jan 2005


34 bookmarked

Little Audio Player

Rate me:
Please Sign up or sign in to vote.
1.44/5 (19 votes)
3 Jan 2005
This article demonstrates a very simple way to play MP3 files and with a very efficient programming engine from FMOD.

Sample Image


The article I will present is nothing much really. I just tried to make a very good copy of Winamp. The SDK can easily be found on here with full support even for Linux OS-s and with all the documentation you need.

Using the code

The code is really very easy to use. The functions from the FMOD SDK look like this:

int index,
const char *name_or_data,
unsigned int inputmode,
int offset,
int length


int channel,

The SDK from FMOD is very useful. The thing I liked about it is that it loads and decodes a static sound file into memory. This includes such files as .WAV, .MP2, .MP3, .OGG, .RAW and others. There is no big deal to explain about the code because it is all in the documentation. I posted this article for the ones that need a very powerful and easy to use SDK for game developing.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Software Developer
Romania Romania
I love VC++

Comments and Discussions

QuestionArray Pin
khalil2me26-Jun-07 9:57
Memberkhalil2me26-Jun-07 9:57 
Generalhelp me !! Pin
MoNa MoOn17-May-06 22:56
MemberMoNa MoOn17-May-06 22:56 
AnswerRe: help me !! Pin
TowerTurtle18-Aug-08 13:34
MemberTowerTurtle18-Aug-08 13:34 
Generalfmod library Pin
kamax831-Mar-06 10:17
Memberkamax831-Mar-06 10:17 
GeneralRe: fmod library Pin
gamitech1-Mar-06 13:34
Membergamitech1-Mar-06 13:34 
QuestionRe: fmod library Pin
indee4u21-Jun-07 0:25
Memberindee4u21-Jun-07 0:25 
AnswerRe: fmod library Pin
indee4u21-Jun-07 4:16
Memberindee4u21-Jun-07 4:16 
AnswerRe: fmod library Pin
indee4u21-Jun-07 4:18
Memberindee4u21-Jun-07 4:18 
GeneralRe: fmod library Pin
RomeoRus7772-Dec-06 21:37
MemberRomeoRus7772-Dec-06 21:37 
GeneralRe: fmod library Pin
sfengtfw26-Mar-07 17:07
Membersfengtfw26-Mar-07 17:07 
Questionhi,can your liberary be used for commercial intention? Pin
suchuhui1-Dec-05 16:44
Membersuchuhui1-Dec-05 16:44 
AnswerRe: hi,can your liberary be used for commercial intention? Pin
gamitech5-Dec-05 3:39
Membergamitech5-Dec-05 3:39 
GeneralFMOD's commerical license isn't free Pin
Markus000016-Nov-05 3:24
MemberMarkus000016-Nov-05 3:24 
GeneralMemory leaks Pin
Roger655-Jan-05 4:21
MemberRoger655-Jan-05 4:21 
GeneralRe: Memory leaks Pin
gamitech6-Jan-05 8:51
Membergamitech6-Jan-05 8:51 
GeneralRe: Memory leaks Pin
Roger656-Jan-05 10:23
MemberRoger656-Jan-05 10:23 
GeneralRe: Memory leaks Pin
gamitech6-Jan-05 10:26
Membergamitech6-Jan-05 10:26 
GeneralEuacela!!!! Pin
ThatsAlok3-Jan-05 21:40
MemberThatsAlok3-Jan-05 21:40 
GeneralRe: Euacela!!!! Pin
gamitech4-Jan-05 10:39
Membergamitech4-Jan-05 10:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.