Re: Audio Units and Software Monitoring
Re: Audio Units and Software Monitoring
- Subject: Re: Audio Units and Software Monitoring
- From: Normen Hansen <email@hidden>
- Date: Wed, 19 Dec 2007 01:40:47 +0100
Hi again.
I am very sorry for I have found the problem within my own code.
My program didn't update the buffer size on each call of the process()
method.
In fact Garageband and Logic change the buffer size
(inFramesToProcess) when some channel becomes record enabled /
activates software monitoring.
This info might be useful info for anyone facing similar problems so I
post it here.
Thanks to anyone who read this post.
Regards,
Normen Hansen
Am 26.11.2007 um 18:44 schrieb Normen Hansen:
Hi all.
I am currently testing a plugin that I wrote which reads sample data
from disk and mixes it with the incoming audio data.
Everything works fine when I simply play some audio file in
Garageband or Logic and insert my plugin to that channel. The
resulting output is channel audio mixed with audio from plugin.
However, when I enable software monitoring on that track the samples
from the plugin are playing too fast.
The problem seems to be that the process() methods of the plugin are
called more often per second when I enable software monitoring.
How is software monitoring handled in Audio Units? How can I tell
between audio from the track and audio from input monitoring from
within the plugin?
I used the AUEffectBase / XCode Template to create the plugin and do
most AudioUnit specific stuff in the Kernels.
Can anyone help?
Thank you,
Normen Hansen
_______________________________________________
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