From 97b844ec72a415da962ee37d6f5b5e527ded13d3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Jan 2009 21:40:35 +0100 Subject: pcm_volume: changed PCM_VOLUME_1 to 1024 1024 is 2^10, and allows gcc to use bit shift operations instead of multiplication / division. --- src/pcm_volume.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pcm_volume.h b/src/pcm_volume.h index 7b5323ed7..44ced88af 100644 --- a/src/pcm_volume.h +++ b/src/pcm_volume.h @@ -25,7 +25,7 @@ enum { /** this value means "100% volume" */ - PCM_VOLUME_1 = 1000, + PCM_VOLUME_1 = 1024, }; struct audio_format; -- cgit v1.2.3