Jump to content

Simple DirectMedia Layer

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Splatg (talk | contribs) at 08:44, 28 January 2006 (Various games using SDL: fixed aleph one link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

File:Sdl-logo.png

Simple DirectMedia Layer (SDL) is a cross-platform multimedia library that creates an abstraction over various platforms' graphics, sound, and input APIs, allowing a developer to write a computer game or other multimedia application once and run it on GNU/Linux, Windows, Mac OS Classic, Mac OS X, BeOS and a few other unofficially ported platforms. It manages video, events, numeric audio, CD-ROM sound, threads, and timers.

Sam Lantinga created the library, first releasing it in early 1998, while working for Loki Software. He got the idea while porting a Windows application to Macintosh. He then used SDL to port Doom to BeOS (see Doom source ports). Several other free libraries appeared to work with SDL, such as SMPEG and OpenAL.

The SDL is mainly coded in C but has bindings to many languages and exists on several operating systems.

SDL itself is very simple, it merely acts as a thin wrapper on the graphics hardware. In that way it is different from many other graphics libraries such as DirectX or Allegro that offers more advanced funtionality. SDL instead has a huge number of third party extensions to it that makes it easy to do more advanced functions.

It is freely available open source and is licensed under the LGPL.

Bindings

Various games using SDL

Games which use SDL for the Linux version only

See also