Hi Daniel it's a "bug" in the current version you can only set the master volume. I'm already correct this for the next update. Soon i hope. But need to finish Vector/FastMath units before. In waiting
in the unit GLSMOpenAL in procedure TGLSMOpenAL.UpdateSource(aSource : TGLBaseSoundSource);
at around line 306:
if sscStatus in aSource.changes then
begin
alSourcef(aSource.ManagerTag,AL_PITCH,1.0);
CheckOpenALError;
Hi!
For some reason I cannot figure out how to change the sound volume of my soundEmitter....
This does not work for !?
with SFXHolder.Behaviours.Behaviour[0] as tglbSoundEmitter do
begin
Source.Volume:= 1 * (TrackBar.Position / 100);
end;
Using OpenAL as soundmanager.
Cheers!
Hi Daniel it's a "bug" in the current version you can only set the master volume. I'm already correct this for the next update. Soon i hope. But need to finish Vector/FastMath units before. In waiting
in the unit GLSMOpenAL in procedure TGLSMOpenAL.UpdateSource(aSource : TGLBaseSoundSource);
just add this line just after the begin
it will be ok
Works nicely! Thanks!