/// <summary> /// Delete the data. /// </summary> public override void Do() { if (m_boolTime == true) { m_NewAsset = m_Asset.DeleteChunk(m_dBeginTime, m_dEndTime); } else { m_NewAsset = m_Asset.DeleteChunk(m_lBeginPosition, m_lEndPosition); } }
/// <summary> /// Delete the chunk from the asset. /// </summary> public override void Undo() { if (m_boolTime == true) { m_Asset.DeleteChunk(m_dInsertionTime, m_dInsertionTime + m_AssetChunk.LengthInMilliseconds); } else { m_Asset.DeleteChunk(m_lInsertionPosition, m_lInsertionPosition + m_AssetChunk.AudioLengthInBytes); } }