• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: memcpy Error Using RemoteIO AU to Play From File (on iPad)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >memcpy Error Using RemoteIO AU to Play From File (on iPad) (From: Carter Allen <email@hidden>)

  • Prev by Date: Re: AU Cocoa UIs that open further windows
  • Next by Date: Re: Displaying an AudioUnitCarbonView in a Cocoa application?
  • Previous by thread: memcpy Error Using RemoteIO AU to Play From File (on iPad)
  • Next by thread: reg:audioplayer
  • Index(es):
    • Date
    • Thread