Fix flag check
This commit is contained in:
parent
efea009b02
commit
44a69d2326
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue