diff --git a/patch.py b/patch.py index 83104a0..577964e 100644 --- a/patch.py +++ b/patch.py @@ -270,6 +270,7 @@ def process_telegram(jsonobj): child.append("'TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME'") child.append("'TDESKTOP_DISABLE_UNITY_INTEGRATION'") child.append("'TDESKTOP_DISABLE_GTK_INTEGRATION'") + child.append("'TDESKTOP_DISABLE_OPENAL_EFFECTS'") child.remove("'AL_LIBTYPE_STATIC'") child = jsonobj["'targets'"][0]["'include_dirs'"] child.remove("'<(libs_loc)/breakpad/src'") diff --git a/telegram-desktop.changes b/telegram-desktop.changes index 4d9dd84..b73c9e6 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 10 14:55:58 UTC 2019 - Ramax Lo + +- Add TDESKTOP_DISABLE_OPENAL_EFFECTS to fix playback error: + Audio Playback Error: 40963, Invalid Value + ------------------------------------------------------------------- Sat Dec 22 01:33:03 UTC 2018 - Xu Zhao diff --git a/telegram-desktop.spec b/telegram-desktop.spec index 2a897de..16325db 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -1,7 +1,7 @@ # # spec file for package telegram-desktop # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed