All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] USB Audio Device Class 3.0 support
@ 2018-03-19  1:46 ` Ruslan Bilovol
  0 siblings, 0 replies; 17+ messages in thread
From: Ruslan Bilovol @ 2018-03-19  1:46 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Pierre-Louis Bossart, Jorge, Greg Kroah-Hartman, alsa-devel,
	linux-kernel

Hi Takashi,

This patch adds initial USB Audio Device Class 3.0 [1]
support to the ALSA that we discussed at ELCE.

The patch was tested with UAC3 gadget [2] that I posted
to USB mailing list before. It is good for working with
BADD device which implements such topologies like
BAIF (Basic Audio Input Functions), BAOF (Basic Audio
Output Functions) or compbination of both.

UAC3 spec has changed descriptors laout and many other
codes comparing to UAC2 spec, thus making reuse of existing
sources impossible or quite complex.

There are still many areas of improvement, as this patch
doesn't have UAC3 Mixer Unit support nor some new features
like Power Management

I tested this with BeagleBone Black as UAC3 gadget device.

[1] http://www.usb.org/developers/docs/devclass_docs/USB_Audio_v3.0.zip
[2] http://www.spinics.net/lists/linux-usb/msg162482.html

v2 changes:
 - moved audioformat quirks to quirks.c
 - addressed many comments from Pierre-Louis Bossart
 - reorganized audio-v3.h
 - added more UAC3 channel relationship definitions


Ruslan Bilovol (2):
  ALSA: usb-audio: move audioformat quirks to quirks.c
  ALSA: usb: initial USB Audio Device Class 3.0 support

 include/linux/usb/audio-v2.h   |   4 +-
 include/linux/usb/audio-v3.h   | 395 +++++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/usb/audio.h |   1 +
 sound/usb/card.c               |   7 +-
 sound/usb/card.h               |   2 +-
 sound/usb/clock.c              | 228 +++++++++++++++++++++---
 sound/usb/clock.h              |   4 +-
 sound/usb/format.c             |  91 ++++++++--
 sound/usb/format.h             |   6 +-
 sound/usb/mixer.c              | 337 +++++++++++++++++++++++------------
 sound/usb/quirks.c             |  34 ++++
 sound/usb/quirks.h             |   4 +
 sound/usb/stream.c             | 393 +++++++++++++++++++++++++++++++++-------
 13 files changed, 1284 insertions(+), 222 deletions(-)
 create mode 100644 include/linux/usb/audio-v3.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-03-19 23:57 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19  1:46 [PATCH v2 0/2] USB Audio Device Class 3.0 support Ruslan Bilovol
2018-03-19  1:46 ` Ruslan Bilovol
2018-03-19  1:46 ` [PATCH v2 1/2] ALSA: usb-audio: move audioformat quirks to quirks.c Ruslan Bilovol
2018-03-19  1:46   ` Ruslan Bilovol
2018-03-19 16:00   ` Takashi Iwai
2018-03-19 16:00     ` Takashi Iwai
2018-03-19 23:42     ` Ruslan Bilovol
2018-03-19  1:46 ` [PATCH v2 2/2] ALSA: usb: initial USB Audio Device Class 3.0 support Ruslan Bilovol
2018-03-19  1:46   ` Ruslan Bilovol
2018-03-19 13:43   ` kbuild test robot
2018-03-19 16:20     ` Takashi Iwai
2018-03-19 16:20       ` Takashi Iwai
2018-03-19 16:28   ` Takashi Iwai
2018-03-19 16:28     ` Takashi Iwai
2018-03-19 17:14     ` Greg Kroah-Hartman
2018-03-19 17:14       ` Greg Kroah-Hartman
2018-03-19 23:57     ` Ruslan Bilovol

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.