• 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: how to get number of frames ahead of render process?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to get number of frames ahead of render process?


  • Subject: Re: how to get number of frames ahead of render process?
  • From: ben kamen <email@hidden>
  • Date: Sat, 29 Oct 2011 17:29:58 -0700


/// kAudioDevicePropertyBufferFrameSize maybe ?

yes, i was trying to access this using
// get the output device's frame count and set any Audio Units to match
UInt32 numFrames;
UInt32 dataSize = sizeof(numFrames);
result = AudioDeviceGetProperty(myDeviceID, 0, false,
    kAudioDevicePropertyBufferFrameSize, &dataSize, & numFrames);


but, i can't figure out where to get myDeviceID from. . . . 

thanks for your help!
 
 _______________________________________________
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: AUVal Source Code
  • Next by Date: Re: AUVal Source Code
  • Previous by thread: Re: how to get number of frames ahead of render process?
  • Next by thread: Preventing Apple's MIDI class compliant driver from loading (resend)
  • Index(es):
    • Date
    • Thread