SDL: better pulseaudioSupport logic
This commit is contained in:
parent
a99a634acf
commit
05f6e0fdaa
@ -8215,7 +8215,9 @@ let
|
|||||||
openglSupport = mesaSupported;
|
openglSupport = mesaSupported;
|
||||||
alsaSupport = stdenv.isLinux;
|
alsaSupport = stdenv.isLinux;
|
||||||
x11Support = !stdenv.isCygwin;
|
x11Support = !stdenv.isCygwin;
|
||||||
pulseaudioSupport = stdenv.isLinux;
|
pulseaudioSupport = if (config ? pulseaudio)
|
||||||
|
then config.pulseaudio
|
||||||
|
else stdenv.isLinux;
|
||||||
inherit (darwin.apple_sdk.frameworks) OpenGL CoreAudio CoreServices AudioUnit Kernel Cocoa;
|
inherit (darwin.apple_sdk.frameworks) OpenGL CoreAudio CoreServices AudioUnit Kernel Cocoa;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -8237,7 +8239,7 @@ let
|
|||||||
openglSupport = mesaSupported;
|
openglSupport = mesaSupported;
|
||||||
alsaSupport = stdenv.isLinux;
|
alsaSupport = stdenv.isLinux;
|
||||||
x11Support = !stdenv.isCygwin;
|
x11Support = !stdenv.isCygwin;
|
||||||
pulseaudioSupport = false; # better go through ALSA
|
pulseaudioSupport = config.pulseaudio or false; # better go through ALSA
|
||||||
inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL;
|
inherit (darwin.apple_sdk.frameworks) AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user