PureBasic - SoundPlugin
PureBasic supports external sound formats through a dynamic native plug-in system. This means that only the needed encoder or decoder is added to the final executable, which decreases the final program size substantially. For example, if only the OGG decoder is needed, only the code dealing with the OGG decoder will be used. Another nice feature is the automatic sound format detection, whenever several different decoders are used. The following functions support the Sound plugins: LoadSound(), and CatchSound().