From 44a69d2326285b32a196cc3cae263e1ad1620dea Mon Sep 17 00:00:00 2001 From: snow Date: Tue, 1 Sep 2020 17:45:58 -0700 Subject: [PATCH] Fix flag check --- src/netbsdout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netbsdout.cc b/src/netbsdout.cc index db5981e..18b32f8 100644 --- a/src/netbsdout.cc +++ b/src/netbsdout.cc @@ -146,7 +146,7 @@ NetBSDOutput::open_audio (int format, return false; } - if ((props | AUDIO_PROP_PLAYBACK) != AUDIO_PROP_PLAYBACK) { + if ((props & AUDIO_PROP_PLAYBACK) != AUDIO_PROP_PLAYBACK) { error = String (str_printf ("Device %s does not support playback.", (const char *) audio_path));