According to the Code of Criminal Procedure, a peace officer may break down the door of any house for the purpose of making an arrest if he has been refused admittance after giving notice of his authority and purpose under which of the following circumstances.