Re: memcpy Error Using RemoteIO AU to Play From File (on iPad)
Re: memcpy Error Using RemoteIO AU to Play From File (on iPad)
- Subject: Re: memcpy Error Using RemoteIO AU to Play From File (on iPad)
- From: infrequent <email@hidden>
- Date: Sat, 12 Jun 2010 09:07:11 +0100
Carter,
At a quick glance, you're trying to copy data from this.mFrameData but
the only assignment I can see for mFrameData is in init (where it's
set to NULL). I'm sure you intended it to be pointing to
toneBuffer.mBuffers[0].mData but there's nothing in the code snippet
that does this. I don't have the c standard to hand but I'm pretty
sure memcpy from a NULL pointer is undefined. Hence the access
violation.
hope this helps,
Pierre
_______________________________________________
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