• 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: Setting a graph's sample rate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a graph's sample rate


  • Subject: Re: Setting a graph's sample rate
  • From: Geoff Hufford <email@hidden>
  • Date: Thu, 02 Mar 2006 11:22:53 -0600

> Are you changing the sample rate on the input scope or the output
> scope? The difference is between changing the re-sampler in the
> Output unit and changing the hardware itself (which might not support
> the sample rate you want in the first place).

Thanks David. That does look like the first thing I was doing wrong.

I now set the kAudioUnitScope_Input of the OutputUnit to 48000 after the
graph and mixer nodes are connected but prior to AUGraphUpdate and
AUGraphInitialize. Incidentally it errors if I try to set the Input or
Output rate of the Mixer (I don¹t know if I need to).

Prior to AUGraphInitialize, AudioUnitGetProperty (m_output,
kAudioUnitProperty_SampleRate, kAudioUnitScope_Input...) Is 48000. After
AUGraphInitialize it is 44100. I am still missing something.

Geoff

 _______________________________________________
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: Setting a graph's sample rate
      • From: William Stewart <email@hidden>
References: 
 >Re: Setting a graph's sample rate (From: David Duncan <email@hidden>)

  • Prev by Date: GetSourceDuration problem with mp3
  • Next by Date: Re: kAudioUnitProperty_SetRenderCallback disconnecting
  • Previous by thread: Re: Setting a graph's sample rate
  • Next by thread: Re: Setting a graph's sample rate
  • Index(es):
    • Date
    • Thread