• 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: AudioOutputUnitStart very slow... any ideas?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioOutputUnitStart very slow... any ideas?


  • Subject: Re: AudioOutputUnitStart very slow... any ideas?
  • From: Jean-Yves Avenard <email@hidden>
  • Date: Sun, 15 Apr 2012 11:44:08 +1000

On 14 April 2012 19:38, Aran Mulholland <email@hidden> wrote:
> Why don't you just leave it running? Only provide samples when
> playback is necessary.

This is what I ended up doing... Call AudioOutputUnitStart when the
application start, then play the right amount of audio frames, and
once this have lapsed I play silence (0) until new audio is to be
played.

I am afraid that now I have a secondary thread running at all time,
called rather frequently because I have a very small audio buffer (to
reduce latency).
This surely will impact performance. Though I haven't measured that effect yet.
 _______________________________________________
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

References: 
 >AudioOutputUnitStart very slow... any ideas? (From: Jean-Yves Avenard <email@hidden>)
 >Re: AudioOutputUnitStart very slow... any ideas? (From: Aran Mulholland <email@hidden>)

  • Prev by Date: newbie question on setting up Ivory instrument unit
  • Next by Date: audiounit stop callback at end of file
  • Previous by thread: Re: AudioOutputUnitStart very slow... any ideas?
  • Next by thread: Audio Unit multi channel mixer output metering, OS X
  • Index(es):
    • Date
    • Thread