How to play a wav-File in Delphi?

后端 未结 5 836
心在旅途
心在旅途 2020-12-15 05:13

Which functions are available within Delphi to play a sound-file?

5条回答
  •  囚心锁ツ
    2020-12-15 06:17

    With the function sndPlaySound from the WIN32-API (Unit MMSystem):

    sndPlaySound('C:\Windows\Media\Tada.wav', SND_ASYNC);

提交回复
热议问题