• 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
AudioDeviceGetProperty question for iOS (kAudioDevicePropertyBufferFrameSize)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioDeviceGetProperty question for iOS (kAudioDevicePropertyBufferFrameSize)


  • Subject: AudioDeviceGetProperty question for iOS (kAudioDevicePropertyBufferFrameSize)
  • From: Luther Baker <email@hidden>
  • Date: Thu, 25 Aug 2011 13:17:50 -0500

On the iPhone, how can I determine (in advance) the number of frames my callback will have.

For instance, I've attached a callback to the microphone and I'd like to analyze the incoming data. I don't want to allocate memory in the callback but I noticed that the number of frames while sampling at 22050 was 512 while the number of frames while sampling at 44100 was 1024. In either case though, I don't know the number of frames until the actual parameter gets passed to the callback.

I discovered a few posts on the "AudioDeviceGetProperty" and kAudioDevicePropertyBufferFrameSize parameter ... but even after including a few additional includes - my iPhone app can't find the constant property name. My guess is that this isn't implemented in iOS but maybe I'm just looking in the wrong place.

Thanks,
-Luther

 _______________________________________________
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: Audio Unit Callback buffer question
  • Next by Date: Re: Measuring Input/Output latencies
  • Previous by thread: Audio Unit Callback buffer question
  • Next by thread: HALLab Source
  • Index(es):
    • Date
    • Thread