MP3,API,RAW,CODE,demonstrates,MPEGLayer,files
Quick Search for:  in language:    
MP3,API,RAW,CODE,demonstrates,MPEGLayer,files
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
C/ C++ Stats

 Code: 448,435 lines
 Jobs: 605 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for C/ C++.
Print .prn Files From Windows
By Ashutosh Upadhyay on 8/19


Drag Window Without Titlebar
By Kamilche on 8/19


Click here to see a screenshot of this code!Postfix Expression Evaluator using stack
By Krishnan Raghu on 8/18

(Screen Shot)

Click here to see a screenshot of this code!Library book managment using linked list
By Krishnan Raghu on 8/18

(Screen Shot)

piHex
By jo122321323 on 8/18


Win32 - IE Style Menubar
By Heirste on 8/18


Click here to see a screenshot of this code!^A Paint Program in Visual C++^
By Niloy Mondal on 8/18

(Screen Shot)

Click here to put this ticker on your site!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

MP3 Decoder/Playback Source

Print
Email
 
winzip icon
Submitted on: 4/23/2000 9:28:09 AM
By: Ultimatum  
Level: Advanced
User Rating: By 18 Users
Compatibility:C, C++ (general)

Users have accessed this code 21632 times.
 

(About the author)
 
     This code demonstrates how MPEG-Layer 3 (MP3) files are read by programs like WinAmp and Windows Media Player. Note this code uses no Windows API calls, DLLs, or OCXs. This is the RAW CODE for reading and playing MP3s. It contains no examples, but is based on FreeAmp, so if you want an example, FreeAmp is as close as you're going to come. I do plan on creating an example sometime later on, but for now, here's the code that everyone's wanted. =) I can't take credit for this code, though. The ORIGINAL MP3 decoding algorithms were written by Xing Technologies. Oh yeah, while I'm at it, vote for me! =)
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/12/2000 4:42:25 PM:etrask
I have the Xing MP3 player. It rocks. 
It came with AudioCatalyst and an MP3 
editor. Good code!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2001 10:00:38 AM:Neil Ramsbottom
Please retain the direcotry structure 
when you zip files up.
I cant 
compile this because I need 
C:\config\config.win32 and 
c:\config\res
, etc
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/27/2001 3:43:25 PM:Puzzle
Hi i tried to decode mp3 on my laptop . 
It did not work. But it works on my 
desktop.Why
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/12/2001 4:02:00 PM:Menion
I have had problems with his morphyx 
wrapper source.  I emailed him through 
PSC but no response yet.  When you 
manually change to a higher bitrate 
than 128, it encodes 2x the speed or 
more.  Wondering if it was an error in 
his c code or if it was something else. 
 If anyone else has run into this, 
lemme know please...THANKS!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/4/2001 4:55:51 AM:mehrunnisa
Sir Ultimatum 
when i tried to run 
this code there were some header files 
missing.so i couldn't run it. there 
were 25 errors of that "unable to 
include files".
Actually i m also 
trying to develop a mp3 player so i 
need your help.i couldn't find any 
source code of mp3 decoder that could 
run properly.each gives errors and same 
problem is with this decoder.
can u 
help me . i need your response plz mail 
me if u can help me 
at:
mehrunnisa5@yahoo.com
thanks a 
lot
Mehr-un-Nisa
Mcs
Fatima Jinnah 
Women University
Pakistan.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/25/2001 6:25:37 PM:Simon Mallett
This code only "sucks" to those who 
cant decipher it, i admit its fairly 
cryptic but if ya take ya time over 
learning the base ideas of the MPEG 
layer III format then you would 
understand it.. Sorry if im going off 
on one but I get fed up with Newbies 
who complain at code they dont 
understand plainly because it isn't as 
strait forward as PlayMp3Func()...  BTW 
VERY interesting code :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/31/2001 11:01:09 PM:Mattuu
Could someone please fix for Visual c++ 
6.0 and send to my email address 
mattuu@hotpop.com please .. I have 
tried everything and it just gives me 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/11/2002 1:28:58 PM:anmol bhasin
dear ultimatum sir,
i am trying to 
develop an mp3 player and need 
guidance,can you help me please
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | C/ C++ Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.