Add CoreAudio to sox on macOS
Otherwise no audio devices are available for recording and playback on macOS.
This commit is contained in:
parent
58b3b9c34b
commit
3cc74c3a7c
2 changed files with 6 additions and 3 deletions
|
@ -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";
|
||||
|
|
|
@ -19517,7 +19517,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