OSDN Git Service

#39609 チップ音の試聴動作が遅い問題をある程度修正。取り急ぎ、ViewerをWASAPI排他のDTXMania本体と設定していない限り、DTXC本体でさくっと再生す...
authoryyagi <yyagi.dtxmania@gmail.com>
Wed, 25 Sep 2019 16:51:27 +0000 (01:51 +0900)
committeryyagi <yyagi.dtxmania@gmail.com>
Wed, 25 Sep 2019 16:51:27 +0000 (01:51 +0900)
WASAPI排他の場合の高速化は別途検討とする。

DTXCreator/コード/02.WAV_BMP_AVI/CWAVリスト管理.cs

index d68df83..60cf590 100644 (file)
@@ -220,8 +220,8 @@ namespace DTXCreator.WAV_BMP_AVI
                                string strWavFilenameFullPath = this._Form.strファイルの存在するディレクトリを絶対パスで返す( wc.strファイル名 );
                                try
                                {
-                                       bool dtxmProcess = this._Form.DetectDTXManiaProcess();
-                                       if ( dtxmProcess != false )     // DTXManiaがViewerとして起動中なら
+                                       // WASAPI排他モードのDTXManiaをViewerとして起動中なら
+                                       if (this._Form.appアプリ設定.ViewerInfo.SoundType == ESoundDeviceType.ExclusiveWASAPI && this._Form.DetectDTXManiaProcess())
                                        {
 //Debug.WriteLine( "DTXManiaで再生" );
                                                // DTXManiaで再生する