SetSoundVolume & ogg files bug?

Started by Spyros, Sun 22/06/2003 21:53:19

Previous topic - Next topic

Spyros

I noticed that the SetSoundVolume does not modify the sounds volume .
I tested it with the walking sound of the hero using an ogg file. Also I used versions 2.54 and 2.55

Pumaman

Is that a frame-linked sound, or just a normal PlaySound?

It seems to work ok for me.

Spyros


Pumaman

Has anyone else had this problem?

Spyros

I tried it with 3 different games.
I haven't tried it with a non linked sound yet.

Pumaman

Do you mean that it doesn't adjust the currently playing frame-linked sound, or that it also doesn't adjust all future frame-linked sounds?

Spyros

Tested it with frame linked sounds and non frame linked sounds (just a PlaySound command)
With the PlaySound command there's no problem (if I set the volume to 0 it doesn't sound), but with the frame linked sounds (the walking sound of my hero) the footsteps sounds the same even if I set the volume to 0 or 100 .

Pumaman

Aha! Thansk for the report, I've found the problem.

It's not ogg files, it's a footstep sound problem. Basically, the volume of footstep sounds doesn't update when SetSoundVolume is called. I'll get it fixed.

SMF spam blocked by CleanTalk