public CaptureDevice get(IntPtr ptr, OpenALManager openAlManager)
 {
     if (ptr != IntPtr.Zero)
     {
         return(wrappers.getObject(ptr, openAlManager));
     }
     return(null);
 }
Exemplo n.º 2
0
 public AudioCodec getCodec(IntPtr codec, OpenALManager openALManager)
 {
     if (codec != IntPtr.Zero)
     {
         return(codecs.getObject(codec, openALManager));
     }
     return(null);
 }
Exemplo n.º 3
0
 public void Dispose()
 {
     if (openALManager != null)
     {
         mainTimer.removeUpdateListener(soundUpdate);
         openALManager.Dispose();
         openALManager = null;
     }
 }
Exemplo n.º 4
0
 internal CaptureDevice(IntPtr ptr, OpenALManager openAlManager)
     : base(ptr)
 {
     this.openAlManager = openAlManager;
     callbackHandler    = new CallbackHandler(this);
 }
Exemplo n.º 5
0
 internal AudioCodec(IntPtr codec, OpenALManager manager)
     : base(codec)
 {
     this.manager = manager;
 }
 public SoundUpdateListener(OpenALManager openALManager)
 {
     this.openALManager = openALManager;
 }
Exemplo n.º 7
0
 public void initialize(PluginManager pluginManager, IServiceCollection serviceCollection)
 {
     openALManager = new OpenALManager();
     soundUpdate   = new SoundUpdateListener(openALManager);
     soundManager  = new SoundManager(openALManager);
 }
Exemplo n.º 8
0
 internal SoundManager(OpenALManager openALManager)
 {
     this.openALManager = openALManager;
 }