From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEOmJ-0004s7-N6 for qemu-devel@nongnu.org; Tue, 27 Aug 2013 15:18:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEOmD-0006xD-L0 for qemu-devel@nongnu.org; Tue, 27 Aug 2013 15:18:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEOmD-0006wh-Cy for qemu-devel@nongnu.org; Tue, 27 Aug 2013 15:18:05 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7RJI3DE027449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 27 Aug 2013 15:18:04 -0400 From: Bandan Das Date: Tue, 27 Aug 2013 15:17:12 -0400 Message-Id: <1377631034-24409-1-git-send-email-bsd@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] Make mixer emulation configurable at runtime List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Markus Armbruster Currently, hda-codec mixer emulation can only be enabled by using the "--enable-mixemu" option to configure at compile time. These patches add the option to make it configurable at runtime as well. An example usage could be a qemu cmdline : "-device hda-duplex,mixer=(on/off)" although this is not part of this change. Bandan Das (2): hda-codec: refactor common definitions into a header file hda-codec: make mixemu selectable at runtime hw/audio/hda-codec-common.h | 433 ++++++++++++++++++++++++++++++++++++++++ hw/audio/hda-codec.c | 472 +++++--------------------------------------- 2 files changed, 479 insertions(+), 426 deletions(-) create mode 100644 hw/audio/hda-codec-common.h -- 1.8.1.4