Re: Playing 2 or more audio data simultaneously
Re: Playing 2 or more audio data simultaneously
- Subject: Re: Playing 2 or more audio data simultaneously
- From: Kurt Revis <email@hidden>
- Date: Thu, 19 Sep 2002 10:35:10 -0700
On Thursday, September 19, 2002, at 01:40 AM, Alberto Ricci wrote:
err = AudioUnitSetProperty(outputAudioUnit,
kAudioUnitProperty_MakeConnection, kAudioUnitScope_Input, 0,
&connection, sizeof(struct AudioUnitConnection *));
It should be sizeof(AudioUnitConnection), not the size of a pointer to
it, I suppose.
Nope. The comments for kAudioUnitProperty_MakeConnection say that it
takes an (AudioUnitConnection *). My code does the same as above, and
it works.
(an aside: This code was written on 10.1, when there was no typedef for
AudioUnitConnection, just a struct. It looks like 10.2 has the typedef
now, so you could omit the 'struct'.)
--
Kurt Revis
email@hidden
_______________________________________________
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.