aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-07 21:40:35 +0100
committerMax Kellermann <max@duempel.org>2009-01-07 21:40:35 +0100
commit97b844ec72a415da962ee37d6f5b5e527ded13d3 (patch)
treea1dede2f57f68c1a6009e88508d38aff2f14b8f6 /src
parent04a2138b3329e189c87c6bedb39b8a975da53565 (diff)
pcm_volume: changed PCM_VOLUME_1 to 1024
1024 is 2^10, and allows gcc to use bit shift operations instead of multiplication / division.
Diffstat (limited to 'src')
-rw-r--r--src/pcm_volume.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_volume.h b/src/pcm_volume.h
index 7b5323ed..44ced88a 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;