• 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: Playing 2 or more audio data simultaneously
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Playing 2 or more audio data simultaneously
      • From: Bill Stewart <email@hidden>
References: 
 >Re: Playing 2 or more audio data simultaneously (From: Alberto Ricci <email@hidden>)

  • Prev by Date: Re: Connecting AU's without an AUGraph
  • Next by Date: Re: Sound Font?
  • Previous by thread: Re: Playing 2 or more audio data simultaneously
  • Next by thread: Re: Playing 2 or more audio data simultaneously
  • Index(es):
    • Date
    • Thread