mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Ruslan Bilovol](/assets/img/avatar_default.png)
Recently released USB Audio Class 3.0 specification introduces many significant changes comparing to previous versions, like - new Power Domains, support for LPM/L1 - new Cluster descriptor - changed layout of all class-specific descriptors - new High Capability descriptors - New class-specific String descriptors - new and removed units - additional sources for interrupts - removed Type II Audio Data Formats - ... and many other things (check spec) It also provides backward compatibility through multiple configurations, as well as requires mandatory support for BADD (Basic Audio Device Definition) on each ADC3.0 compliant device This patch adds initial support of UAC3 specification that is enough for Generic I/O Profile (BAOF, BAIF) device support from BADD document. Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 lines
489 B
C
14 lines
489 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __USBAUDIO_FORMAT_H
|
|
#define __USBAUDIO_FORMAT_H
|
|
|
|
int snd_usb_parse_audio_format(struct snd_usb_audio *chip,
|
|
struct audioformat *fp, u64 format,
|
|
struct uac_format_type_i_continuous_descriptor *fmt,
|
|
int stream);
|
|
|
|
int snd_usb_parse_audio_format_v3(struct snd_usb_audio *chip,
|
|
struct audioformat *fp,
|
|
struct uac3_as_header_descriptor *as,
|
|
int stream);
|
|
#endif /* __USBAUDIO_FORMAT_H */
|