• 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: getting host tempo in an Audio Unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting host tempo in an Audio Unit


  • Subject: Re: getting host tempo in an Audio Unit
  • From: Artemiy Pavlov <email@hidden>
  • Date: Sun, 27 Aug 2006 00:15:17 +0300

Hello Stiwi!

Oh damn, this is a little overcomplicated for me :-(

My C++ is very poor unfortunately... I code in C mainly, and all that object stuff is very alien to me. I just do not know how to "initialize my kernel with a pointer to the mParentObject" (I don't even think I formulated this phrase right ;-)))).


Thanks a lot again,

Artemiy.

On 26 Aug 2006, at 10:40 PM, stiwi wrote:

Hi again,

If you are within a kernel process() call make sure that you initialized your kernel with a pointer to your parent object
like in the AuPulseDetectorKernel example code. Then you can use that pointer to access the callback like this.


	Float64		bpm;
	OSStatus	err	= mParentObject->CallHostBeatAndTempo(NULL, &bpm);

_______________________________________________ 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: getting host tempo in an Audio Unit
      • From: stiwi <email@hidden>
References: 
 >getting host tempo in an Audio Unit (From: Artemiy Pavlov <email@hidden>)
 >Re: getting host tempo in an Audio Unit (From: stiwi <email@hidden>)
 >Re: getting host tempo in an Audio Unit (From: Artemiy Pavlov <email@hidden>)
 >Re: getting host tempo in an Audio Unit (From: stiwi <email@hidden>)

  • Prev by Date: Re: getting host tempo in an Audio Unit
  • Next by Date: Re: A plea for generic interfaces!
  • Previous by thread: Re: getting host tempo in an Audio Unit
  • Next by thread: Re: getting host tempo in an Audio Unit
  • Index(es):
    • Date
    • Thread