Esempio n. 1
0
        public TrackFiltersInfo(GATFiltersHandler handler)
        {
            int            i;
            AGATMonoFilter monoFilter;

            _filters     = new AGATFilter[MONOFILTERS_COUNT];
            _filterNames = new string[MONOFILTERS_COUNT];
            _handler     = handler;

            for (i = 0; i < MONOFILTERS_COUNT; i++)
            {
                monoFilter = handler.GetFilterAtSlot(i);

                if (monoFilter != null)
                {
                    _filters[i]     = monoFilter;
                    _filterNames[i] = AGATMonoFilter.FilterNameForType(monoFilter.GetType());
                }
                else
                {
                    _filterNames[i] = "Slot " + i;
                }
            }
        }
Esempio n. 2
0
        public TrackFiltersInfo( GATFiltersHandler handler )
        {
            int i;
            AGATMonoFilter monoFilter;

            _filters 			= new AGATFilter[ MONOFILTERS_COUNT ];
            _filterNames 		= new string[ MONOFILTERS_COUNT ];
            _handler 			= handler;

            for( i = 0; i < MONOFILTERS_COUNT; i++ )
            {
                monoFilter = handler.GetFilterAtSlot( i );

                if( monoFilter != null )
                {
                    _filters[ i ] 		= monoFilter;
                    _filterNames[ i ] 	= AGATMonoFilter.FilterNameForType( monoFilter.GetType() );
                }
                else
                {
                    _filterNames[ i ] = "Slot "+i;
                }
            }
        }