hda-codec: make mixemu selectable at runtime
authorBandan Das <bsd@redhat.com>
Sat, 7 Sep 2013 04:53:59 +0000 (00:53 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 24 Sep 2013 08:29:34 +0000 (10:29 +0200)
commit2690e61e8e313461428334586ed9dbf56531dae9
tree1439e7e374cc330b97d19d02c03f9633d10ecbbc
parent7953793c033343dbea97836645edbe4e61754b11
hda-codec: make mixemu selectable at runtime

Define PARAM so that we have two versions of the "desc_codec
and family" structs. Add a property called "mixer" whose default
value depends on whether CONFIG_MIXEMU is defined or not which
will help us call the appropriate instance init functions.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/audio/hda-codec-common.h
hw/audio/hda-codec.c