Received: from eggs.gnu.org ([208.118.235.92]:41716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Bs5-00073H-08 for qemu-devel@nongnu.org; Mon, 12 Mar 2012 16:29:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Bs3-00074Q-6h for qemu-devel@nongnu.org; Mon, 12 Mar 2012 16:29:32 -0400 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:51308 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Bs2-00073v-WA for qemu-devel@nongnu.org; Mon, 12 Mar 2012 16:29:31 -0400 Date: Tue, 13 Mar 2012 00:29:28 +0400 (MSK) From: malc In-Reply-To: Message-ID: References: <1331578211-18232-1-git-send-email-marcandre.lureau@redhat.com> <1331578211-18232-4-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH 03/11] audio: use a nominal volume of UINT_MAX List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Marc-Andr=E9_Lureau?= Cc: =?ISO-8859-15?Q?Marc-Andr=E9_Lureau?= , dnb@redhat.com, dlaor@redhat.com, qemu-devel@nongnu.org, kraxel@redhat.com On Mon, 12 Mar 2012, Marc-Andr? Lureau wrote: > On Mon, Mar 12, 2012 at 9:03 PM, malc wrote: > > How's putting UINT_MAX into int64_t more appropriate? UINT_MAX is > > even one less than one in 32.32 fixpoint... I must be missing something > > here. > > Right, the patch series used to have 2^32 -1, so it can fit in a > 16bits or 32bits integer. > > So what I meant is rather G_MAXUINT32. Just leave it as is, it's perfectly fine. -- mailto:av1474@comtv.ru