added a check of BBufferGroup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14340 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-10-10 18:25:48 +00:00
parent 09bae796d2
commit f101f76fc7

View File

@ -736,6 +736,9 @@ _SoundPlayNode::AllocateBuffers()
TRACE("_SoundPlayNode::AllocateBuffers: creating group of %ld buffers, size = %lu\n", count, size);
mBufferGroup = new BBufferGroup(size, count);
if (mBufferGroup->InitCheck() != B_OK) {
ERROR("_SoundPlayNode::AllocateBuffers: BufferGroup::InitCheck() failed\n");
}
}
BBuffer*