struct size?
struct size?
- Subject: struct size?
- From: Erick Tejkowski <email@hidden>
- Date: Sat, 11 Mar 2006 12:50:53 -0600
Can anyone help me figure out why SizeOf reports that the size of a
ScheduledAudioFileRegion struct is 96 bytes, but when I add the
numbers up in my head, it comes to 92? I've appended sizes to each
struct member below to show you how I came up with 92. Any ideas what
I am calculating wrong?
Thanks, Erick
struct ScheduledAudioFileRegion {
AudioTimeStamp mTimeStamp;//64
ScheduledAudioFileRegionCompletionProc mCompletionProc; // 4
void * mCompletionProcUserData;//4
struct OpaqueAudioFileID *mAudioFile; //4
UInt32 mLoopCount; //4
SInt64 mStartFrame; //8
UInt32 mFramesToPlay; //4
};
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden