Re: Device Sync (was Re: Multiple HALAOUs don't get along?)
Re: Device Sync (was Re: Multiple HALAOUs don't get along?)
- Subject: Re: Device Sync (was Re: Multiple HALAOUs don't get along?)
- From: Dave Addey <email@hidden>
- Date: Wed, 23 Jun 2004 08:42:57 +0100
Hi Bill,
Thanks for that - I'm clear now. Here's hoping some kind soul announces
something at WWDC to make this all a bit easier ;-)
BTW, will the QuickTime / CoreAudio keynote from WWDC be available via a
QuickTime stream, like it was last year, for those of us who can't attend?
It would seem only appropriate, really :-)
Best wishes,
Dave.
>
From: William Stewart <email@hidden>
>
Date: Fri, 18 Jun 2004 14:27:29 -0700
>
To: Dave Addey <email@hidden>
>
Cc: email@hidden
>
Subject: Re: Device Sync (was Re: Multiple HALAOUs don't get along?)
>
>
On 18/06/2004, at 9:19 AM, Dave Addey wrote:
>
>
> Hi Bill,
>
>
>
> Thanks for clearing that up - and I think I understand the reasons
>
> why, too.
>
> I'm assuming this would be the same if you used a DefaultOutputUnit for
>
> output rather than one of the AUHALs, too.
>
>
>
> Just to be sure I'm getting this right, in my case the source audio
>
> data
>
> coming into the MatrixMixer would be coming from a file, not from an
>
> input
>
> AUHAL... it's just that I want *2* output buses on the output of the
>
> MatrixMixer, each going to an AUHAL for a different output device. So
>
> the
>
> two AUHALs aren't connected to each other, just both to the
>
> MatrixMixer's
>
> two output buses. I think this is still the same limitation?
>
>
Yes - as the two different devices (one for each AUHAL) is going to
>
call out on a separate thread... This could get really knarly if you do
>
this way as you will at some point have two threads in the MatrixMixer
>
at the same time. I wouldn't recommend doing that... :-)
>
>
Rather I think you'd need to separate the thread that calls your matrix
>
mixer's outputs - then you'd have to buffer that output for each
>
device...
>
>
Its rather knarly - did I mention WWDC :-)
>
>
> Just a thought, but will the sample code you mentioned be an extension
>
> of
>
> the MatrixMixerTest project, with (for example) two output buses
>
> rather than
>
> one? Would be great for me if it is :-)
>
>
The Matrix Mixer is fine to have as many output buses as you like - but
>
all bets are off if you call any of those outputs from a different
>
thread than another one... (especially if you end up having those two
>
threads in the matrix at the same time!)
>
>
Bill
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.