blob: e70171892f326a06bce9b2169a205c34e78778d7 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Daniel Macke5779992010-03-04 19:46:13 +01002#ifndef __USBAUDIO_FORMAT_H
3#define __USBAUDIO_FORMAT_H
4
Daniel Mack74754f92010-05-26 18:11:36 +02005int snd_usb_parse_audio_format(struct snd_usb_audio *chip,
Ruslan Bilovol9a2fe9b2018-03-21 02:03:59 +02006 struct audioformat *fp, u64 format,
Daniel Mack74754f92010-05-26 18:11:36 +02007 struct uac_format_type_i_continuous_descriptor *fmt,
Clemens Ladisch8f898e92013-01-31 21:39:17 +01008 int stream);
Daniel Macke5779992010-03-04 19:46:13 +01009
Ruslan Bilovol9a2fe9b2018-03-21 02:03:59 +020010int snd_usb_parse_audio_format_v3(struct snd_usb_audio *chip,
11 struct audioformat *fp,
12 struct uac3_as_header_descriptor *as,
13 int stream);
Daniel Macke5779992010-03-04 19:46:13 +010014#endif /* __USBAUDIO_FORMAT_H */