diff options
Diffstat (limited to '')
-rw-r--r-- | src/pcm/PcmVolume.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pcm/PcmVolume.hxx b/src/pcm/PcmVolume.hxx index 502fca9ec..52102a294 100644 --- a/src/pcm/PcmVolume.hxx +++ b/src/pcm/PcmVolume.hxx @@ -27,6 +27,11 @@ #include <stddef.h> /** + * Number of fractional bits for a fixed-point volume value. + */ +static constexpr unsigned PCM_VOLUME_BITS = 10; + +/** * This value means "100% volume". */ static constexpr unsigned PCM_VOLUME_1 = 1024; |