• 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: mCurrentPreset
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mCurrentPreset


  • Subject: Re: mCurrentPreset
  • From: Bill Stewart <email@hidden>
  • Date: Mon, 28 Oct 2002 09:13:44 -0800

Actually:)

Why? What do you want to do with this... AUBase should be able to define the
complete behaviour of this variable - what are you wanting to do with this?

Bill

on 26/10/02 1:16 PM, Marc Poirier wrote:
>> Is there any chance of making mCurrentPreset protected instead of
>> private in AUBase?
>
> Just do it, dude. You can mess around with the AUBase* sources to your
> heart's content. I mean, if you start changing things that break how an
> AU is required to behave, that's a problem, but things like what you're
> talking about, no problem. Or write an accessor if you prefer. Although
> that's not really necessary, okay, I just happen to have this code sitting
> around from a couple weeks back when I wasn't yet so bold as to change the
> base sources and I was encountering the same issue as you (overriding
> SaveState and RestoreState), so for what it's worth, if you want a copy of
> mCurrentPreset:
>
> AUPreset fake_mCurrentPreset;
> DispatchGetProperty(kAudioUnitProperty_CurrentPreset,
> kAudioUnitScope_Global, 0, &fake_mCurrentPreset);
>
>
> Marc
> _______________________________________________
> 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.

--
mailto:email@hidden
tel: +1 408 974 4056

__________________________________________________________________________
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
__________________________________________________________________________
_______________________________________________
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.

  • Prev by Date: Re: Urs: solution still crashes sometimes
  • Next by Date: Re: kAUParameterListener_AnyParameter
  • Previous by thread: Re: mCurrentPreset
  • Next by thread: pHATmatik AU
  • Index(es):
    • Date
    • Thread