Click here to Skip to main content
Click here to Skip to main content

Little Audio Player

, 3 Jan 2005
Rate this:
Please Sign up or sign in to vote.
This article demonstrates a very simple way to play MP3 files and with a very efficient programming engine from FMOD.

Sample Image

Introduction

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:

FSOUND_Sample_Load(
int index,
const char *name_or_data,
unsigned int inputmode,
int offset,
int length
);

or

FSOUND_PlaySound(
int channel,
FSOUND_SAMPLE *sptr
);

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.

License

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

Share

About the Author

gamitech
Software Developer
Romania Romania
I love VC++

Comments and Discussions

 
QuestionArray Pinmemberkhalil2me26-Jun-07 10:57 
Generalhelp me !! PinmemberMoNa MoOn17-May-06 23:56 
AnswerRe: help me !! Pinmembertowerturtle18-Aug-08 14:34 
Generalfmod library Pinmemberkamax831-Mar-06 11:17 
GeneralRe: fmod library Pinmembereuacela1-Mar-06 14:34 
QuestionRe: fmod library Pinmemberindee4u21-Jun-07 1:25 
AnswerRe: fmod library Pinmemberindee4u21-Jun-07 5:16 
AnswerRe: fmod library Pinmemberindee4u21-Jun-07 5:18 
GeneralRe: fmod library PinmemberRomeoRus7772-Dec-06 22:37 
GeneralRe: fmod library Pinmembersfengtfw26-Mar-07 18:07 
Questionhi,can your liberary be used for commercial intention? Pinmembersuchuhui1-Dec-05 17:44 
AnswerRe: hi,can your liberary be used for commercial intention? Pinmembereuacela5-Dec-05 4:39 
GeneralFMOD's commerical license isn't free PinmemberMarkus000016-Nov-05 4:24 
GeneralMemory leaks PinmemberRoger655-Jan-05 5:21 
GeneralRe: Memory leaks Pinmembereuacela6-Jan-05 9:51 
GeneralRe: Memory leaks PinmemberRoger656-Jan-05 11:23 
GeneralRe: Memory leaks Pinmembereuacela6-Jan-05 11:26 
GeneralEuacela!!!! PinmemberThatsAlok3-Jan-05 22:40 
GeneralRe: Euacela!!!! Pinmembereuacela4-Jan-05 11:39 

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 4 Jan 2005
Article Copyright 2005 by gamitech
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid