Confused about AUBufferList.PrepareBuffer
Confused about AUBufferList.PrepareBuffer
- Subject: Confused about AUBufferList.PrepareBuffer
- From: Stewart Moroney <email@hidden>
- Date: Wed, 7 Jul 2004 16:52:13 +0100
Hi
I'm calling
UInt64 gTotalPacketCount = 500;
AUBufferList mAUBuffer;
mAUBuffer.Allocate(outputASBD, gTotalPacketCount);
AudioBufferList *outData = &mAUBuffer.PrepareBuffer(outputASBD,
gTotalPacketCount);
this returns with
outData->mNumberBuffers = 2
outData->mBuffers[0].mNumberChannel = 1
outData->mBuffers[0].mDataByteSize = 2000
Isn't mDataByteSize 4 times too big. I'd expect it to be 500. Can
somebody please explain.
Stewart
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.