Received: from eggs.gnu.org ([2001:4830:134:3::10]:41657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEeBk-000703-5C for qemu-devel@nongnu.org; Wed, 28 Aug 2013 07:45:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEeBc-0001t1-Sr for qemu-devel@nongnu.org; Wed, 28 Aug 2013 07:45:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEeBc-0001su-LI for qemu-devel@nongnu.org; Wed, 28 Aug 2013 07:45:20 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7SBjJWQ019710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 28 Aug 2013 07:45:19 -0400 From: Markus Armbruster References: <1377631034-24409-1-git-send-email-bsd@redhat.com> <87bo4igou0.fsf@blackfin.pond.sub.org> <1377689622.20403.64.camel@nilsson.home.kraxel.org> Date: Wed, 28 Aug 2013 13:45:18 +0200 In-Reply-To: <1377689622.20403.64.camel@nilsson.home.kraxel.org> (Gerd Hoffmann's message of "Wed, 28 Aug 2013 13:33:42 +0200") Message-ID: <87ioyq11kh.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 0/2] Make mixer emulation configurable at runtime List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Bandan Das , qemu-devel@nongnu.org Gerd Hoffmann writes: > Hi, > >> Only pulse and the spice audio backends set VOICE_VOLUME_CAP. >> >> Impact on users isn't obvious to me. > > It offloads volume control to the audio backend, i.e. it will be done by > pulseaudio/spice-client instead of mixemu. > >> Questions (not just for you, Bandan): >> >> 1. Why is CONFIG_MIXEMU off by default? > > malc wants it this way because mixemu eats cpu time. > >> 2. Why do we bother providing these devices when CONFIG_MIXEMU off? >> >> Why would anyone want hda audio devices without a mixer? Why >> wouldn't anyone who wants hda audio devices also want CONFIG_MIXEMU >> enabled? > > It'll actually work just fine with HDA. The guest figures there is no > volume control and will fallback to do volume control in software then. > Net effect is that the audio sample processing to change volume is done > by the guest instead of mixemu, so you don't actually save cpu time by > turning off mixemu ... I don't doubt it works, I doubt anybody would want the software mixing done in the guest instead of mixemu so badly that he wants to use a special device that makes that possible. > I think AC97 has broken volume control with CONFIG_MIXEMU=n, because the > guest tries to use the non-functional volume controls. > > So, yes, for serious sound support you want CONFIG_MIXEMU=y. Which brings me back to question 1: why is non-serious sound support the default?