关于playsound()的问题,在线等 Delphi / Windows SDK/API
http://www.delphi2007.net/DelphiAPI/html/delphi_20061107145536288.html
uses   MMSystem;  
  sndPlaysound(PChar('alarm.wav'),SND_LOOP);  
  怎么声音不循环播放呢?奇怪

没人知道啊???

看看sndPlaysound这个函数的帮助

帮助就这么写的,用SND_LOOP可以循环  
 

sndPlaysound(PChar('alarm.wav'),SND_ASYNC   or   SND_LOOP);

多谢楼上朋友

相关文章:

  • 2021-06-27
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-18
猜你喜欢
  • 2021-05-05
  • 2021-07-17
  • 2021-05-26
  • 2022-02-27
  • 2021-11-14
  • 2021-08-10
  • 2021-07-27
相关资源
相似解决方案