Need help with AudioBufferList
Need help with AudioBufferList
- Subject: Need help with AudioBufferList
- From: Rolley <email@hidden>
- Date: Wed, 23 Jan 2002 01:39:20 -0500
Hi,
I am trying to code an audio Cocoa/Java application.
What I try to do is copy an Object. And it seems .clone() is protected and
I can't use it. Unless you have a clue ?
Since the Object AudioBufferList
http://qtj.apple.com/pub/audio/docs/com/apple/audio/util/AudioBufferList.html
has no constructor (!!!) I have to do something like :
AudioBufferList result = (AudioBufferList) new CAMemoryObject
( _A_SIZE_IN_BYTES_, true);
So let's say i want my AudioBufferList to have 3 AudioBuffer I would like
a function to get the size in bytes of an AudioBuffer, so I could set
_A_SIZE_IN_BYTES_ to 3*sizeof(AudioBuffer).
I am puzzled. Does someone has an idea
1/ How come this object has no constructor
2/ How to get me out of this mess !!
Thx,
Rolley