Hotfix/audio callback

Reorganized registration of callbacks for #158