qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 03/11] audio: use a nominal volume of UINT_MAX


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 03/11] audio: use a nominal volume of UINT_MAX
Date: Mon, 12 Mar 2012 19:50:03 +0100

It's more appropriate to set the maximum value into a fitting integer.
---
 audio/audio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/audio.c b/audio/audio.c
index bd9237e..06c2384 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -110,8 +110,8 @@ const struct mixeng_volume nominal_volume = {
     .r = 1.0,
     .l = 1.0,
 #else
-    .r = 1ULL << 32,
-    .l = 1ULL << 32,
+    .r = UINT_MAX,
+    .l = UINT_MAX,
 #endif
 };
 
-- 
1.7.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]