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

Re: SDK Available


  • Subject: Re: SDK Available
  • From: Marc Poirier <email@hidden>
  • Date: Tue, 29 Apr 2003 21:15:12 +0200 (CEST)

On Mon, 28 Apr 2003, [ISO-8859-1] Airy Andri wrote:

> > But shouldn't there be handling of the case when the properties are not
> > supported, like I see for other properties, something like:
> > case kAudioUnitProperty_FactoryPresets:
> > require(inScope == kAudioUnitScope_Global, InvalidScope);
> > result = GetPresets(NULL);
> > if (!result) {
> > outDataSize = sizeof(CFArrayRef);
> > outWritable = false;
> > }
> > else
> > goto InvalidProperty;
> > break;
> >
> > case kAudioUnitProperty_ParameterValueStrings:
> > result = GetParameterValueStrings(inScope, inElement, NULL);
> > if (result == noErr) {
> > outDataSize = sizeof(CFArrayRef);
> > outWritable = false;
> > validateElement = false;
> > }
> > else
> > goto InvalidProperty;
> > break;
>
> Well, if you don't support these properties, I suppose you don't
> override the default implementation, which returns
> kAudioUnitErr_InvalidProperty.
> So, result == kAudioUnitErr_InvalidProperty


Duhhh, yes of course, you're right, sorry for that dumb one...
_______________________________________________
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.

References: 
 >Re: SDK Available (From: Airy André <email@hidden>)

  • Prev by Date: Re: SDK Available
  • Next by Date: Re: SDK Available
  • Previous by thread: Re: SDK Available
  • Next by thread: Core MIDI Server Timeout
  • Index(es):
    • Date
    • Thread