• 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: The proper way of finding out if a host is doing offline processing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The proper way of finding out if a host is doing offline processing


  • Subject: Re: The proper way of finding out if a host is doing offline processing
  • From: Stefan Gretscher <email@hidden>
  • Date: Fri, 24 Mar 2006 17:44:38 +0100

Am 24.03.2006 um 16:54 schrieb Bobby Zlatkov:
What I am doing is this:

UInt32 offlineProp;
Uint32 size = sizeof(offlineProp);

AudioUnitGetProperty( mAudioUnit, kAudioUnitProperty_OfflineRender,
kAudioUnitScope_Global, 0, & offlineProp, &size );

...

Not sure if this is the right way to do it
Looks fine to me.

and also I was not sure where would be the proper place to put this call
( in CreateUI(), Render() or somewhere else )
That would depend on what you want to accomplish.
It's a property that can change at any time, so checking it in Render () should
yield different results when rendering in realtime or in an offline situation.
If you want to display some information about this property within your UI,
then I'd suggest to install a property listener for it in your UI and update your
view accordingly when it's hit.


since on return offlineProp is always 0.
Which host did you try this in?
I'm sure that if you check this in Logic 7.1 then you'll see a 1 in this property
during freeze. If not, that'd be a bug.


Best,
Stefan

_______________________________________________
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


References: 
 >RE: The proper way of finding out if a host is doing offline processing (From: "Bobby Zlatkov" <email@hidden>)

  • Prev by Date: RE: The proper way of finding out if a host is doing offline processing
  • Next by Date: Re: AU Views, 'thng' versus ComponentEntryPoint::Register
  • Previous by thread: RE: The proper way of finding out if a host is doing offline processing
  • Next by thread: Re: The proper way of finding out if a host is doing offline processing
  • Index(es):
    • Date
    • Thread