Fix flag check

This commit is contained in:
snow 2020-09-01 17:45:58 -07:00
parent efea009b02
commit 44a69d2326

View file

@ -146,7 +146,7 @@ NetBSDOutput::open_audio (int format,
return false; return false;
} }
if ((props | AUDIO_PROP_PLAYBACK) != AUDIO_PROP_PLAYBACK) { if ((props & AUDIO_PROP_PLAYBACK) != AUDIO_PROP_PLAYBACK) {
error = String (str_printf error = String (str_printf
("Device %s does not support playback.", ("Device %s does not support playback.",
(const char *) audio_path)); (const char *) audio_path));