Is there a library or simple C or C++ file to decode MP31 into samples ... Try minimp3 libray which is LGPL. Very small, portable and simple to use.
stackoverflow.com