• 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: Why a 'prop' error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why a 'prop' error?


  • Subject: Re: Why a 'prop' error?
  • From: Stevo Brock <email@hidden>
  • Date: Wed, 5 Nov 2008 18:06:56 -0800

That doesn't sound like a very good solution to me. Call a function and get an error to determine whether or not it's even appropriate to call the function to begin with? You guys can do better than that.

How 'bout this? (and for the record in case anyone is perusing the archives)

call AudioConverterGetProperty with kAudioConverterSampleRateConverterQuality and if you get 'prop' back, you don't have an SRC, so don't try to set any of those properties.

-Stevo Brock
 Head of Development
 Monkey Tools, LLC
 www.monkey-tools.com




On Nov 5, 2008, at 2:41 PM, james mccartney wrote:


On Nov 5, 2008, at 1:44 PM, Stevo Brock wrote:

So I guess that begs the question, after you call AudioConverterNew, how do you know if you have an SRC or not?

If you get a 'prop' error for setting the quality, then you don't have one.





_______________________________________________
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


  • Follow-Ups:
    • Re: Why a 'prop' error?
      • From: Jeff Moore <email@hidden>
References: 
 >Why a 'prop' error? (From: Stevo Brock <email@hidden>)
 >Re: Why a 'prop' error? (From: james mccartney <email@hidden>)
 >Re: Why a 'prop' error? (From: Stevo Brock <email@hidden>)
 >Re: Why a 'prop' error? (From: james mccartney <email@hidden>)

  • Prev by Date: Re: error handling best practices with audio file streaming?
  • Next by Date: Re: Why a 'prop' error?
  • Previous by thread: Re: Why a 'prop' error?
  • Next by thread: Re: Why a 'prop' error?
  • Index(es):
    • Date
    • Thread