sound redirection: made some changes in recording callbacks