Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: ef9f91f3cf14
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 4d680f3f3d58
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 29, 2019

  1. 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.
    oxij authored and Profpatsch committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    31cf1ff View commit details
    Browse the repository at this point in the history
  2. mpv: enable openal support by default

    See the previous commit.
    oxij authored and Profpatsch committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    4d680f3 View commit details
    Browse the repository at this point in the history