diff options
Diffstat (limited to 'src/pulse')
-rw-r--r-- | src/pulse/volume.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h index 2f71a62c..98bbac14 100644 --- a/src/pulse/volume.h +++ b/src/pulse/volume.h @@ -113,7 +113,7 @@ typedef uint32_t pa_volume_t; #define PA_VOLUME_MUTED ((pa_volume_t) 0U) /** Maximum valid volume we can store. \since 0.9.15 */ -#define PA_VOLUME_MAX ((pa_volume_t) UINT32_MAX-1) +#define PA_VOLUME_MAX ((pa_volume_t) UINT32_MAX/2) /** Special 'invalid' volume. \since 0.9.16 */ #define PA_VOLUME_INVALID ((pa_volume_t) UINT32_MAX) |