Java's CopyFromArray() and C compatibility
Java's CopyFromArray() and C compatibility
- Subject: Java's CopyFromArray() and C compatibility
- From: Stefan Werner <email@hidden>
- Date: Mon, 11 Aug 2003 14:59:03 +0200
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.