标签:play log 声音 windows sys arm director bsp span
播放系统声音:
string soundPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Windows) + Path.DirectorySeparatorChar + "Media" + Path.DirectorySeparatorChar + "Alarm01.wav"; if (System.IO.File.Exists(soundPath)) { AlertPlayer.SoundLocation = soundPath; AlertPlayer.Load(); AlertPlayer.PlayLooping(); }
标签:play log 声音 windows sys arm director bsp span
原文地址:http://www.cnblogs.com/wzwyc/p/6292659.html