• 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: Input rendering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Input rendering


  • Subject: Re: Input rendering
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 25 Oct 2010 11:15:37 -0700


On Oct 25, 2010, at 10:35 AM, Bill Farmer wrote:

Hi

I have ported a musical instrument tuner application from windows. I have two queries concerning audio units:

I have set up microphone input using the AUHal audio unit in accordance with Technical Note TN2091, which works fine. However I would like to increase the kAudioUnitProperty_MaximumFramesPerSlice from the default value. I have done this, using AudioUnitSetProperty(), but the AURenderCallback parameter inNumberFrames is always the default value. Is this the expected behaviour, or am I missing something?

In addition to increasing kAudioUnitProperty_MaximumFramesPerSlice, you also need to set kAudioDevicePropertyBufferFrameSize to tell the underlying AudioDevice what buffer size you would like to use. Note that you can set this directly on your instance of AUHAL, as AUHAL proxies the underlying device's properties.


I would like to set up a chain of audio units, an AUHal unit, a format converter, and a low pass filter. I have tried setting up a chain both using the audio unit api, and the AUGraph api. In both cases, I can't get the rendering callback to work. Again is this expected, or am I missing something?

You'll need to provide more detail before we can help with this.


--

Jeff Moore
Core Audio
Apple



 _______________________________________________
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: Input rendering
      • From: Bill Farmer <email@hidden>
References: 
 >Input rendering (From: Bill Farmer <email@hidden>)

  • Prev by Date: Input rendering
  • Next by Date: Re: Supporting UTIs in audio file component
  • Previous by thread: Input rendering
  • Next by thread: Re: Input rendering
  • Index(es):
    • Date
    • Thread