From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHi0L-0003of-3k for qemu-devel@nongnu.org; Thu, 05 Sep 2013 18:26:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHi0E-0002cK-ES for qemu-devel@nongnu.org; Thu, 05 Sep 2013 18:26:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHi0E-0002bu-6U for qemu-devel@nongnu.org; Thu, 05 Sep 2013 18:26:14 -0400 From: Bandan Das Date: Thu, 5 Sep 2013 18:24:28 -0400 Message-Id: <1378419871-31895-1-git-send-email-bsd@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/3] Make mixer emulation configurable at runtime List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , "Vassili Karpov (malc)" , Markus Armbruster , Jan Kiszka , Gerd Hoffmann Currently, hda-codec mixer emulation can only be enabled by using the "--enable-mixemu" option to configure at compile time with the default value being off. These patches enable making mixer emulation selectable at runtime which is more convenient. Consequently, the last patch in this series removes the mixemu configuration option. Example Usage: 1. -device hda-duplex,mixer=off 2. -device hda-duplex,mixer=on [Default] v2: * Add copyright information - Patch 1/3 * Edit description for readability - Patch 1/3 * Catch error paths in instance init functions - Patch 2/3 * Define "mixer" as a bool - Patch 2/3 * Preserve CONFIG_MIXEMU state - Patch 2/3 * Remove the --enable-mixemu configuration option - Patch 3/3 Bandan Das (3): hda-codec: refactor common definitions into a header file hda-codec: make mixemu selectable at runtime audio: remove CONFIG_MIXEMU configure option and enable mixemu by default configure | 8 - hw/audio/hda-codec-common.h | 456 ++++++++++++++++++++++++++++++++++++++++++++ hw/audio/hda-codec.c | 454 +++---------------------------------------- 3 files changed, 485 insertions(+), 433 deletions(-) create mode 100644 hw/audio/hda-codec-common.h -- 1.8.1.4