Hooks mixed in a same file leads to less readability.
This is the first part to separate hooks related to recorder and to player.