• 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
Re: C AudioUnit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C AudioUnit


  • Subject: Re: C AudioUnit
  • From: Paul Davis <email@hidden>
  • Date: Sun, 31 Jan 2016 16:25:57 -0500



On Sun, Jan 31, 2016 at 4:08 PM, Charles Constant <email@hidden> wrote:
Does anyone know of any sample code for an AudioUnit written in plain C (as opposed to C++, or Obj-C)? ...assuming that is even possible.

The most relevant references I've found, so far, for what I need to do are Apple's "AUBase.cpp" and "ReverseOfflineUnitVersion.cpp" examples. I have very little C++ experience, and have no idea how I could implement this in C.

I realize C++ is "the" choice writing AudioUnits. However (a) the AudioUnit I need to write is very simple (not much more than an offline mixer) (b) I can reuse some code from my existing C render procs (c) C++ would add extra time for me to get up to speed with a mixed C++/Swift project. My guess is that plain C would work better in my current project, if there's some sample code of a pure C AudioUnit.

You cannot do this in any sensible way.

Almost all legal C code is legal C++ code.

What do you think you're trying to avoid?
 
 _______________________________________________
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

  • Follow-Ups:
    • Re: C AudioUnit
      • From: Charles Constant <email@hidden>
References: 
 >C AudioUnit (From: Charles Constant <email@hidden>)

  • Prev by Date: C AudioUnit
  • Next by Date: Re: C AudioUnit
  • Previous by thread: C AudioUnit
  • Next by thread: Re: C AudioUnit
  • Index(es):
    • Date
    • Thread