public RemoteMp3EncoderFactory(DiscoveryServerDescriptor[] servers, int vbrQuality, int localConcurrency, bool calculateRg, bool calculateDr)
     : base(calculateRg, calculateDr)
 {
     this.localConcurrency = localConcurrency;
     this.servers = servers;
     this.vbrQuality = vbrQuality;
     this.ThreadCount = this.localConcurrency + servers.Select(s => s.ThreadCount).Sum();
 }
        public RemoteFlacEncoderFactory(DiscoveryServerDescriptor[] servers, int compressionLevel, int concurrencyLevel, bool calculateRg, bool calculateDr)
            : base(calculateRg, calculateDr)
        {
            this.concurrencylevel = concurrencyLevel;

            this.servers = servers;
            this.compressionLevel = compressionLevel;

            this.ThreadCount = this.concurrencylevel + servers.Select(s => s.ThreadCount).Sum();
        }