qemu-devel
[Top][All Lists]
Advanced

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

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


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

On Mon, Mar 12, 2012 at 9:29 PM, malc <address@hidden> wrote:
>> So what I meant is rather G_MAXUINT32.
>
> Just leave it as is, it's perfectly fine.

But it's not convenient to fit into a regular integer, as the number
of steps is 2^32 + 1. Why is it preferrable this way rather than a
MAXUINT? I must be missing something. Hardware range for example is
usually  0...2^nbits-1

-- 
Marc-André Lureau



reply via email to

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