using System;
using System.Media;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
SoundPlayer s = new SoundPlayer("test.wav");
...
C#使用HWQPlayer类播放wav文件
类的代码:
using System.IO;
using System.Runtime.InteropServices;
namespace HoverTreeSound.HewenqiFrame
{
internal class HWQPlayer
{
[DllImport("winmm.dll")]
p...