Commit Graph

16 Commits

Author SHA1 Message Date
Jan Malakhovski
31cf1ff4ee openalSolf: make it search its own $out for data files
Without those data files HRTF will silently fail to initialize.

It searches /usr and /usr/local by default but we don't have those paths.
It also searches XDG_DATA_DIRS but using that requires configuration by the
user. This patch makes makes it just work.

How to play with it:

- Build `mpv` with `openalSoft` support.

- cat << EOF > ~/.alsoftrc
[general]
hrtf = true
EOF

- Wear stereo headphones.

- Play a file with 6 or more channels with `mpv -ao openal $file`, e.g.
  https://archive.org/download/5.1SurroundSoundTestFilesVariousFormatsAACAC3MP4DTSWAV/5.1%20Surround%20Sound%20AAC%20Test.mp4

- Try `hrtf = false` to hear the difference.
2019-10-29 17:38:07 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Daniel Schaefer
bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Daniël de Kok
57430a1ae5 openal: 1.19.0 -> 1.19.1
Changes: https://github.com/kcat/openal-soft/blob/master/ChangeLog

Also fetch from kcat's openal-soft official GitHub repository, since
upstream's website http://kcat.strangesoft.net/openal.html is down.
2018-10-22 07:42:59 +02:00
R. RyanTM
d24b81b515 openal: 1.18.2 -> 1.19.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/openal-soft/versions
2018-09-20 07:48:22 -07:00
Evan Wallace
93e082299c openal-soft: 1.17.2 -> 1.18.2 2017-11-09 08:43:36 +00:00
Linus Heckemann
6130dfd3dc openal-soft: move cmake to nativeBuildInputs
This allows cross-compiling it.
2017-05-01 23:19:00 +01:00
Tuomas Tynkkynen
5bf5de58ea treewide: Fix 'lib.optional' misuses
These add a singleton list of a package to buildInputs.
2016-10-01 23:38:06 +03:00
Matthew Bauer
d085a649c2 openal: fix darwin builds 2016-02-29 21:20:04 -06:00
Matthew Bauer
f3336a122a openal: 1.16.0 -> 1.17.2 2016-02-29 12:46:34 -06:00
William A. Kennington III
b07929b0a3 Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
Siarhei Zirukin
61b8aa26f2 openal-soft 1.15.1 -> 1.16.0 2015-02-21 00:44:18 +01:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
ambrop7@gmail.com
bf0bacdbf8 openal-soft: Add PulseAudio backend, make non-OSS backends work.
* Added PulseAudio backend support.
* Made ALSA and PulseAudio backends optional.
* Made ALSA and PulseAudio backends actually work by adding to
  NIX_LDFLAGS (because package uses dlopen).

TEST: Tested all 3 backends (OSS, ALSA, PulseAudio) using openal-info
and my upcoming Warzone 2100 update, by selecting the backend in
.alsoftrc. It also works without .alsoftrc (I think it first tries pulse
then alsa then oss).
2014-06-15 23:28:54 +02:00
Carles Pagès
9a175a002d openal-soft: update to 1.15.1 2013-04-02 22:28:07 +02:00
Eelco Dolstra
6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00