• 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: memset AND struct = {0}?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memset AND struct = {0}?


  • Subject: Re: memset AND struct = {0}?
  • From: Ilya Konstantinov <email@hidden>
  • Date: Mon, 02 Mar 2015 01:58:19 +0000

When you implement your own AU? Then I'd just initialize all members. It's a Core Audio structure with a handful of members that's not going to be extended.

When configuring an existing AU, I'd get-modify-set.


On Mon, Mar 2, 2015, 03:55 Patrick J. Collins <email@hidden> wrote:
> To me, this looks sloppy either way. I'd retrieve the current format with AudioUnitGetProperty, modify the members I care about, then set it with
> AudioUnitSetProperty (on same scope and element).

This was about creating a new asbd from scratch, not modifying an
existing one..

Patrick J. Collins
http://collinatorstudios.com
 _______________________________________________
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: 
 >memset AND struct = {0}? (From: "Patrick J. Collins" <email@hidden>)
 >Re: memset AND struct = {0}? (From: Ilya Konstantinov <email@hidden>)
 >Re: memset AND struct = {0}? (From: "Patrick J. Collins" <email@hidden>)

  • Prev by Date: Re: memset AND struct = {0}?
  • Next by Date: rendered sound is crackly under iOS8
  • Previous by thread: Re: memset AND struct = {0}?
  • Next by thread: rendered sound is crackly under iOS8
  • Index(es):
    • Date
    • Thread