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:
parent
09bae796d2
commit
f101f76fc7
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user