Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 2 | #ifndef __USBAUDIO_FORMAT_H |
| 3 | #define __USBAUDIO_FORMAT_H |
| 4 | |
Daniel Mack | 74754f9 | 2010-05-26 18:11:36 +0200 | [diff] [blame] | 5 | int snd_usb_parse_audio_format(struct snd_usb_audio *chip, |
Ruslan Bilovol | 9a2fe9b | 2018-03-21 02:03:59 +0200 | [diff] [blame] | 6 | struct audioformat *fp, u64 format, |
Daniel Mack | 74754f9 | 2010-05-26 18:11:36 +0200 | [diff] [blame] | 7 | struct uac_format_type_i_continuous_descriptor *fmt, |
Clemens Ladisch | 8f898e9 | 2013-01-31 21:39:17 +0100 | [diff] [blame] | 8 | int stream); |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 9 | |
Ruslan Bilovol | 9a2fe9b | 2018-03-21 02:03:59 +0200 | [diff] [blame] | 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); |
Daniel Mack | e577999 | 2010-03-04 19:46:13 +0100 | [diff] [blame] | 14 | #endif /* __USBAUDIO_FORMAT_H */ |