Re: Channels and frames
Re: Channels and frames
- Subject: Re: Channels and frames
- From: "john smith" <email@hidden>
- Date: Mon, 31 Oct 2005 13:40:10 +0100
Stefan,
One of our plug-ins has a user setting for the number of output channels.
This is a preference setting, i.e. is not stored with the project, but
rather "globally". Also, the user is required to reload all instances before
the new setting works.
What strikes me now is that when the user has changed this setting, and the
plug-in has a different number of output channels, we have 2 problems:
A: Logic will not realize this (assuming it only scans the plug-ins at
startup).
B: Logic will not even realize this after a restart, because the version
number hasn't changed.
It occurs to me that the version number cannot be changed dynamically by the
code, since it seems to be a resource info of some sort. Also, this doesn't
strike me as a good idea anyway.
Since we cannot expect the user to use this "AU Manager" (which I still
havn't found btw.) after changing the setting, it occurs to me that the only
option left is for our plug-ins to consistently use a version number of 0.
So, I guess my question here can be cooked down to.
A: Did I miss something in what I wrote above? Is there another way?
B: Is there generally any problem in using version 0? What's the version
numbers used for anyway?
Thanks,
Michael Olsen
KeyToSound / PhonoXone
From: Stefan Gretscher <email@hidden>
To: john smith <email@hidden>
CC: coreaudio-api Audio <email@hidden>
Subject: Re: Channels and frames
Date: Fri, 28 Oct 2005 15:31:02 +0200
Am 28.10.2005 um 12:34 schrieb john smith:
I must have misunderstood something, because when using the following
code, the plug-in still shows up as mono->mono and mono->stereo in Logic.
Logic caches the I/O capabilities of your AU - increase the version number
of your AU or rescan the AU in the AU Manager to have Logic update its
cache.
Alternativley, use a version number of 0 during debug, this will cause
Logic to always rescan your AU when it launches.
Let me know if this doesn't fix your problem.
Best,
Stefan
------------------------------------
Stefan Gretscher
plug-in development & 3rd party plug-in support
Emagic GmbH, Hamburg, Germany
a subsidiary of Apple Computer, Inc.
email: email@hidden
phone: (+49)-4101-495-586
(Central European Timezone)
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
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