mpglib is a library for reading MP3 files. It is part of mpg123 which is a real time MPEG audio player for Linux. mpglib is released under the LGPL.