I've come to need the use of BASS.Dll. However, I'm having trouble figuring it out. I've got the Dll file, as well as BASS.Ahk.
Can someone post a code snippet that will simply play an audio file? I have:
Code:
#Include bass.ahk
#NoEnv
#SingleInstance Force
#Persistent
BASS_Load()
BASS_Init()
File := A_ScriptDIR "\Test.mp3"
Stream := BASS_StreamCreateFile(false,file,0,0,4)
BASS_ChannelPlay(Stream,0)
... But it fails to play the file. Maybe also a snippet of how to find the current position in the file?
Many thanks to whoever may take the time to help me out!