I usually keep an x and y coordinate for a camera, personally. Set it to be offset from the player's position by a certain amount at all times. Then, during the render, I offset everything I draw by that x and y. Simplest way in my opinion.
Allegro has no "function" for that. It's something you take care of. Or write a function for yourself.