1cee5593 | 14-May-2018 |
Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> |
ALSA: xen-front: Implement ALSA virtual sound driver
Implement essential initialization of the sound driver: - introduce required data structures - handle driver registration - handle sound ca
ALSA: xen-front: Implement ALSA virtual sound driver
Implement essential initialization of the sound driver: - introduce required data structures - handle driver registration - handle sound card registration - register sound driver on backend connection - remove sound driver on backend disconnect
Initialize virtual sound card with streams according to the Xen store configuration.
Implement ALSA driver operations including: - manage frontend/backend shared buffers - manage Xen bus event channel states
Implement requests from front to back for ALSA PCM operations. - report ALSA period elapsed event: handle XENSND_EVT_CUR_POS notifications from the backend when stream position advances during playback/capture. The event carries a value of how many octets were played/captured at the time of the event. - implement explicit stream parameter negotiation between backend and frontend: handle XENSND_OP_HW_PARAM_QUERY request to read/update configuration space for the parameter given: request passes desired parameter interval and the response to this request returns min/max interval for the parameter to be used.
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
d6e0fbb8 | 14-May-2018 |
Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> |
ALSA: xen-front: Implement handling of shared buffers
Implement shared buffer handling according to the para-virtualized sound device protocol at xen/interface/io/sndif.h: - manage buffer memory
ALSA: xen-front: Implement handling of shared buffers
Implement shared buffer handling according to the para-virtualized sound device protocol at xen/interface/io/sndif.h: - manage buffer memory - handle granted references - handle page directories
[ Fixed missing linux/kernel.h inclusion -- tiwai ]
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
788ef64a | 14-May-2018 |
Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> |
ALSA: xen-front: Implement Xen event channel handling
Handle Xen event channels: - create for all configured streams and publish corresponding ring references and event channels in Xen store,
ALSA: xen-front: Implement Xen event channel handling
Handle Xen event channels: - create for all configured streams and publish corresponding ring references and event channels in Xen store, so backend can connect - implement event channels interrupt handlers - create and destroy event channels with respect to Xen bus state
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
show more ...
|
fd3b3604 | 14-May-2018 |
Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> |
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 di
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>
show more ...
|