Beispiel #1
0
 public override void InitializeComponent(ICore core)
 {
     this.StreamFactory = ComponentRegistry.Instance.GetComponent <IBassStreamFactory>();
     if (this.StreamFactory != null)
     {
         this.StreamFactory.Register(this);
     }
     base.InitializeComponent(core);
 }
 public BassResampler(IBassServiceProxy proxy, IBassStreamFactory streamFactory, ISamplesAggregator samplesAggregator)
 {
     this.proxy = proxy;
     this.streamFactory = streamFactory;
     this.samplesAggregator = samplesAggregator;
 }
 internal BassSoundCaptureService(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler)
 {
     this.proxy         = proxy;
     this.streamFactory = streamFactory;
     this.bassResampler = bassResampler;
 }
Beispiel #4
0
 public BassResampler(IBassServiceProxy proxy, IBassStreamFactory streamFactory, ISamplesAggregator samplesAggregator)
 {
     this.proxy             = proxy;
     this.streamFactory     = streamFactory;
     this.samplesAggregator = samplesAggregator;
 }
 internal BassAudioService(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler)
 {
     this.proxy = proxy;
     this.streamFactory = streamFactory;
     this.bassResampler = bassResampler;
 }
Beispiel #6
0
 internal BassStreamingUrlReader(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler)
 {
     this.proxy         = proxy;
     this.streamFactory = streamFactory;
     this.bassResampler = bassResampler;
 }
Beispiel #7
0
 internal BassAudioService(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler resampler)
 {
     this.proxy         = proxy;
     this.streamFactory = streamFactory;
     this.resampler     = resampler;
 }
        public void SetUp()
        {
            proxy = new Mock <IBassServiceProxy>(MockBehavior.Strict);

            streamFactory = new BassStreamFactory(proxy.Object);
        }
 internal BassStreamingUrlReader(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler)
 {
     this.proxy = proxy;
     this.streamFactory = streamFactory;
     this.bassResampler = bassResampler;
 }
        public void SetUp()
        {
            proxy = new Mock<IBassServiceProxy>(MockBehavior.Strict);

            streamFactory = new BassStreamFactory(proxy.Object);
        }