added a check for audio format in wavparse library