• 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
Sample accurate sync of simultaneous live input and output
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sample accurate sync of simultaneous live input and output


  • Subject: Sample accurate sync of simultaneous live input and output
  • From: <email@hidden>
  • Date: Fri, 19 Oct 2007 12:00:39 +0100
  • Thread-topic: Sample accurate sync of simultaneous live input and output

Title: Sample accurate sync of simultaneous live input and output

Hi,

Thanks for the advice on my previous post Jeff,  this is just what I need to know. I am now following the Aggregate device option. Now as one question often leads to another I would like to be sure I understand the parameters I need to set to build the aggregate device programmatically.....

I've created a device using the Audio MIDI setup utility and created test code to view the CFDictionary from kAudioAggregateDevicePropertyComposition. From this I've got a fairly good idea what needs to go where but a few things are not totally clear to me.

1. The reported subdevices all have latencies set to zero within the CFDictionary from kAudioAggregateDevicePropertyComposition. Does this mean the underlying hardwaredevices in the aggregate device should still be used to obtain the latency 'to/from the wire'?

2. If the 'drift' key is set to a kAudioSubDeviceDriftCompensation above MinQuality does this mean the aggregate device will compensate for any drift between the sample clocks of different devices (I'll only be using 2 - one input, one output) for me? I won't have to worry if the app runs audio for hours, the output to input sample latency will stay consistent? I'm hoping yes...

3. Is there a convention for creating a new unique uid for kAudioAggregateDeviceUIDKey or can it be any sensible unique string?

Thanks, advice is very much appreciated.
Rick.

**********************************************************************


The information in this e-mail is confidential and intended solely
for the use of the individual to whom it was addressed. If you are
not the intended recipient, be advised that you have received this
e-mail in error and that any use, dissemination, forwarding, printing
or copying of this e-mail is strictly prohibited. If you have received
this e-mail in error, please advise the sender by using the reply
facility in your e-mail software, and then delete it from your system.


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

  • Follow-Ups:
    • Re: Sample accurate sync of simultaneous live input and output
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Using MIDISend/MIDISendSysex for Line 6 USB Device
  • Next by Date: Re: Sample accurate sync of simultaneous live input and output
  • Previous by thread: Re: Sample accurate sync of simultaneous live input and output
  • Next by thread: Re: Sample accurate sync of simultaneous live input and output
  • Index(es):
    • Date
    • Thread