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 22:46:05 +0100

On Mon, Mar 12, 2012 at 10:42 PM, malc <address@hidden> wrote:
> nominal_volume.[lr] is int64_t... i don't get where you take this ^32
> from.

from where it is defined, audio/audio.c:

const struct mixeng_volume nominal_volume = {
    .mute = 0,
#ifdef FLOAT_MIXENG
    .r = 1.0,
    .l = 1.0,
#else
    .r = 1ULL << 32,
    .l = 1ULL << 32,
#endif
};


-- 
Marc-André Lureau



reply via email to

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