Hi all,
Does anyone know of any C++ libraries / wrappers that return basic info about an MPC file, ie. bitrate, length, frequency, etc...? I could not find one, so I figured I had to write one myself using libmusepack, but kept running into problems.
Not knowing where to start, I figured I'd take the sample.cpp that comes with libmusepack, throw out the decoder portion, and get info using the mpc_streaminfo struct (members Bitrate, TotalFileLength, etc..)
First, the compiler complained that it couldn't find the config_types.h file. I only found a config_types.h.in (what on earth is an .in file??) but figured that this would be it, so changed the extension to .h.
Then it complained of the @ in statements like
typedef @SIZE16@ mpc_int16_t;
Is this valid C syntax? Not having much idea what was going on here, I removed the @'s.
Then the compiler complained about something else in another file and so on and so on.. not getting me anywhere.
Can anyone be so kind as to point me in the right direction with these newbie questions? I don't think I'll get anywhere on my own with my current knowlege. I'm using VS7, by the way.
Thanks for any help!