• 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
Getting an AUAudioUnit from an AudioUnit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting an AUAudioUnit from an AudioUnit


  • Subject: Getting an AUAudioUnit from an AudioUnit
  • From: Ariel Elkin via Coreaudio-api <email@hidden>
  • Date: Tue, 12 Apr 2022 10:20:11 +0100

Hello folks

I wrote an AUAudioUnit subclass, and I'm instantiating using the C API thus:

AudioUnitInitialize(myAudioUnit));

where myAudioUnit is of type AudioUnit. Though it's backed up by an
instance of my custom AUAudioUnit subclass, the C code only sees it as an
AudioUnit.

Elsewhere in my app, I need to call custom methods I've defined in the
AUAudioUnit subclass. But I'm stuck trying to find a way to cast an
AudioUnit to an AUAudioUnit.

How can I otherwise convert an AudioUnit instance to an AUAudioUnit
instance?

Thanks

Ariel
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Next by Date: Getting an AUAudioUnit from an AudioUnit
  • Next by thread: Getting an AUAudioUnit from an AudioUnit
  • Index(es):
    • Date
    • Thread