protected internal override void closeImpl() { if (source != null) { source.close(); } }
public virtual void stopSound() { done = true; while (!threadExit) { Utilities.sleep(1, 0); } if (mLine != null) { mLine.close(); } if (memInfo != null) { Modules.SysMemUserForUserModule.free(memInfo); memInfo = null; samplesAddr = 0; inputAddr = 0; } }