Fix wrong check.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2009-02-01 22:16:49 +00:00
parent bb17b6b92f
commit 9490cc05f3

View File

@ -80,7 +80,7 @@ BSoundPlayer::BSoundPlayer(const media_node & toNode,
TRACE("BSoundPlayer::BSoundPlayer: multi audio format constructor used\n");
if (toNode.kind & B_BUFFER_CONSUMER == 0)
if ((toNode.kind & B_BUFFER_CONSUMER) == 0)
debugger("BSoundPlayer: toNode must have B_BUFFER_CONSUMER kind!\n");
#if DEBUG > 0