• 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: offline effect failing auval on render test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: offline effect failing auval on render test


  • Subject: Re: offline effect failing auval on render test
  • From: William Stewart <email@hidden>
  • Date: Thu, 20 Mar 2008 14:03:06 -0700


On Mar 20, 2008, at 8:36 AM, Kevin Dixon wrote:

Thanks...The only documentation I've found on how to implement these
properties has been in the ReverseOfflineUnit (thanks Spotlight). Anyway,
a couple questions:


For _InputSize, _OutputSize and _StartOffset, it seems these are UInt64
correct?

yes

In what situations is _StartOffset called? In my AU, I need the input to
stream from start to finish with no gaps or skips, since it is trying to
analyze SMPTE time code.

if the user changes the offset in the file that they want to process (and as described, this would normally be accompanied by InputSize being changed as well) - once you render though, the AU itself is in complete control of which input is provided to it:


StartOffset is going to be the first mSampleTime value your AU propogates
It counts samples up to InputSize samples


For the input side, the host uses the mSampleTime to figure out which sample the AU wants to get.

The the output, the host calls the AU with time stamps starting from zero and going up sequentially (in normal practise at least)


Since I'm hosting the AudioUnit in my own program (its not really intended
to be used separately), and don't use the properties, what are good values
to report for them?

0 for start offset is probably the easiest


Or would it be better to maintain the values, as shown in
ReverseOfflineUnit, and just set them when told to, and regurgitate them
when asked, even though they have no bearing on the operation of my AU?

The reverse unit is implementing the semantics of the API so you should ensure that you aren't working around stuff


Bill



Thanks in advance!

-Kevin

Have a look in AudioUnitProperties.h - there's a section on offline
units and what you are required to implement for them

Bill


_______________________________________________ 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: 
 >offline effect failing auval on render test (From: "Kevin Dixon" <email@hidden>)
 >Re: offline effect failing auval on render test (From: William Stewart <email@hidden>)
 >Re: offline effect failing auval on render test (From: "Kevin Dixon" <email@hidden>)

  • Prev by Date: Re: Java CoreMIDI vs javax.sound vs MMJ etc
  • Next by Date: Re: HAL user-land audio driver
  • Previous by thread: Re: offline effect failing auval on render test
  • Next by thread: Sending MIDI to virtual instruments
  • Index(es):
    • Date
    • Thread