xref: /openbmc/linux/sound/usb/format.h (revision c13aca79ff3c4af5fd31a5b2743a90eba6e36a26)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2e5779998SDaniel Mack #ifndef __USBAUDIO_FORMAT_H
3e5779998SDaniel Mack #define __USBAUDIO_FORMAT_H
4e5779998SDaniel Mack 
574754f97SDaniel Mack int snd_usb_parse_audio_format(struct snd_usb_audio *chip,
6*9a2fe9b8SRuslan Bilovol 			       struct audioformat *fp, u64 format,
774754f97SDaniel Mack 			       struct uac_format_type_i_continuous_descriptor *fmt,
88f898e92SClemens Ladisch 			       int stream);
9e5779998SDaniel Mack 
10*9a2fe9b8SRuslan Bilovol int snd_usb_parse_audio_format_v3(struct snd_usb_audio *chip,
11*9a2fe9b8SRuslan Bilovol 			       struct audioformat *fp,
12*9a2fe9b8SRuslan Bilovol 			       struct uac3_as_header_descriptor *as,
13*9a2fe9b8SRuslan Bilovol 			       int stream);
14e5779998SDaniel Mack #endif /*  __USBAUDIO_FORMAT_H */
15