[v2 PATCH 0/1] ALSA: virtio: add support for audio controls

Aiswarya Cyriac posted 1 patch 1 year, 8 months ago
include/uapi/linux/virtio_snd.h | 154 +++++++++++
sound/virtio/Makefile           |   1 +
sound/virtio/virtio_card.c      |  21 ++
sound/virtio/virtio_card.h      |  22 ++
sound/virtio/virtio_kctl.c      | 464 ++++++++++++++++++++++++++++++++
5 files changed, 662 insertions(+)
create mode 100644 sound/virtio/virtio_kctl.c
[v2 PATCH 0/1] ALSA: virtio: add support for audio controls
Posted by Aiswarya Cyriac 1 year, 8 months ago
From: Anton Yakovlev <anton.yakovlev@opensynergy.com>

Changes in v2
- Fix reporting of incorrect number of items for ENUMERATED controls

Implementation of support for audio controls in accordance with the
extension of the virtio sound device specification[1] planned for
virtio-v1.3-cs01.

Design of virtual audio controls is based on and derived from ALSA
audio controls. It allows the driver to perform all standard operations,
such as reading and writing audio control value, as well as working with
metadata (represented in the TLV form).

The driver part was tested on top of the Linux 5.10 kernel.

As a device part was used OpenSynergy proprietary implementation.

[1] https://lists.oasis-open.org/archives/virtio-comment/202104/msg00013.html

Anton Yakovlev (1):
  ALSA: virtio: add support for audio controls

 include/uapi/linux/virtio_snd.h | 154 +++++++++++
 sound/virtio/Makefile           |   1 +
 sound/virtio/virtio_card.c      |  21 ++
 sound/virtio/virtio_card.h      |  22 ++
 sound/virtio/virtio_kctl.c      | 464 ++++++++++++++++++++++++++++++++
 5 files changed, 662 insertions(+)
 create mode 100644 sound/virtio/virtio_kctl.c

-- 
2.25.1

Re: [v2 PATCH 0/1] ALSA: virtio: add support for audio controls
Posted by Takashi Iwai 1 year, 7 months ago
On Mon, 15 Jan 2024 14:36:53 +0100,
Aiswarya Cyriac wrote:
> 
> From: Anton Yakovlev <anton.yakovlev@opensynergy.com>
> 
> Changes in v2
> - Fix reporting of incorrect number of items for ENUMERATED controls
> 
> Implementation of support for audio controls in accordance with the
> extension of the virtio sound device specification[1] planned for
> virtio-v1.3-cs01.
> 
> Design of virtual audio controls is based on and derived from ALSA
> audio controls. It allows the driver to perform all standard operations,
> such as reading and writing audio control value, as well as working with
> metadata (represented in the TLV form).
> 
> The driver part was tested on top of the Linux 5.10 kernel.
> 
> As a device part was used OpenSynergy proprietary implementation.
> 
> [1] https://lists.oasis-open.org/archives/virtio-comment/202104/msg00013.html
> 
> Anton Yakovlev (1):
>   ALSA: virtio: add support for audio controls

Applied now.  Thanks.


Takashi