diff options
author | Daniel Mack <zonque@gmail.com> | 2013-03-17 20:07:25 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-03-18 08:47:13 +0100 |
commit | 717bfb5f46f0ee809f6ce04ebdf44521730fff05 (patch) | |
tree | 0d49f0649c15ef37f9f6c04fdb5f2cfd57da90fe /include/linux/usb/audio-v2.h | |
parent | 2fcdb06d4919da89ed6d52742dcc83ae4669ac30 (diff) |
ALSA: snd-usb: handle raw data format of UAC2 devices
UAC2 compliant audio devices may announce the capability to transport
raw audio data on their endpoints. Catch this and handle it as
'special' stream on the ALSA side.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Andreas Koch <andreas@akdesigninc.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/usb/audio-v2.h')
-rw-r--r-- | include/linux/usb/audio-v2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/audio-v2.h b/include/linux/usb/audio-v2.h index ed13053153f4..c5f2158ab00e 100644 --- a/include/linux/usb/audio-v2.h +++ b/include/linux/usb/audio-v2.h @@ -170,6 +170,8 @@ struct uac2_as_header_descriptor { __u8 iChannelNames; } __attribute__((packed)); +#define UAC2_FORMAT_TYPE_I_RAW_DATA (1 << 31) + /* 4.10.1.2 Class-Specific AS Isochronous Audio Data Endpoint Descriptor */ struct uac2_iso_endpoint_descriptor { |