fixed the wrong test for real
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20671 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -40,7 +40,7 @@ BPushGameSound::BPushGameSound(size_t inBufferFrameCount, const gs_audio_format
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
status_t error = SetParameters(inBufferFrameCount, format, inBufferCount);
|
status_t error = SetParameters(inBufferFrameCount, format, inBufferCount);
|
||||||
if (error != B_OK)
|
if (error == B_OK)
|
||||||
fPageLocked = new BList;
|
fPageLocked = new BList;
|
||||||
else
|
else
|
||||||
SetInitError(error);
|
SetInitError(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user