engine: voice: made voice_scale to influence incoming voice audio volume
This commit is contained in:
parent
ff21fb42e6
commit
f59ac2360a
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ Feed the decoded data to engine sound subsystem
|
|||
static void Voice_StartChannel( uint samples, byte *data, int entnum )
|
||||
{
|
||||
SND_ForceInitMouth( entnum );
|
||||
S_RawEntSamples( entnum, samples, voice.samplerate, voice.width, VOICE_PCM_CHANNELS, data, 255 );
|
||||
S_RawEntSamples( entnum, samples, voice.samplerate, voice.width, VOICE_PCM_CHANNELS, data, bound( 0, 255 * voice_scale.value, 255 ));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue