We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0c39c7 commit 40483e5Copy full SHA for 40483e5
1 file changed
pcbasic/interface/audio_portaudio.py
@@ -15,7 +15,7 @@
15
# for detection by packagers
16
import pyaudio
17
18
-from ..compat import zip, WIN32
+from ..compat import zip, WIN32, MACOS
19
from .audio import AudioPlugin
20
from .base import audio_plugins, InitFailed
21
from . import synthesiser
@@ -30,7 +30,7 @@
30
31
# suppress ALSA debug messages
32
# https://stackoverflow.com/questions/7088672/pyaudio-working-but-spits-out-error-messages-each-time
33
-if WIN32:
+if WIN32 or MACOS:
34
@contextmanager
35
def _quiet_alsa(): yield
36
else:
0 commit comments