3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #24292 from elitak/pulse-sox

sox: added enableLibpulseaudio option
This commit is contained in:
Michael Raskin 2017-03-24 15:57:41 +01:00 committed by GitHub
commit 201f3efccf

View file

@ -9,6 +9,7 @@
, enableLibsndfile ? true, libsndfile ? null , enableLibsndfile ? true, libsndfile ? null
# amrnb and amrwb are unfree, disabled by default # amrnb and amrwb are unfree, disabled by default
, enableAMR ? false, amrnb ? null, amrwb ? null , enableAMR ? false, amrnb ? null, amrwb ? null
, enableLibpulseaudio ? true, libpulseaudio ? null
}: }:
with stdenv.lib; with stdenv.lib;
@ -30,7 +31,8 @@ stdenv.mkDerivation rec {
optional enableFLAC flac ++ optional enableFLAC flac ++
optional enablePNG libpng ++ optional enablePNG libpng ++
optional enableLibsndfile libsndfile ++ optional enableLibsndfile libsndfile ++
optionals enableAMR [ amrnb amrwb ]; optionals enableAMR [ amrnb amrwb ] ++
optional enableLibpulseaudio libpulseaudio;
meta = { meta = {
description = "Sample Rate Converter for audio"; description = "Sample Rate Converter for audio";