/// <summary> /// Cleans up any unmanaged resources. It is intended for this method to be run when no more activity is to be done with MMAL. /// </summary> public void Cleanup() { MMALLog.Logger.LogDebug("Destroying final components"); var tempList = new List <MMALDownstreamComponent>(MMALBootstrapper.DownstreamComponents); tempList.ForEach(c => c.Dispose()); VideoCore.Uninitialize(); //BcmHost.bcm_host_deinit(); }
private MMALStandalone() { VideoCore.Initialize(); //BcmHost.bcm_host_init(); }
private MMALCamera() { //BcmHost.bcm_host_init(); VideoCore.Initialize(); this.Camera = new MMALCameraComponent(); }