• 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
Does AUAudioFilePlayer support offline rendering yet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does AUAudioFilePlayer support offline rendering yet?


  • Subject: Does AUAudioFilePlayer support offline rendering yet?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 31 Dec 2007 08:35:16 -0800

I'm considering using AUAudioFilePlayer, but while researching it I found a post from July, by Bill Stewart, stating that it doesn't support offline rendering:

http://lists.apple.com/archives/Coreaudio-api/2007/Jul/msg00055.html
On 09/07/2007, at 10:33 AM, patrick machielse wrote:
The problem: AUAudioFilePlayer seems to revert to producing zeroed out
data at random (I've installed a render callback on the file player to
verify this). [...]
What I've tried:
- setting the kAudioUnitProperty_OfflineRender property. It's not
supported by AUAudioFilePlayer it seems (but I believe this doesn't mean
that the file player can't be used at all in an offline context).
Currently, that is the case (and this is the cause of the problem). As you are in an offline context, you could use the ExtendedAudioFile API directly (so instead of connecting the AUFilePlayer, you could use a callback and in the callback use the ExtAudioFileRead call - it should work fairly easily I think).

Is this still the case in Leopard?

--Jens
_______________________________________________
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


  • Prev by Date: Re: deprecated functions
  • Next by Date: Re: deprecated functions
  • Previous by thread: Re: deprecated functions
  • Index(es):
    • Date
    • Thread