📜  c# 播放 wav 文件 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:00.785000             🧑  作者: Mango

代码示例1
var soundPlayer = new System.Media.SoundPlayer();
soundPlayer.SoundLocation = @"C:\ProjectFolder\song.wav";
soundPlayer.PlayLooping();