diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-03-04 09:21:57 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-03-04 09:21:57 +0100 |
commit | 4fc74012b67cfc62c5481b8d7b6d95052f40c2bf (patch) | |
tree | d6f7c860195c63564d98f53c143acbf0082ea3ca /package/squeezelite/patches/patch-output_alsa_c | |
parent | 68b4cb5aaa95eb39401bcbaa7c517cfd31c3edcf (diff) | |
parent | 9919c4bc2f53037331313edace085c386c2af4cc (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/squeezelite/patches/patch-output_alsa_c')
-rw-r--r-- | package/squeezelite/patches/patch-output_alsa_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/squeezelite/patches/patch-output_alsa_c b/package/squeezelite/patches/patch-output_alsa_c new file mode 100644 index 000000000..a7d4374bf --- /dev/null +++ b/package/squeezelite/patches/patch-output_alsa_c @@ -0,0 +1,11 @@ +--- squeezelite-8b8dfe6918ebe45ade5f3d9b68d453d7b8128d99.orig/output_alsa.c 2015-02-28 10:18:21.000000000 +0100 ++++ squeezelite-8b8dfe6918ebe45ade5f3d9b68d453d7b8128d99/output_alsa.c 2015-02-28 10:31:59.000000000 +0100 +@@ -853,7 +853,7 @@ void output_init_alsa(log_level level, c + set_mixer(output.device, volume_mixer_name, volume_mixer_index ? atoi(volume_mixer_index) : 0, true, 0, 0); + } + +-#if LINUX ++#if 0 + // RT linux - aim to avoid pagefaults by locking memory: + // https://rt.wiki.kernel.org/index.php/Threaded_RT-application_with_memory_locking_and_stack_handling_example + if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1) { |