A. The provisions of this Code, except as otherwise specially provided by other statutes, shall govern and regulate the procedure in criminal prosecutions and proceedings in district courts. They also shall govern criminal prosecutions in city, parish, juvenile, and family courts, except insofar as a particular provision is incompatible with the general nature and organization of, or special procedures established or authorized by law for, those courts.B. This Code shall not affect any power conferred by law upon any court martial, military authority, or military officer to impose or inflict punishment upon offenders.