• 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: Using AudioUnit instead of AudioDevice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using AudioUnit instead of AudioDevice


  • Subject: Re: Using AudioUnit instead of AudioDevice
  • From: Bill Stewart <email@hidden>
  • Date: Thu, 21 Jun 2001 18:28:22 -0700

on 21/6/01 9:49 AM, email@hidden wrote:

> Hey guys,
>
> I have some code that can open an AudioDevice and play sound through it,
> however, I need the ability to play different sample rates. It seems
> AudioDevice is more linked to the hardware in what sample rates it
> supports. So I cannot change the sample rate away form 44.1khz. Does
> using AudioUnit allow some sort of software SRC that will upsample my data?
> Is there a sample of code that shows how to use this? The sample I
> currently have will just crash when I try to use it...
>
> Thanks,
> James
> _______________________________________________
> coreaudio-api mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/coreaudio-api

The default output unit will both track the default output as set by the
user AND will also do sample rate conversions from a source sample rate to
the hardware output for you.

There is also a Sample Rate Audio Unit that you can use directly if you
want.

Bill

mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking noise?"
__________________________________________________________________________


  • Follow-Ups:
    • real device list
      • From: aNt <email@hidden>
References: 
 >Using AudioUnit instead of AudioDevice (From: email@hidden)

  • Prev by Date: Re: Capturing audio output to a file
  • Next by Date: real device list
  • Previous by thread: Using AudioUnit instead of AudioDevice
  • Next by thread: real device list
  • Index(es):
    • Date
    • Thread