delphi 播放mp3

 

mp1: TMediaPlayer;

mp1.FileName := ExtractFilePath(Application.Exename)+'凉凉.mp3';
mp1.Open;
mp1.Play;

 

可参考

http://www.cnblogs.com/pchmonster/archive/2012/07/12/2588846.html

转载于:https://www.cnblogs.com/yangxuming/p/6539423.html

你可能感兴趣的:(delphi 播放mp3)