Re: A few quick questions
Re: A few quick questions
- Subject: Re: A few quick questions
- From: William Stewart <email@hidden>
- Date: Wed, 10 Nov 2004 11:37:36 -0800
Yes, its a bug (there's actually 3 serious bugs in AUEffectBase to do with
this ramping that we've notified the list about as Marc describes)... I'm
looking into doing a dot-release of the SDK that would be the same as 1.3.2
(the version in Xcode) but with just these changes to this one file... I'll
let you know.
> - Second, can I take for granted that SetParameter will never be called
> during a rendering pass, that I don't need mutexes?
No - typically though, parameter changes will be scheduled either before
render is called on an AU, or in the AU's pre-render notification (before
you render method is actually called for you by AUBase)... However, this is
not guaranteed....
That said, we've not found a situation where a mutex needs to be used (and
if you have one, then you should ideally look at other ways to implement
this) - there are several other techniques you can use to protect critical
regions of code without mutexes...
> - Lastly, what is the simplest way to support ramped parameters ? I can't
> find any function to overload with proper argument (offsetInBuffer,
> duration, begValue, endValue).
Chris Rogers (cc'd on this email) I believe posted an email some time ago
about how to do this - I'm sure he'd be happy to repost that if you can't
find this in the archives.
Bill
On 10/11/04 7:06 AM, "Marc Poirier" <email@hidden> wrote:
> On Nov 10, 2004, at 6:46 AM, Franck Stauffer wrote:
>
>> Le 10 nov. 04, à 09:37, Makira a écrit :
>>
>>> I have 3 small questions:
>>>
>>> - First, could anyone please confirm that I didn't misread or
>>> misinterpret
>>> the code in AUEffectBase and that it really is a bug?
>>>
>> As far as I can tell it's not a bug, i think you misinterpreted it.
>
>
> No, it is definitely a bug, and a dangerous one. This was already
> reported and confirmed a few months ago, check the list archives.
>
> Marc
>
> _______________________________________________
> 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
--
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
__________________________________________________________________________
_______________________________________________
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