• 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 17:16:02 -0600

On 3/2/06 1:04 PM, "William Stewart" <email@hidden> wrote:

> Before you call AUGraphInitialize, go
> through all of the nodes in the graph and set all of their outputs to
> 48000 (except of course the output unit, where you can't set the
> hardware side's format).
>
> So, then when you connect the graph up (this is one of the things
> AUGraphInitialise will do for you), the source of a connection is
> used to define the format of the connection. So, the formats you have
> established at the output stages (48000) will then propogate through
> to the input side of each connection.

Thanks Bill. That fixed it with the addition of also needing to set the
Input of the Output unit.

I am curious if there is a way to gauge if it makes a difference with the
performance. Using 7 48k stereo sound files playing simultaneously, activity
monitor didn¹t show a noticeable difference whether my graph was at 44k or
48k. I believe that having the graph at 48k means that the 7 sources are
mixed together and then a single SR Convert to change it to 44k for the
output. Whereas if the graph is at 44k then all 7 sources get converted to
44k prior to mixing.

Is the built in sound output on a PB G4 limited to 44100? Do other machines
support different rates with the built in hardware? I assume there is a way
to inquire what rates the sound hardware supports, but I will tackle that
later on.


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: William Stewart <email@hidden>)

  • Prev by Date: Adding Audio
  • 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