• 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: Doug Wyatt <email@hidden>
  • Date: Fri, 22 Jun 2001 21:11:11 -0400

On Thursday, June 21, 2001, at 12:49 PM, email@hidden
wrote:
> 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...
>

I take it you're using the default output audio unit.

There's a known bug where you have to explicitly set either the input
proc or the render notify proc of the unit to NULL; I forget which ...

Doug
_____________________
Doug Wyatt
Core Audio
Apple
408.974.9314


  • Follow-Ups:
    • Re: Using AudioUnit instead of AudioDevice
      • From: Bill Stewart <email@hidden>
References: 
 >Using AudioUnit instead of AudioDevice (From: email@hidden)

  • Prev by Date: Re: USB interface
  • Next by Date: Re: A couple of general MIDI questions
  • Previous by thread: Re: real device list
  • Next by thread: Re: Using AudioUnit instead of AudioDevice
  • Index(es):
    • Date
    • Thread