• 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
Need help with AudioBufferList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Need help with AudioBufferList
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: AudioDeviceIOProc's INT execute(..) [JAVA]
  • Next by Date: Re: Helpful hint (was: HAL Devices and Streams (with QuickTime))
  • Previous by thread: Re: AudioDeviceIOProc's INT execute(..) [JAVA]
  • Next by thread: Re: Need help with AudioBufferList
  • Index(es):
    • Date
    • Thread