Fix problem when switching audio streams