Re: plugin component opening a window: always legal?
Re: plugin component opening a window: always legal?
- Subject: Re: plugin component opening a window: always legal?
- From: William Stewart <email@hidden>
- Date: Tue, 8 Jun 2010 12:17:51 -0700
Preferably not.
On Jun 8, 2010, at 10:29 AM, Paul Davis wrote:
> should an AU plugin be able to expect to open a GUI window whenever it
> is loaded by the host? we have a trace in front of us from an Native
> Instruments plugin that suggests that it is attempting to open a GUI
> of some kind, but the host (Ardour/Mixbus) is just probing plugins in
> its backend and so far does not have its own windows established yet.
> given that the host could potentially not even have established a
> relationship with the display server at the time of probing plugins,
> is it appropriate for a plugin to be attempting GUI tasks from inside
> its main entry point?
>
> --p
>
> ps. the trace:
>
> 0 ...nth 3.MusicDevice.component 0x177fbbe4 NIAudioUnitViewEntry + 996804
> 1 ...nth 3.MusicDevice.component 0x177fbb6c NIAudioUnitViewEntry + 996684
> 2 ...nth 3.MusicDevice.component 0x17709d48 NIAudioUnitViewEntry + 5928
> 3 ...nth 3.MusicDevice.component 0x1785a164
> NIAudioUnitViewEntry + 1383236
> 4 ...nth 3.MusicDevice.component 0x1783be2c
> NIAudioUnitViewEntry + 1259532
> 5 ...nth 3.MusicDevice.component 0x1783c18c
> NIAudioUnitViewEntry + 1260396
> 6 ...nth 3.MusicDevice.component 0x17708310 NIAudioUnitEffectEntry + 136
> 7 ...ple.CoreServices.CarbonCore 0x90bdeae8 CallComponent + 260
> 8 ...ple.CoreServices.CarbonCore 0x90bde9c0 CallComponentOpen + 40
> 9 ...ple.CoreServices.CarbonCore 0x90bddc3c OpenAComponent + 520
> 10 libappleutility.dylib 0x036b1f80
> CAAudioUnit::CAAudioUnit[in-charge](CAComponent const&) + 160
> 11 libappleutility.dylib 0x036b2114
> CAAudioUnit::Open(CAComponent const&, CAAudioUnit&) + 40
> 12 libardour.dylib 0x00cd6ab0
> ARDOUR::AUPluginInfo::cached_io_configuration(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, unsigned long,
> CAComponent&, ARDOUR::AUPluginCachedInfo&, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) + 1148
> 13 libardour.dylib 0x00cd7a4c
> ARDOUR::AUPluginInfo::discover_by_description(std::list<boost::shared_ptr<ARDOUR::PluginInfo>,
> std::allocator<boost::shared_ptr<ARDOUR::PluginInfo> > >&,
> CAComponentDescription&) + 2216
> 14 libardour.dylib 0x00cd84d4
> ARDOUR::AUPluginInfo::discover() + 1124
> _______________________________________________
> 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