Re: AUEffectBase::ChangeStreamFormat changes sOld
Re: AUEffectBase::ChangeStreamFormat changes sOld
- Subject: Re: AUEffectBase::ChangeStreamFormat changes sOld
- From: Marc Poirier <email@hidden>
- Date: Wed, 29 Sep 2004 10:19:18 -0400
On Sep 29, 2004, at 7:58 AM, Shai Shasag wrote:
My AU overrides and implements the ChangeStreamFormat function.
When the sample rate of the session has changed (ie. under Logic)
ChangeStreamFormat gets called with the parameters:
const CAStreamBasicDescription& sOld, const CAStreamBasicDescription&
sNew
Where sOld.mSampleRate holds the current sample rate and sNew
.mSampleRate hold the new.
My code than calls AUEffectBase::ChangeStreamFormat passing sOld and
sNew.
When AUEffectBase::ChangeStreamFormat returns, sOld.mSampleRate holds
the NEW sample rate!
This happens despite the fact that sOld is defined as const
CAStreamBasicDescription&.
Why is this happening?
http://lists.apple.com/archives/coreaudio-api/2004/Jul/msg00185.html
_______________________________________________
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