wxSound
BlitzMax Forums/Brucey's Modules/wxSound
| ||
| Create in BlitzMax/mod/wx.mod/ a new directory "wxsound.mod" and in this directory you put the following 4 files: glue.h glue.cpp common.bmx wxsound.bmx After compiling you can test it: SuperStrict
Framework wx.wxApp
Import wx.wxSound
Type Application Extends wxApp
Field Sound : wxSound
Method OnInit:Int()
Sound = New wxSound.Create("Test.wav")
DebugLog Sound.IsOk()
DebugLog Sound.Play()
Return True
End Method
End Type
New Application.Run()
Endcu olli |