Re: Documentation for public utility classes?
Re: Documentation for public utility classes?
- Subject: Re: Documentation for public utility classes?
- From: William Stewart <email@hidden>
- Date: Tue, 28 Sep 2010 12:07:54 -0700
On Sep 28, 2010, at 10:48 AM, Guy Shaviv wrote:
> The inMaxFrames parameter of the constructor is not clear to me. Should it be st to the max files size? if so, why do I need to pass the inNumFrames in the Process method? is the inMaxFrames the largest inNumFrames I can pass, and if my file is bigger, I can call process repeatedly with more data as long as it's no more than inMaxFrames frames?
Yes
The idea here is similar to how max frames works with audio units. It is basically: what is the largest number of samples I am going to ask you to process at any given time?
>
> CASpectralProcessor(UInt32 inFFTSize, UInt32 inHopSize, UInt32 inNumChannels, UInt32 inMaxFrames);
>
> Too bad. "as is" typically means you accept to use with all the bugs it may have and no warrantee on the results, not no documentation.
Yes, but the thing is that we use these sources as well in the code we ship in the OS. So, we tend to fix things here. If you find problems the right way to get them fixed is to write a bug (http://bugreporter.apple.com) attach your diffs to the bug, and we will look at it. But yes, that is basically the bottom line.
> You guys made some nice work to offer these utilities, offering no docs is like doing half the work, would have been a lot more useful with it. (Not complaining, just trying to motivate someone to write docs...)
When you consider that our API does not have a fully complete and comprehensive document set yet, you can imagine this is a lower priority.
Bill
>
> Thanks.
> Guy
>
> On Sep 28, 2010, at 19:38 , William Stewart wrote:
>
>> We don't have any. This is sample code provided with an "As Is" license.
>>
>> We're happy to answer questions about this as we can (and as time permits)
>>
>> Bill
>>
>> On Sep 28, 2010, at 12:05 AM, Guy Shaviv wrote:
>>
>>> Hi,
>>>
>>> Where can I find some docs or sample code for the public utility classes to help understand their usage and each argument in their methods? Specifically I'm interested in the CASpectralProcessor class, but docs for the rest of them would be useful. They seem to do a lot of useful tasks and there is no need for me to "reinvent the wheel" if I can use what's provided. I have a feeling they can do a lot more than I'm currently aware of due to the missing docs...
>>>
>>> Thanks.
>>> Guy _______________________________________________
>>> 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
>>
>
_______________________________________________
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