ALSA: xen-front: Read sound driver configuration from Xen store
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Mon, 14 May 2018 06:27:38 +0000 (09:27 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 May 2018 10:58:39 +0000 (12:58 +0200)
commitfd3b36045c2c612b5f44a47f388677af256d1d0a
tree225cf95c572f3799842b1b317471652c3547c4fe
parentcc3196ae197c28cd6db0a2e9ddddc2e0aa1e694f
ALSA: xen-front: Read sound driver configuration from Xen store

Read configuration values from Xen store according
to xen/interface/io/sndif.h protocol:
  - introduce configuration structures for different
    components, e.g. sound card, device, stream
  - read PCM HW parameters, e.g rate, format etc.
  - detect stream type (capture/playback)
  - read device and card parameters

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/xen/Makefile
sound/xen/xen_snd_front.c
sound/xen/xen_snd_front.h
sound/xen/xen_snd_front_cfg.c [new file with mode: 0644]
sound/xen/xen_snd_front_cfg.h [new file with mode: 0644]