mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
8c3a7d0087
This patch adds structures into qapi to replace the existing configuration structures used by audio backends currently. This qapi will be the base of the -audiodev command line parameter (that replaces the old environment variables based config). This is not a 1:1 translation of the old options, I've tried to make them much more consistent (e.g. almost every backend had an option to specify buffer size, but the name was different for every backend, and some backends required usecs, while some other required frames, samples or bytes). Also tried to reduce the number of abbreviations used by the config keys. Some of the more important changes: * use `in` and `out` instead of `ADC` and `DAC`, as the former is more user friendly imho * moved buffer settings into the global setting area (so it's the same for all backends that support it. Backends that can't change buffer size will simply ignore them). Also using usecs, as it's probably more user friendly than samples or bytes. * try-poll is now an alsa backend specific option (as all other backends currently ignore it) Signed-off-by: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 5461b514dbf3e0bc31b0abb6498a9b3a008c271e.1552083282.git.DirtY.iCE.hu@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
32 lines
1.2 KiB
Makefile
32 lines
1.2 KiB
Makefile
util-obj-y = qapi-visit-core.o qapi-dealloc-visitor.o qobject-input-visitor.o
|
|
util-obj-y += qobject-output-visitor.o qmp-registry.o qmp-dispatch.o
|
|
util-obj-y += string-input-visitor.o string-output-visitor.o
|
|
util-obj-y += opts-visitor.o qapi-clone-visitor.o
|
|
util-obj-y += qmp-event.o
|
|
util-obj-y += qapi-util.o
|
|
|
|
QAPI_COMMON_MODULES = audio authz block-core block char common crypto
|
|
QAPI_COMMON_MODULES += introspect job migration misc net rdma rocker
|
|
QAPI_COMMON_MODULES += run-state sockets tpm trace transaction ui
|
|
QAPI_TARGET_MODULES = target
|
|
QAPI_MODULES = $(QAPI_COMMON_MODULES) $(QAPI_TARGET_MODULES)
|
|
|
|
util-obj-y += qapi-builtin-types.o
|
|
util-obj-y += $(QAPI_COMMON_MODULES:%=qapi-types-%.o)
|
|
util-obj-y += qapi-builtin-visit.o
|
|
util-obj-y += $(QAPI_COMMON_MODULES:%=qapi-visit-%.o)
|
|
util-obj-y += qapi-emit-events.o
|
|
util-obj-y += $(QAPI_COMMON_MODULES:%=qapi-events-%.o)
|
|
|
|
common-obj-y = $(QAPI_COMMON_MODULES:%=qapi-commands-%.o)
|
|
|
|
obj-y = qapi-introspect.o
|
|
obj-y += $(QAPI_TARGET_MODULES:%=qapi-types-%.o)
|
|
obj-y += qapi-types.o
|
|
obj-y += $(QAPI_TARGET_MODULES:%=qapi-visit-%.o)
|
|
obj-y += qapi-visit.o
|
|
obj-y += $(QAPI_TARGET_MODULES:%=qapi-events-%.o)
|
|
obj-y += qapi-events.o
|
|
obj-y += $(QAPI_TARGET_MODULES:%=qapi-commands-%.o)
|
|
obj-y += qapi-commands.o
|