changed getAudioStreamStatsOfStream to return stats instead of taking pointer