reorganized callbacks
Merge pull request #160 from wise9/hotfix/audioCallback

reorganized callbacks