• 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
AU hosting, two issues: Stereo Metering, How to dispose the last plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU hosting, two issues: Stereo Metering, How to dispose the last plugin


  • Subject: AU hosting, two issues: Stereo Metering, How to dispose the last plugin
  • From: r-e division <email@hidden>
  • Date: Tue, 29 Oct 2013 06:08:26 +0900

Hello all,

Let me ask 2 questions regarding to Audio Unit hosting on Mac, please share me some ideas / solutions...


1. Stereo Metering

I'm currently using Multi-Channel Mixer unit, and successful to get metering level from each bus's left channel:

AudioUnitGetParameter(mMixerUnit, kMultiChannelMixerParam_PostAveragePower, kAudioUnitScope_Input, 0, &value);

so wondering how can I get levels from right channel also? as it looks an element deals with a stereo pair of a bus. And this is not retrieving "summed" level, if it can do so, that's good too.


2. How to dispose the last plugin

By watching how the host app uses memory, the plugins that are loaded once and removed leave malloced memory largely. For instance, I load an effect / instrument plugin, it takes just roughly 20 - 200MB memory, after removing there is still remaining memory use of  10 - 180MB. So I mostly assume its GUI / View related things are disposed, but its core is still remaining. Is there anyway to clear and free the last used plugin completely or as much as possible?


Thanks in advance!

R-E.Div

 _______________________________________________
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

  • Prev by Date: Re: SimpleAudioPlugIn SamplingRate always 0.0 Hz
  • Next by Date: openal.org down? Permanently?
  • Previous by thread: Re: Changing effects in the middle of playback
  • Next by thread: Race condition when changing data source?
  • Index(es):
    • Date
    • Thread