コード例 #1
0
ファイル: RenderEngine.cs プロジェクト: SeleDreams/OpenUtau
 public RenderEngine(UProject project, IResamplerDriver driver, RenderCache cache, int startTick = 0)
 {
     this.project   = project;
     this.driver    = driver;
     this.cache     = cache;
     this.startTick = startTick;
     resamplers     = ResamplerDriver.ResamplerDriver
                      .Search(PathManager.Inst.GetEngineSearchPath())
                      .ToDictionary(resampler => resampler.GetInfo().Name, resampler => resampler);
 }
コード例 #2
0
ファイル: RenderEngine.cs プロジェクト: zhouweitong3/OpenUtau
 public RenderEngine(UProject project, IResamplerDriver driver, RenderCache cache)
 {
     this.project = project;
     this.driver  = driver;
     this.cache   = cache;
 }