obviously some link error. mad_timer_fraction is a function in libmad,
You should feed the libmad object file to the linker, i.e. link madplay
together with it.
Post by Khalid AalloucheHi all,
Actually, I want to read and play an MP3 file. I have downloaded
libmad-0.15.0b, I have compiled it with MVC++. Finally, I obtained
libmad.lib. After that, I have copied that file (libmad.lib) in the
'lib' directory of MVC++.
After, in order to play an MP3 file, I have downloaded
madplay-0.15.0b. But I have a problem in the compilation,
especially in the linker which print that error "filter.obj : error
LNK2019: unresolved external symbol mad_timer_fraction referenced
in function _fadein_filter". each of the object file (madplay.obj,
resample.obj, version.obj...) causes an error of that type
("unresolved external....").
Please, tell me what I have to do, may be I miss a step...
Thank you very much
ps: I am programming in Windows environment
Post by Pan XingzhiHi Khalid,
Your question is vague. I suppose you want the output to be raw audio
files(not playable directly in a player, but can be imported into
programs like Audacity).
http://www.bsd-dk.dk/~elrond/audio/madlld/
I learned how to use libmad with it. Any further problems, plz feel
free to post here.
Cheers,
Pan Xingzhi
Post by Khalid AalloucheHi all,
I wanted to decode an MP3 file in order to read it. But I'm
novice and there is so much file...Is someone can help to create
a basic MP3 player (console application:user enters where the
MP3 is, and after read the valid MP3 file)
Thank you very much
Khalid