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

Setting a graph's sample rate


  • Subject: Setting a graph's sample rate
  • From: Geoff Hufford <email@hidden>
  • Date: Thu, 02 Mar 2006 10:09:54 -0600

I am setting up a graph [also described in another question today] using the
kAudioUnitSubType_DefaultOutput and attaching a
kAudioUnitSubType_StereoMixer and then other items to it. By default the
graph is running at 44k but the files I am playing through it are at 48k. I
would prefer to have the whole signal flow at 48k rather than downsampling
each of the files.

I make a Graph and get a AUGraphNewNode for the output unit. I have
attempted to change the rate using AudioUnitSetProperty on the output unit
but that fails. Is it possible to change the rate? Where in the construction
of the graph can I manipulate that? Will I need to directly set the rate for
each item I put in the graph or will that happen automatically as the items
are connected?

I also want to be able to connect this graph to a file writer instead of the
default output, but that is another set of questions I will be throwing at
the list soon.

Thanks,

Geoff Hufford
email@hidden


 _______________________________________________
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: David Duncan <email@hidden>
  • Prev by Date: kAudioUnitProperty_SetRenderCallback disconnecting
  • Next by Date: Re: Setting a graph's sample rate
  • Previous by thread: Re: kAudioUnitProperty_SetRenderCallback disconnecting
  • Next by thread: Re: Setting a graph's sample rate
  • Index(es):
    • Date
    • Thread