FMOD library V1.5

Erel

B4X founder
Staff member
Licensed User
Longtime User
The FMOD library was updated and it now supports the Volume property which allows getting or setting the player volume.

Setup instructions:
- Download the attached file.
- Unzip it and copy all files to Basic4ppc libraries folder:
C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries

Make sure to replace existing copies of FMODDevice/FMODDesktop dll files.
 

Attachments

  • FMOD.zip
    14.1 KB · Views: 349

Standa

Member
Licensed User
Longtime User
Hey, thank you very much, Erel! I will try it today. :sign0060:
 

agraham

Expert
Licensed User
Longtime User
Erel, can you please give an indication which of the several fmodce.dlls in the download are suitable for which devices? And do you know what is the difference between the small and the normal FMOD WindowsCE downloads? I can't seem to find it documented on the site. :confused:
 

sahoopes

Member
Licensed User
I tried the small version with the previous version of FMOD and it did not work. Sorry, I can't recall the exact error.
 

sahoopes

Member
Licensed User
New Volume setting

FYI

In my tests today I discovered that when the Play method is run any previous Volume setting is discarded and Volume is set to full.

I was able to overcome this by saving my volume setting and issuing the Volume setting after each Play method. It works very well this way.

Something like:
B4X:
FMOD.Play(s)
FMOD.Volume=PlayVolume
Do Until FMOD.Position >= FMOD.Length1
DoEvents
.
.
.
Loop
 

digitaldon37

Active Member
Licensed User
Longtime User
FMOD Help

I downloaded the FMOD 1.5 library and the help file is giving me this error message: "This program cannot display the webpage". Is anyone else having this problem?
 

dennishea

Active Member
Licensed User
Right click on the help file and choose properties and check to see if you have to unblock it.

Denny
 

JJM

Active Member
Licensed User
Longtime User
FMod and Pause

Hi Erel,

With the new FMod I can't yet make a Pause when I listen to a mp3.
How can I do that?

With the ancient i had

Sub Pause_Click
If Fichier<>"" Then
If Timer1.Enabled = true Then
pauseP=fmod.Position
Fmod.Stop1
Timer1.Enabled = false
Pause.Color=cRed
Stop.Enabled=false
Else
Timer1.Enabled = true
Fmod.Play(Fichier)
Fmod.Position=pauseP
Pause.Color=212,208,200
Stop.Enabled=true
End If
End If
End Sub

Now I get an error when i want play again.

Thank you
JJ M
 

JJM

Active Member
Licensed User
Longtime User
Erel,

I get this error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

I don't know why.

Thank you

JJ M
 

JJM

Active Member
Licensed User
Longtime User
Erel,

Thank you. It was the solution.

An other question about Fmod.Play2("My file.mp3", Mod as int 16)
I had look at the docs at FMOD and I didn't understand at all. What are the Mod I must write?

Best regards

JJ M
 
Top