private void btnPlay_Click(object sender, EventArgs e) { if (channel != null && channel.IsPlaying) { return; } oscillator = (Oscillator)fmod.CreateDsp(DspType.Oscillator); channel = oscillator.Play(); }
private void btnPlay_Click(object sender, EventArgs e) { if (channel != null && channel.IsPlaying) return; oscillator = (Oscillator) fmod.CreateDsp(DspType.Oscillator); channel = oscillator.Play(); }