Add SDL variant with pulseaudio enabled, this fixes choppy sound in Kdenlive

I would rather enable pulseaudio by default for SDL as it will
probably fix issues for other programs too.
This commit is contained in:
Cillian de Róiste 2014-07-27 19:35:09 +02:00
parent d2193736db
commit 3447b018c2
1 changed files with 11 additions and 2 deletions

View File

@ -5703,9 +5703,15 @@ let
mkvtoolnix = callPackage ../applications/video/mkvtoolnix { };
mlt-qt4 = callPackage ../development/libraries/mlt { qt = qt4; };
mlt-qt4 = callPackage ../development/libraries/mlt {
qt = qt4;
SDL = SDL_pulseaudio;
};
mlt-qt5 = callPackage ../development/libraries/mlt { qt = qt5; };
mlt-qt5 = callPackage ../development/libraries/mlt {
qt = qt5;
SDL = SDL_pulseaudio;
};
movit = callPackage ../development/libraries/movit { };
@ -6095,6 +6101,9 @@ let
else stdenv;
};
# Fixes major problems with choppy sound in MLT / Kdenlive / Shotcut
SDL_pulseaudio = SDL.override { pulseaudioSupport = true; };
SDL_gfx = callPackage ../development/libraries/SDL_gfx { };
SDL_image = callPackage ../development/libraries/SDL_image {