Skip to content

Commit 49984f4

Browse files
committed
DirectSound: decrease a bit the volume
This should make 100% 3dB lower Should close #9371
1 parent ec25a46 commit 49984f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/audio_output/directsound.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ static int VolumeSet( audio_output_t *p_aout, float volume )
357357
int ret = 0;
358358

359359
/* millibels from linear amplification map 200% on DSBVOLUME_MAX */
360-
LONG mb = lroundf( 5000.f * log10f( volume / 2.f ));
360+
LONG mb = lroundf( 6000.f * log10f( volume / 2.f ));
361361

362362
/* Clamp to allowed DirectSound range */
363363
static_assert( DSBVOLUME_MIN < DSBVOLUME_MAX, "DSBVOLUME_* confused" );

0 commit comments

Comments
 (0)