The example source is there. You can have a live run of the examples here.
This is a very simple example, that shows how to loop from a recorder to a player. It open a Recorder to Stream and plug the ouput of this recorder to a Player from Stream.
Recorder to Stream
Player from Stream