• 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: Simple code to use an effect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple code to use an effect


  • Subject: Re: Simple code to use an effect
  • From: Laurent de Segur <email@hidden>
  • Date: Tue, 19 Feb 2002 20:43:46 -0800

Use the AudioUnitGetProperty call with kAudioOutputUnitProperty_CurrentDevice as seen in AudioUnitProperties.h.
The comment in the file says that it works for HAL and default output components so you should be ok.

After getting the device ID, proceed as normal for getting the buffer size and other groovy stuff.

LdS


On Tuesday, February 19, 2002, at 04:40 PM, Jean-Philippe Leblanc wrote:

Thanks for the sample code, I got it to work :-) One more thing: If I use
audio units, how can I get the buffer size of my output?

Thanks again,

JP
_______________________________________________
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.

References: 
 >Re: Simple code to use an effect (From: "Jean-Philippe Leblanc" <email@hidden>)

  • Prev by Date: Re: Sound Manager & MIDI callbacks, interrupts and threads
  • Next by Date: Re: Questions on data in MIDIPackets
  • Previous by thread: Re: Simple code to use an effect
  • Next by thread: AudioUnit questions
  • Index(es):
    • Date
    • Thread