Hi
I just got started using libmad. I need to write an application to
decode an mp3 and write the contents to a data file for FM modulation
in Gnuradio. I tried to compile minimad.c using g++ -c minimad.c
-lmad, but I can't get it to work. I get the following errors. Can
anyone please help me?
minimad.c: In function ���int main(int, char**)���:
minimad.c:56: error: invalid conversion from ���void*��� to ���const
unsigned char*���
minimad.c:56: error: initializing argument 1 of ���int …
[View More]decode(const
unsigned char*, long unsigned int)���
minimad.c: In function ���mad_flow input(void*, mad_stream*)���:
minimad.c:87: error: invalid conversion from ���void*��� to ���buffer*���
minimad.c: In function ���mad_flow error(void*, mad_stream*, mad_frame*)���:
minimad.c:175: error: invalid conversion from ���void*��� to ���buffer*���
Thank you
Sebastiaan
[View Less]