xref: /openbmc/linux/sound/usb/format.h (revision 842ed298)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USBAUDIO_FORMAT_H
3 #define __USBAUDIO_FORMAT_H
4 
5 int snd_usb_parse_audio_format(struct snd_usb_audio *chip,
6 			       struct audioformat *fp, u64 format,
7 			       struct uac_format_type_i_continuous_descriptor *fmt,
8 			       int stream);
9 
10 int 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);
14 #endif /*  __USBAUDIO_FORMAT_H */
15