• 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: Java's CopyFromArray() and C compatibility
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java's CopyFromArray() and C compatibility


  • Subject: Re: Java's CopyFromArray() and C compatibility
  • From: Bill Stewart <email@hidden>
  • Date: Mon, 11 Aug 2003 10:30:00 -0700

All of the array or otherwise, methods on CAMemorObject will just give back whatever is in the struct

Bill

On Monday, August 11, 2003, at 05:59 AM, Stefan Werner wrote:

Hi,

I am trying to exchange some CoreAudio structures/objects between C and Java programs. Is the Java method CAMemoryObject.CopyFromArray() capable of turning a memory dump of e.g. a C struct AudioBufferList to a valid Java AudioBufferList object? Will this work between all CoreAudio Java classes that inherit from CAMemoryObject and their C counterparts? How about CopyToArray(), can I interpret the (Java) byte[] output from it as a (C) char[] and cast it to my CoreAudio structures? Or would I need to write my own methods for (de-)serializing?

Thanks,
Stefan
_______________________________________________
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.


-- mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
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.
  • Follow-Ups:
    • Re: Java's CopyFromArray() and C compatibility
      • From: Stefan Werner <email@hidden>
References: 
 >Java's CopyFromArray() and C compatibility (From: Stefan Werner <email@hidden>)

  • Prev by Date: Java's CopyFromArray() and C compatibility
  • Next by Date: Re: AudioUnitHosting menu patch
  • Previous by thread: Java's CopyFromArray() and C compatibility
  • Next by thread: Re: Java's CopyFromArray() and C compatibility
  • Index(es):
    • Date
    • Thread