OSDN Git Service

#28263 DTX2WAV: キャンセル操作の追加, 進捗表示の追加。
[dtxmania/dtxmania.git] / DTXMania / コード / 全体 / cmdparse.cs
index 34e016a..0473987 100644 (file)
@@ -268,9 +268,19 @@ namespace DTXMania
                                                Trace.TraceInformation("cdtx2wav.outfilename=" + cdtx2wav.outfilename);
                                                Trace.TraceInformation("cdtx2wav.dtxfilename=" + cdtx2wav.dtxfilename);
 
+                                               cdtx2wav.Command = CDTX2WAVmode.ECommand.Record;
+
                                                analyzing = false;
                                        }
                                        #endregion
+                                       // -S
+                                       else if (arg.StartsWith("-C", StringComparison.OrdinalIgnoreCase))    // DTXV再生停止
+                                       {
+                                               cdtx2wav.Enabled = true;
+                                               cdtx2wav.Command = CDTX2WAVmode.ECommand.Cancel;
+                                               ret = ECommandType.DTX2WAV;
+                                               arg = arg.Substring(2);
+                                       }
                                        else
                                        {
                                                analyzing = false;