For the purposes of this chapter, the following terms shall have the meanings respectively ascribed to them by this section:
(1) ADMISSION TO BAIL. The order of a competent court or magistrate, when authorized by law to grant bail, that a defendant be discharged from actual custody on bail.
(2) TAKING OF BAIL. The acceptance by a competent court or magistrate, when authorized by law to grant bail, of sufficient bail for the appearance of the defendant according to the legal effect of his undertaking or for the payment to the state of a certain specified sum if he does not appear.