Commit Graph

5 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
ratchov
9670a34ce5 allow programs to use big endian and unsigned 16-bit encodings
discussed with, tested by and ok todd@,
looks good to jakemsr@
2009-01-08 20:10:46 +00:00
jakemsr
3d85607ee9 bufsz -> appbufsz per recent libsndio changes 2008-12-23 07:45:32 +00:00
jakemsr
31176b1a69 ISC license for these files, as they are not actually SDL files. 2008-11-13 22:09:59 +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