yes of course you can load from a resource, if you want 2 mp3s to play in order then call FSOUND_Isplaying and wait for it to return false. before you start the next one.
If you want it gapless then you can only use FMOD Ex to do this.
I use LoadResData function to to load WAV resources (VB code):
Dim songHandle As Long
Dim sampleHandle As Long
Dim DataArray() As Byte
DataArray = LoadResData(101, "WAVE")
and to play it:
sampleHandle = FSOUND_Sample_Load(FSOUND_FREE, DataArray(0), FSOUND_LOADMEMORY, 0, 1024)
sampleChannel = FSOUND_PlaySound(FSOUND_FREE, sampleHandle)
but I get "Subscript out of range" error message…
Can You tell what am I doing wrong?
Please login first to submit.