• 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: AudioUnits...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnits...


  • Subject: Re: AudioUnits...
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 13 Nov 2002 14:40:56 -0800

The PlayEffect sample code does exactly what you want. It takes input coming from hardware and routes it through an AudioUnit to an output device. It gets installed at /Developer/Examples/CoreAudio/Services/PlayEffect by the SDK.

BTW, using an Output AudioUnit is the recommended way of dealing with the HAL. It saves you from writing a lot of code required to be a good HAL citizen. I would do it this way, just like Kurt's code and the PlayEffect sample code, rather than using the HAL directly (at least for output).

On Wednesday, November 13, 2002, at 02:00 PM, email@hidden wrote:

Hello,

Robert Grant pointed me to Kurt Revis' PlayBufferedSoundFile as a sample on using AudioUnits. I have been a bit confused about adapting Apple's samples for what I'd like to do, and his sample code is very nice but still not quite on target.

Basically, I'm using IOProcs for input and output and would like to take the audio input and run it through an AudioUnit effect. Is this possible?

At a quick glance, it looks like Kurt's sample seems to chain the output of the AudioUnit effect into an AudioUnit output, not using a CoreAudio IOProc.

Anyone have any ideas? Thanks!

-- John

--

Jeff Moore
Core Audio
Apple
_______________________________________________
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.

  • Follow-Ups:
    • Re: AudioUnits...
      • From: email@hidden
  • Prev by Date: Re: HAL Input gain
  • Next by Date: Re: AudioUnits...
  • Previous by thread: Re: attention AU host-makers -> MusicEffects
  • Next by thread: Re: AudioUnits...
  • Index(es):
    • Date
    • Thread