Commit 49984f49 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

DirectSound: decrease a bit the volume

This should make 100% 3dB lower

Should close #9371
parent ec25a462
......@@ -357,7 +357,7 @@ static int VolumeSet( audio_output_t *p_aout, float volume )
int ret = 0;
/* millibels from linear amplification map 200% on DSBVOLUME_MAX */
LONG mb = lroundf( 5000.f * log10f( volume / 2.f ));
LONG mb = lroundf( 6000.f * log10f( volume / 2.f ));
/* Clamp to allowed DirectSound range */
static_assert( DSBVOLUME_MIN < DSBVOLUME_MAX, "DSBVOLUME_* confused" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment