//コンストラクタ 引数は音源の個数 public MySE(int argNum) { EndStatus = false; if (argNum < 1) { return; } se = new fk_AudioWavBuffer[argNum]; openStatus = new bool[argNum]; playStatus = new bool[argNum]; for (int i = 0; i < argNum; i++) { se[i] = new fk_AudioWavBuffer(); openStatus[i] = false; playStatus[i] = false; } }
// コンストラクタ 引数は音源の個数 public GP_SE(int argNum) { StopStatus = false; if (argNum < 1) { return; } se = new fk_AudioWavBuffer [argNum]; openStatus = new bool [argNum]; playStatus = new bool [argNum]; for (int i = 0; i < argNum; i++) { se[i] = new fk_AudioWavBuffer(); openStatus[i] = false; playStatus[i] = false; } task = new Task(Start_); }