• 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: Audio Unit with variable Latency (user-modifyable)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Unit with variable Latency (user-modifyable)


  • Subject: Re: Audio Unit with variable Latency (user-modifyable)
  • From: William Stewart <email@hidden>
  • Date: Thu, 7 Jul 2005 11:00:46 -0700


On 06/07/2005, at 8:14 PM, Christian Buchner wrote:

Hi there.

I am in the process of creating an audio unit - in fact a MusicDevice
- mainly for use in GarageBand. I have come up with the idea of adding
a user-adjustable latency setting. This is to counter a delay induced
by sending MIDI data and the audio capturing process. This ensures a
good audio synchronization during playback (the MusicDevice controls
external hardware through MIDI and feeds back the audio).

I tried to return the current latency value in my GetLatency()
function of the audio unit - but GarageBand keeps using the initial
value that was reported after loading the AU while it was still
operating on default values - i.e. zero latency.

Is there a clean way to tell GarageBand - or any other AU host application
- to re-evaluate a modified latency value and to adjust its audio processing


accordingly?

You need to call

PropertyChanged - specifying global scope and the latency property ID

GB may not take notice of it, but that's a start.

Bill

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: 
 >Audio Unit with variable Latency (user-modifyable) (From: "Christian Buchner" <email@hidden>)

  • Prev by Date: Re: AU->View communication
  • Next by Date: Re: java coremidi property advice needed
  • Previous by thread: Audio Unit with variable Latency (user-modifyable)
  • Next by thread: AudioUnit of the uncommon path
  • Index(es):
    • Date
    • Thread