Re: Why a 'prop' error?
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