Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mAudioDataBytesCapacity



Its the size - the capacity - of the buffer that has been allocated by you. Then, when you are providing data you fill in the mDataSize field (which can be <= mDataByteSizeCapacity) with the number of bytes of valid data in this particular AQBuffer. So, this enables you to vary the size of the valid data in any given AQBuffer each time you enqueue it

Bill

On Jan 31, 2008, at 4:48 PM, Roland Silver wrote:


Is the mAudioDataBytesCapacity field of an AudioQueueBuffer struct the size of the buffer itself, as stated in the documentation: <Audio Queue Services Reference / Data Types / AudioQueueBuffer> -- "mAudioDataBytesCapacity / the size of the audio queue buffer, in bytes" -- or is it the number of bytes in the mAudioData FIELD of the buffer?


Roland Silver



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden

References: 
 >mAudioDataBytesCapacity (From: Roland Silver <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.