bBGA = new COptionBool(true);\r
bFillin = new COptionBool(true);\r
bLogDTX = new COptionBool(true);\r
- bLogEnumerateSongs = new COptionBool(true);\r
- bLogCreateRelease = new COptionBool(true);\r
+ bLogEnumerateSongs = new COptionBool(false);\r
+ bLogCreateRelease = new COptionBool(false);\r
bCymbalFree = new COptionBool(false);\r
bStoicMode = new COptionBool(false);\r
bItalicFontSongSelect = new COptionBool(false);\r
cdDebugX.GBOnly = new COptionInteger(cdInstX.Drums.DrOnly);\r
\r
cdDebugY = new STInstValue<COptionInteger>();\r
- cdDebugY.Both = new COptionInteger(700);\r
- cdDebugY.DrOnly = new COptionInteger(700);\r
- cdDebugY.GBOnly = new COptionInteger(700);\r
+ cdDebugY.Both = new COptionInteger(200);\r
+ cdDebugY.DrOnly = new COptionInteger(200);\r
+ cdDebugY.GBOnly = new COptionInteger(200);\r
\r
cdMovieX = new STInstValue<COptionInteger>();\r
cdMovieX.Both = new COptionInteger(619 + 682);\r
{\r
int x = CDTXMania.Instance.ConfigIni.cdDebugX[CDTXMania.Instance.ConfigIni.eActiveInst];\r
int y = CDTXMania.Instance.ConfigIni.cdDebugY[CDTXMania.Instance.ConfigIni.eActiveInst];\r
- y += (int)(0x153 * Scale.Y);\r
+ y += (int) ( 0x153 * Scale.Y );\r
CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白,\r
string.Format("JudgeLine D/G/B Adj: {0} px", CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Drums, CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Guitar, CDTXMania.Instance.ConfigIni.nJudgeLinePosOffset.Bass));\r
y -= 0x10 * 2;\r
//CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Frame: {0:####0} fps", CDTXMania.Instance.FPS.n現在のFPS ) );\r
CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白, string.Format("Frame: {0} fps", CDTXMania.Instance.FPS.n現在のFPS));\r
y -= 0x10 * 2;\r
- //CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Sound CPU : {0:####0.00}%", CDTXMania.Instance.Sound管理.GetCPUusage() ) );\r
+ CDTXMania.Instance.act文字コンソール.tPrint( x, y, C文字コンソール.Eフォント種別.白, string.Format( "Sound CPU : {0:####0.00}%", CDTXMania.Instance.Sound管理.GetCPUusage() ) );\r
y -= 0x10 * 2;\r
CDTXMania.Instance.act文字コンソール.tPrint(x, y, C文字コンソール.Eフォント種別.白, string.Format("Sound Mixing: {0:####0}", CDTXMania.Instance.Sound管理.GetMixingStreams()));\r
y -= 0x10 * 2;\r
<Prefer32Bit>false</Prefer32Bit>\r
</PropertyGroup>\r
<ItemGroup>\r
- <Reference Include="Bass.Net, Version=2.4.11.1, Culture=neutral, PublicKeyToken=b7566c273e6ef480, processorArchitecture=MSIL" />\r
+ <Reference Include="Bass.Net, Version=2.4.11.1, Culture=neutral, PublicKeyToken=b7566c273e6ef480, processorArchitecture=MSIL">\r
+ <SpecificVersion>False</SpecificVersion>\r
+ <HintPath>..\実行時フォルダ\dll\Bass.Net.dll</HintPath>\r
+ </Reference>\r
<Reference Include="DirectShowLib-2005, Version=2.1.0.0, Culture=neutral, PublicKeyToken=67e7b740cdfc2d3f, processorArchitecture=MSIL">\r
<SpecificVersion>False</SpecificVersion>\r
<HintPath>..\実行時フォルダ(DTXCreator)\dll\DirectShowLib-2005.dll</HintPath>\r
<Compile Include="コード\06.Tempo\CBeatDetect.cs" />\r
</ItemGroup>\r
<ItemGroup>\r
+ <EmbeddedResource Include="コード\01.フレームワーク\Core\GameWindow.resx">\r
+ <DependentUpon>GameWindow.cs</DependentUpon>\r
+ </EmbeddedResource>\r
<EmbeddedResource Include="コード\01.フレームワーク\Properties\Resources.resx">\r
<SubType>Designer</SubType>\r
</EmbeddedResource>\r
using Un4seen.Bass;\r
using Un4seen.BassWasapi;\r
using Un4seen.Bass.AddOn.Mix;\r
+using Un4seen.Bass.Misc;\r
\r
namespace FDK\r
{\r
}\r
\r
\r
+ //録音テスト\r
+ //w = new EncoderWAV( this.hMixer_DeviceOut );\r
+ //w.InputFile = null; //STDIN\r
+ //w.OutputFile = "test2.wav";\r
+ //w.Start( null, IntPtr.Zero, false );\r
+ // decode the stream (if not using a decoding channel, simply call "Bass.BASS_ChannelPlay" here) \r
+\r
// 出力を開始。\r
\r
BassWasapi.BASS_WASAPI_Start();\r
}\r
protected void Dispose( bool bManagedDispose )\r
{\r
+ if ( w != null )\r
+ {\r
+ w.Stop(); // finish\r
+ }\r
this.e出力デバイス = ESoundDeviceType.Unknown; // まず出力停止する(Dispose中にクラス内にアクセスされることを防ぐ)\r
if ( hMixer != -1 )\r
{\r
\r
protected int hMixer = -1;\r
protected int hMixer_DeviceOut = -1;\r
+ protected int hMixer_Record = -1;\r
+ protected EncoderWAV w;\r
+ protected int stream;\r
protected WASAPIPROC tWasapiProc = null;\r
\r
protected int tWASAPI処理( IntPtr buffer, int length, IntPtr user )\r