typo lmao
parent
0e04346b8c
commit
6edd9ebc94
|
@ -614,7 +614,7 @@ static void SetPanMatrixCoefficients(FAudioGMS_SoundInstance *instance)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void FAudioGMS_INTERNAl_SoundInstance_ApplyPan(FAudioGMS_SoundInstance* instance)
|
static void FAudioGMS_INTERNAL_SoundInstance_ApplyPan(FAudioGMS_SoundInstance* instance)
|
||||||
{
|
{
|
||||||
SetPanMatrixCoefficients(instance);
|
SetPanMatrixCoefficients(instance);
|
||||||
|
|
||||||
|
@ -631,7 +631,7 @@ static void FAudioGMS_INTERNAL_SoundInstance_SetPan(FAudioGMS_SoundInstance *ins
|
||||||
{
|
{
|
||||||
pan = SDL_max(-1.0, SDL_min(1.0, pan));
|
pan = SDL_max(-1.0, SDL_min(1.0, pan));
|
||||||
instance->pan = pan;
|
instance->pan = pan;
|
||||||
FAudioGMS_INTERNAl_SoundInstance_ApplyPan(instance);
|
FAudioGMS_INTERNAL_SoundInstance_ApplyPan(instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void FAudioGMS_INTERNAL_SoundInstance_UpdatePitch(FAudioGMS_SoundInstance *instance)
|
static void FAudioGMS_INTERNAL_SoundInstance_UpdatePitch(FAudioGMS_SoundInstance *instance)
|
||||||
|
@ -1932,7 +1932,7 @@ void FAudioGMS_SoundInstance_SetEffectChain(
|
||||||
{
|
{
|
||||||
FAudioGMS_INTERNAL_SetEffectChain(&instance->voice, effectChain, effectGain);
|
FAudioGMS_INTERNAL_SetEffectChain(&instance->voice, effectChain, effectGain);
|
||||||
/* re-apply pan after setting chain because sends may have changed */
|
/* re-apply pan after setting chain because sends may have changed */
|
||||||
FAudioGMS_INTERNAl_SoundInstance_ApplyPan(instance);
|
FAudioGMS_INTERNAL_SoundInstance_ApplyPan(instance);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue