private static void PlayMP3SoundData(ref List <PCMSample> audioStream) { using var finalFile = new Mp3Stream(audioStream); using var m = new System.IO.MemoryStream(finalFile.GetRawWaveStream()); using var soundPlayer = new System.Media.SoundPlayer(m); soundPlayer.PlaySync(); }