private BassAudioService(IBassServiceProxy bassServiceProxy)
        {
            this.bassServiceProxy = bassServiceProxy;
            lock (LockObject)
            {
                if (!IsNativeBassLibraryInitialized)
                {
                    bassServiceProxy.RegisterBass(RegistrationEmail, RegistrationKey); // Call to avoid the freeware splash screen. Didn't see it, but maybe it will appear if the Forms are used

                    string targetPath = GetTargetPathToLoadLibrariesFrom();

                    LoadBassLibraries(targetPath);

                    CheckIfFlacPluginIsLoaded(targetPath);

                    InitializeBassLibraryWithAudioDevices();

                    SetDefaultConfigs();

                    InitializeRecordingDevice();
                }

                initializedInstances++;
            }
        }
 public BassLifetimeManager(IBassServiceProxy proxy)
 {
     this.proxy = proxy;
     if (IsBassLibraryHasToBeInitialized(Interlocked.Increment(ref initializedInstances)))
     {
         RegisterBassKey();
         string targetPath = GetTargetPathToLoadLibrariesFrom();
         LoadBassLibraries(targetPath);
         CheckIfFlacPluginIsLoaded(targetPath);
         InitializeBassLibraryWithAudioDevices();
         SetDefaultConfigs();
         InitializeRecordingDevice();
     }
 }
 internal BassSoundCaptureService(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler)
 {
     this.proxy         = proxy;
     this.streamFactory = streamFactory;
     this.bassResampler = bassResampler;
 }
 public BassStreamFactory(IBassServiceProxy proxy)
 {
     this.proxy = proxy;
 }
Esempio n. 5
0
 internal BassTagService(IBassServiceProxy bassServiceProxy)
 {
     this.bassServiceProxy = bassServiceProxy;
 }
Esempio n. 6
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;
 }
 public BassSamplesProvider(IBassServiceProxy proxy, int source)
 {
     this.proxy  = proxy;
     this.source = source;
 }
Esempio n. 9
0
 internal BassStreamingUrlReader(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler)
 {
     this.proxy         = proxy;
     this.streamFactory = streamFactory;
     this.bassResampler = bassResampler;
 }
 public BassSamplesProvider(IBassServiceProxy proxy, int source)
 {
     this.proxy = proxy;
     this.source = source;
 }
Esempio n. 11
0
 internal BassPlayAudioFileService(IBassServiceProxy proxy)
 {
     this.proxy = proxy;
 }
 public BassLifetimeManager(IBassServiceProxy proxy)
 {
     this.proxy = proxy;
     if (IsBassLibraryHasToBeInitialized(Interlocked.Increment(ref initializedInstances)))
     {
         RegisterBassKey();
         string targetPath = GetTargetPathToLoadLibrariesFrom();
         LoadBassLibraries(targetPath);
         CheckIfFlacPluginIsLoaded(targetPath);
         InitializeBassLibraryWithAudioDevices();
         SetDefaultConfigs();
         InitializeRecordingDevice();
     }
 }
Esempio n. 13
0
 internal BassAudioService(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler resampler)
 {
     this.proxy         = proxy;
     this.streamFactory = streamFactory;
     this.resampler     = resampler;
 }
 internal BassStreamingUrlReader(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler)
 {
     this.proxy = proxy;
     this.streamFactory = streamFactory;
     this.bassResampler = bassResampler;
 }
Esempio n. 15
0
 public BassStreamFactory(IBassServiceProxy proxy)
 {
     this.proxy = proxy;
 }
 internal BassPlayAudioFileService(IBassServiceProxy proxy)
 {
     this.proxy = proxy;
 }
 public BassResampler(IBassServiceProxy proxy, IBassStreamFactory streamFactory, ISamplesAggregator samplesAggregator)
 {
     this.proxy = proxy;
     this.streamFactory = streamFactory;
     this.samplesAggregator = samplesAggregator;
 }
 internal BassTagService(IBassServiceProxy bassServiceProxy)
 {
     this.bassServiceProxy = bassServiceProxy;
 }