Re: Java's CopyFromArray() and C compatibility
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.