mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
Merge pull request #57868 from Kaali/coreaudio-sox
Add CoreAudio to sox on macOS
This commit is contained in:
commit
373488e6f4
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, stdenv, fetchurl
|
||||
{ config, lib, stdenv, fetchurl, CoreAudio
|
||||
, enableAlsa ? true, alsaLib ? null
|
||||
, enableLibao ? true, libao ? null
|
||||
, enableLame ? config.sox.enableLame or false, lame ? null
|
||||
|
@ -32,7 +32,8 @@ stdenv.mkDerivation rec {
|
|||
optional enablePNG libpng ++
|
||||
optional enableLibsndfile libsndfile ++
|
||||
optionals enableAMR [ amrnb amrwb ] ++
|
||||
optional enableLibpulseaudio libpulseaudio;
|
||||
optional enableLibpulseaudio libpulseaudio ++
|
||||
optional (stdenv.isDarwin) CoreAudio;
|
||||
|
||||
meta = {
|
||||
description = "Sample Rate Converter for audio";
|
||||
|
|
|
@ -19521,7 +19521,9 @@ in
|
|||
|
||||
soulseekqt = libsForQt5.callPackage ../applications/networking/p2p/soulseekqt { };
|
||||
|
||||
sox = callPackage ../applications/misc/audio/sox { };
|
||||
sox = callPackage ../applications/misc/audio/sox {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreAudio;
|
||||
};
|
||||
|
||||
soxr = callPackage ../applications/misc/audio/soxr { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue