I've noticed that the volume in my game changes according to the volume that my Winamp player was set the last time, even though I SetMasterVolume at the beginning of game script.
Is there any way to evade this codependence?
I had this problem with WinAmp before.
The reason was because Winamp's volume control is (at least on my computer) tied to the system volume. So AGS wasn't actually lowering it's volume, but if you turn down the main system volume AGS must comply.
That might be why it's happening for you too?
])]V[
OK., thanks, I'm sure it is the case with me as well.
But then -- couldn't AGS be tied to the main system volume much like Winamp is?
winamp is not always tied to your system volume.
it depends on which output-plugin you use in winamp..
changing the playback volume whilst the wave-out plugin is active will result in changing your system volume (because it's tied to your wave-output of your soundcard).
so either use the directsound output in winamp or chage your winamp volume via the equalizer.
that's the way i do it, switching to directsound always gives me some probs, sound is choppy... ;D
Quote from: Goldmund on Mon 19/01/2004 14:33:57But then -- couldn't AGS be tied to the main system volume much like Winamp is?
IMO, it would be better not to tie it, because this way changing the volume in AGS would affect the sound volume in another application.
~Cheers
HX - thanks for advice, yet as now I've tracked the dependence I'm rather worried for other players, not myself.
Scorpiorus - hm, but then again AGS could set it to the previous position on exit, no?
On the other hand, as it is the Winamp doing the dirty deed, maybe CJ has no reason to spend his time on this matter.
Btw, are we talking about the overal system volume or just about the wave-out device volume? What volume does WinAmp's plugin change?
QuoteScorpiorus - hm, but then again AGS could set it to the previous position on exit, no?
if you about the wave-out then I think it's probably how it works. :P
~Cheers
Speaking of overall system volumes, does anyone know the Windows default settings?
I need a reference so I don't make the sound effects and music too loud or too low.
Thanks
Chris
By default I think it's set to 50% loudness.
With the SetDigitalMasterVolume() you control the digital output volume level (wave-out). Afaik, there is no function in AGS that does change an overall system volume which (being a general one) in its turn affects all other volumes (wave-out, midi, cd, etc.)
QuoteBy default I think it's set to 50% loudness.
Master, Waveout or both?
Afaik, all at 50%. At least they are set so when windows has just been installed. But some of the programs tend to change even the master volume setting.
the wave-out plugin controls the wave-out volume, not the system volume.. ;)
the creative software sets:
master volume to 80%,
wave-out to 100%,
midi (why?) to 96%,
cd-in and s-pdif in to 67%
lots of values to choose from ;D
hth, hX
Quote from: hX on Mon 19/01/2004 19:13:26the wave-out plugin controls the wave-out volume, not the system volume.. ;)
So, this way if WinAmp doesn't affect the master volume but just the wave-out one then SetDigitalMasterVolume() should override that setting, but it doesn't, strange. Goldmund, is WinAmp loaded at Windows start up (appearing on the system tray bar or something)?
Quotethe creative software sets:
master volume to 80%,
wave-out to 100%,
midi (why?) to 96%,
cd-in and s-pdif in to 67%
lots of values to choose from ;D
Yeah... The most annoying thing is about the master volume. I really like it to be a controlable-by-user-only option as all other devices volumes are counted off relative to the master one.
~Cheers
Scorpiorus: no, it's not loaded on startup.
When it's open and in the tray bar, the game has music disabled.
When I close it before running the game, its volume setting influences the game's volume setting. That's all.
Odd to me... Pity I don't have Winamp right now so I can't test it. :P
QuoteAfaik, all at 50%. At least they are set so when windows has just been installed. But some of the programs tend to change even the master volume setting.
For the record: I had to reinstall Windows the other day and indeed, all sliders are set at 50%.