Sound volume not working. (SOLVED)

Started by RetroJay, Tue 05/08/2008 22:35:17

Previous topic - Next topic

RetroJay

Hi Guys.

Firstly I am using AGS 2.72.
I have read the manual and searched for my answer but have found nothing that helps.

I have a sound effect that I am trying to play on channel 3. There are no other sounds on channel three cos I left it open specially for this sound.
The effect is to loud and I have tried everything I can think of to adjust the volume. Nothing works.
I have no problem with adjusting ambient volume. That's simple.

things I have tried from the manual are not working (probably me doin' something wrong) or changes the overall volume of the entire game. 
I would be most grateful if someone could help me with this silly and annoying problem.

Thanks.
Jay.

Khris

Quote from: manualNOTE: This command only affects the current sound being played on the channel. If you start a new sound on the channel using PlaySoundEx for instance, then the channel volume will be changed back to the main Sound Volume setting.

So did you call SetChannelVolume() right after PlaySoundEx()?

RetroJay

Hi Khris. Old pall of mine.

Of course I didn't. I did it the other way around. ::)
I read that line in the manual and thought "You must have to set the channel before the sound plays". :-[
As you already know. it works fine now. ;)

However I had to change my sound fx to channel 4 as it made my footstep sound cut out.
I didn't have to assign a channel to the footsteps cos I placed them within the character view.
I assume that AGS must have used channel 3 automaticaly then.
Would you agree?

Thanks for your help Khris.
Jay.

Khris

Quote from: RetroJay on Tue 05/08/2008 23:30:09Would you agree?
Yep, I'd think so, too.

As always, you're welcome :)

SMF spam blocked by CleanTalk