Fix flag check

This commit is contained in:
snow 2020-09-01 17:45:58 -07:00
parent efea009b02
commit 44a69d2326
1 changed files with 1 additions and 1 deletions

View File

@ -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));