//声音控制
public static bool SetValume(int Valume)
{
bool result = false;
string MciCommand = string.Format("setaudio media volume to {0}", Valume);
int RefInt = APIClass.mciSendString(MciCommand, null, 0, 0);
if (RefInt == 0)
{
result = true;
}
return result;
}
调用播放之前先调用这个就行,valume是音量大小