No description
Find a file
Sam Lantinga 710da3b0ba Date: Sun, 29 Feb 2004 15:14:22 +0200
From: Martin_Storsj
Subject: Dynamic loading of ALSA

I recently discovered that SDL can dynamically load ESD and aRts, and
made a patch which adds this same functionality to ALSA.

The update for configure.in isn't too good (it should e.g. look for
libasound.so in other directories than /usr/lib), because I'm not too
good at shellscripting and autoconf.

The reason for using dlfcn.h and dlopen instead of SDL_LoadLibrary and
SDL_LoadFunction is that libasound uses versioned symbols, and it is
necessary to load the correct version using dlvsym. This isn't probably
any real portability issue, because ALSA is linux-only.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40866
2004-03-02 12:49:16 +00:00
docs *** empty log message *** 2004-02-17 04:48:16 +00:00
include This works on MacOS X too. :) 2004-02-26 14:26:07 +00:00
src Date: Sun, 29 Feb 2004 15:14:22 +0200 2004-03-02 12:49:16 +00:00
test Added an endian detection and byte swapping test program 2004-02-23 08:03:14 +00:00
.cvsignore Fixed "dist" make target for newer versions of automake 2003-12-14 06:25:53 +00:00
acinclude.m4 Updated for the latest version of automake 2004-01-29 16:14:09 +00:00
autogen.sh *** empty log message *** 2002-04-13 14:44:33 +00:00
Borland.html *** empty log message *** 2003-07-01 01:18:27 +00:00
Borland.zip *** empty log message *** 2003-07-01 01:18:27 +00:00
BUGS *** empty log message *** 2004-01-06 17:16:02 +00:00
config.guess Updated libtool support so Mingw32 builds work. 2003-10-06 07:13:16 +00:00
config.sub Updated libtool support so Mingw32 builds work. 2003-10-06 07:13:16 +00:00
configure.in Date: Sun, 29 Feb 2004 15:14:22 +0200 2004-03-02 12:49:16 +00:00
COPYING Initial revision 2001-04-26 16:45:43 +00:00
CREDITS Lots of people have contributed cash. :) 2004-02-15 22:04:46 +00:00
CWprojects.sea.bin Update the version on the SDL shared library. Use SDL stub library for tests. 2004-02-14 06:04:41 +00:00
docs.html *** empty log message *** 2004-02-17 18:21:46 +00:00
EpocBuildFiles.zip Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!) 2001-12-14 12:37:34 +00:00
INSTALL *** empty log message *** 2002-10-20 00:15:33 +00:00
ltmain.sh Date: Wed, 28 Jan 2004 02:37:04 +0100 2004-01-28 01:57:34 +00:00
Makefile.am Remove automake junk before generating a snapshot 2004-02-16 04:37:56 +00:00
Makefile.dc Added initial support for Dreamcast (thanks HERO!) 2002-10-05 16:50:56 +00:00
MPWmake.sea.bin Updated projects with cpuinfo API 2004-02-10 17:34:38 +00:00
PBProjects.tar.gz Updated Project Builder projects 2004-01-26 06:33:27 +00:00
README QNX is now officially supported! Thanks to Mike Gorchak! 2003-08-30 17:09:59 +00:00
README-SDL.txt Initial revision 2001-04-26 16:45:43 +00:00
README.AmigaOS Updated the Amiga OS port of SDL (thanks Gabriele) 2001-05-10 20:13:29 +00:00
README.CVS Date: Sat, 8 Sep 2001 04:42:23 +0200 2001-09-11 19:00:18 +00:00
README.DC Added initial support for Dreamcast (thanks HERO!) 2002-10-05 16:50:56 +00:00
README.Epoc Added support for building SDL for EPOC/SymbianOS 6.0 (thanks Hannu!) 2001-12-14 12:37:34 +00:00
README.MacOS Date: Sat, 8 Sep 2001 04:42:23 +0200 2001-09-11 19:00:18 +00:00
README.MacOSX *** empty log message *** 2001-11-02 18:12:52 +00:00
README.MiNT Atari CD-ROM support 2003-09-27 08:20:26 +00:00
README.NanoX Date: Sat, 24 Aug 2002 22:20:01 -0600 2002-08-25 06:21:49 +00:00
README.PicoGUI Added initial support for PicoGUI (thanks Micah!) 2002-08-01 23:24:13 +00:00
README.QNX Date: Sat, 14 Feb 2004 14:52:40 +0200 2004-02-14 20:22:21 +00:00
README.Qtopia Added a README for Qtopia 2002-06-01 18:43:51 +00:00
README.WinCE Updated for embedded Visual C++ 4.0 2002-08-20 00:20:06 +00:00
sdl-config.in Fixed static linking on MacOS X (thanks Max!) 2004-02-11 07:09:11 +00:00
sdl.m4 Updated for the latest version of automake 2004-01-29 16:14:09 +00:00
SDL.qpg.in Date: Tue, 2 Mar 2004 08:52:20 +0200 2004-03-02 12:38:27 +00:00
SDL.spec.in *** empty log message *** 2002-05-31 04:45:46 +00:00
strip_fPIC.sh Fixed to work on Solaris x86 2001-05-10 20:19:50 +00:00
TODO *** empty log message *** 2001-08-18 10:33:55 +00:00
VisualC.html Added Visual C++ 7 (.NET) projects (thanks James!) 2002-10-08 15:43:40 +00:00
VisualC.zip Fixed "dist" make target for newer versions of automake 2003-12-14 06:25:53 +00:00
VisualC7.zip *** empty log message *** 2004-01-13 15:14:27 +00:00
VisualCE.zip Updated for embedded Visual C++ 4.0 2002-08-20 00:20:06 +00:00
WhatsNew *** empty log message *** 2004-01-08 16:01:07 +00:00

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 1.2

---
http://www.libsdl.org/

This is the Simple DirectMedia Layer, a general API that provides low
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
and 2D framebuffer across multiple platforms.

SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Java, Lua, ML,
Objective C, Perl, PHP, Pike, Python, and Ruby.

The current version supports Linux, Windows, BeOS, MacOS, MacOS X,
FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX.  The code contains
support for Windows CE, AmigaOS, Dreamcast, Atari, NetBSD, AIX, OSF/Tru64,
RISC OS, and SymbianOS, but these are not officially supported.

This library is distributed under GNU LGPL version 2, which can be
found in the file  "COPYING".  This license allows you to use SDL
freely in commercial programs as long as you link with the dynamic
library.

The best way to learn how to use SDL is to check out the header files in
the "include" subdirectory and the programs in the "test" subdirectory.
The header files and test programs are well commented and always up to date.
More documentation is available in HTML format in "./docs/index.html"

The test programs in the "test" subdirectory are in the public domain.

Frequently asked questions are answered online:
	http://www.libsdl.org/faq.php

If you need help with the library, or just want to discuss SDL related
issues, you can join the developers mailing list:
	http://www.libsdl.org/mailing-list.php

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)