Add audio type converting function to debug