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; }
internal BassTagService(IBassServiceProxy bassServiceProxy) { this.bassServiceProxy = bassServiceProxy; }
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; }
internal BassStreamingUrlReader(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler bassResampler) { this.proxy = proxy; this.streamFactory = streamFactory; this.bassResampler = bassResampler; }
internal BassPlayAudioFileService(IBassServiceProxy proxy) { this.proxy = proxy; }
internal BassAudioService(IBassServiceProxy proxy, IBassStreamFactory streamFactory, IBassResampler resampler) { this.proxy = proxy; this.streamFactory = streamFactory; this.resampler = resampler; }