summarylogtreecommitdiffstats
path: root/patchance-disable-alsa.patch
blob: e93d18ef3ad600f07bfcf0cbd82ca0551406dbed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/src/patchance.py b/src/patchance.py
index ecb6702..b821f4a 100755
--- a/src/patchance.py
+++ b/src/patchance.py
@@ -35,13 +35,17 @@ from PyQt5.QtWidgets import QApplication
 from PyQt5.QtGui import QIcon, QFontDatabase
 from PyQt5.QtCore import QLocale, QTranslator, QTimer, QLibraryInfo, QSettings
 
-try:
-    from pyalsa.alsaseq import SEQ_LIB_VERSION_STR
-    ALSA_VERSION_LIST = [int(num) for num in SEQ_LIB_VERSION_STR.split('.')]
-    assert ALSA_VERSION_LIST >= [1, 2, 4]
-    ALSA_LIB_OK = True
-except:
-    ALSA_LIB_OK = False
+ALSA_LIB_OK = False
+
+# temporarily disabling ALSA support due to
+# https://github.com/alsa-project/alsa-python/issues/9
+#try:
+#    from pyalsa.alsaseq import SEQ_LIB_VERSION_STR
+#    ALSA_VERSION_LIST = [int(num) for num in SEQ_LIB_VERSION_STR.split('.')]
+#    assert ALSA_VERSION_LIST >= [1, 2, 4]
+#    ALSA_LIB_OK = True
+#except:
+#    pass
 
 from main_win import MainWindow
 from patchance_pb_manager import PatchancePatchbayManager