Play MP3 (Simple)

Category: Sound

Date: 02-16-2022

Return to Index


 
'Compilable Example:
#Compiler PBWin 10
#Include "Win32API.inc"
#Include "CAfxMp3.inc"
Global pAfxMp3 As IAfxMp3
 
Function PBMain() As Long
   pAfxMp3 = Class "CAfxMp3"
   pAfxMp3.Load("nasty.mp3")
   pAfxMp3.Run
   ? "pause"
End Function   


created by gbSnippets
http://www.garybeene.com/sw/gbsnippets.htm