Commit Graph

20 Commits

Author SHA1 Message Date
jakemsr
53ef50a03a cleanup sndio backend
- rename from "libsndio" to "sndio"
- remove support for "frame tick" synchronization; nothing uses it
- as with many other sndio backends, the audio device block size is the
  buffer-write-size the application wants and there are 2 blocks per
  device buffer
- if SDL will resample, increase the audio block and buffer size by
  the same ratio, so that device latency (or how much *time* the
  application has between write()s to not let the buffer underrun) does
  not change
- allow applications to disable conversions

tested with almost every port that uses this code (exceptions being some
games that require non-free game data) on a device most likely to be
affected by the changes (azalia(4) that only does 44.1 or 48 kHz s16)

unoverriding conversion disabling exposes brokenness in a few other
ports, those will be fixed soon
2009-01-24 10:56:11 +00:00
jakemsr
be62cb80f3 remove arts and esd backends
from Brad, thanks
2008-12-30 02:15:20 +00:00
jakemsr
bb8f2fc023 add libsndio backend and use it by default.
take maintainership as suggested by current maintainer.

ok pvalchev@
2008-11-02 14:53:51 +00:00
jakemsr
99fccde5bc - make artsd audio output work by linking with libartsc instead
of trying to dlopen() it.  also fix a couple bugs in the artsd
  output module: when artsd is "suspended", it only means that
  it it not accessing the soundcard at the moment, not that it
  will not accept data.  fix output latency by setting parameters
  that actually are settable, instead of trying to set read-only(!)
  parameters.

- allow the default audio output method to be chosen with the
  SDL_AUDIO_DRIVER environment variable.  choices are 'arts',
  'esd' and 'audio'.  'audio' selects audio(4) output, and is
  the default if SDL_AUDIO_DRIVER is not set.

ok pvalchev@
2008-03-19 13:33:29 +00:00
pvalchev
b5f395b069 Update to sdl-1.2.13
Bugfix release, notably:
- Fix a fullscreen crash with ffmpeg, etc. due to expecting memory to
be executable by default - use mprotect() - Reported by deanna@
- Worked around BadAlloc error when using XVideo on the XFree86 Intel
- Integrated Graphics driver
- Fixed use of sdl-config arguments in sdl.m4
2008-01-03 17:39:40 +00:00
pvalchev
4967057365 update to sdl-1.2.12. long due update, possible now since the macppc
X acceleration bug is now gone (thanks for ajacoutot for endless testing
of this issue), diff from brad
2007-09-22 01:12:38 +00:00
pvalchev
32e784e268 USB uhid(4) joystick support for SDL by Wilbern Cobb <vedge@csoft.org> 2002-02-19 20:51:46 +00:00
pvalchev
f3b06ffb42 Update to SDL-1.2.3. thanks mark for the feedback 2001-12-28 23:42:26 +00:00
pvalchev
87864528ec Pass libSDL_la_LDFLAGS containing -version-info for libtool via MAKE_FLAGS
instead of patching configure unnecessarily.
2001-08-14 22:42:03 +00:00
pvalchev
c1cb058582 Update to SDL-1.2.2
Includes OpenBSD fixes and cleanups.
Other changes that concern us:
* Now gets correct keyboard state when starting up on X11
* Improved X11 fullscreen support, works better with KDE
2001-07-25 07:58:32 +00:00
pvalchev
8e77d74ad9 When native audio is enabled, define OPENBSD_SUPPORT. This is simpler,
and makes it easier to know when to initialize the corresponding
structures, never touching them if they're empty.
Fits with SDL code-style, fixes things such as soundless builds.
2001-07-20 03:07:07 +00:00
pvalchev
326ebccc9b Enable dummy joystick driver building. This offers empty joystick
function stubs.
Bump package version revision and crank library minor number.
2001-07-11 16:45:45 +00:00
pvalchev
601d8cfce3 simplify and remove unneeded stuff 2001-07-03 01:00:14 +00:00
pvalchev
9f7f5f43da pass -Wl,rpath,${X11BASE} as well as -L{$X11BASE} in sdl-config 2001-06-23 23:35:09 +00:00
pvalchev
6650085c61 Upgrade to SDL-1.2.1
Various improvements, including OpenBSD native audio.

* Fix audio device path.  This has caused audio not to work without the
esd flavor before, many people (including me) had link to /dev/dsp because
of linux emulation programs and haven't noticed the problem.
* Fix OSS audio.
* Sync libtool patches
* Properly include @SYSTEM_LIBS@ in sdl-config to ensure proper linking
of SDL applications.
2001-06-23 19:05:33 +00:00
pvalchev
fdb0db3f2e - Implement a native audio driver by <vedge2@vedge.com.ar> as a "sun"
flavor, being the default one (fetching distfile from an external site).
- Isolate esd as a separate flavor from oss -- a combination with either
"sun" or "oss" is possible.
2001-05-24 05:54:55 +00:00
pvalchev
396fdfefb4 Add -L${X11BASE} to sdl-config, as it is usually required.
Noticed by naddy@
2001-05-16 23:55:36 +00:00
pvalchev
25e9c715b5 Pass and handle X11BASE correctly throughout configure and put it
sdl-config.
Noticed by: vedge2@vedge.com.ar
2001-05-12 04:27:05 +00:00
brad
ae866d383f - shorten patches for configure/configure.in by not unnecessarily changing
pthreads flags for other OS's that have nothing todo with compilation on
OpenBSD.
- change linker flag from "-Wl,-R" to "-Wl,-rpath," so that this will
possibly even get through a compile on our ELF archs (tested on sparc, not
tested on an ELF arch but this is definately a first step in the right
direction).
--
Ok'd by: maintainer
2001-04-21 15:37:57 +00:00
obecian
ca45f07cb9 sdl-1.2.0 - Simple DirectMedia Layer 2001-04-19 18:55:39 +00:00