protected virtual void OnDone(WaveDataBlock block) { block.CanDispose = true; }
public void Write(WaveDataBlock block) { block.CanDispose = false; //!!!R Log.WriteLine("waveOutWrite {0:X8}", block.m_Header.lpData); MM.Check(Api.waveOutWrite(Handle, ref block.m_Header, Marshal.SizeOf(block.m_Header))); }