http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
Simple DirectMedia Layer (SDL ) is a cross-platform, free and open source software multimedia library written in C that presents a simple interface to various platforms' graphics , sound, and input devices. It is used by developers to write computer games or other multimedia applications that can run on many operating systems including Linux , the PSP , Syllable , Haiku /BeOS , OpenVMS , Windows , Mac OS X , AmigaOS 4 and its clone MorphOS . It manages video, events, digital audio, CD-ROM, sound, threads, shared object loading, networking and timers.