2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2010-03-04 19:46:13 +01:00
|
|
|
#ifndef __USBAUDIO_FORMAT_H
|
|
|
|
|
#define __USBAUDIO_FORMAT_H
|
|
|
|
|
|
2010-05-26 18:11:36 +02:00
|
|
|
int snd_usb_parse_audio_format(struct snd_usb_audio *chip,
|
2018-03-21 02:03:59 +02:00
|
|
|
struct audioformat *fp, u64 format,
|
2010-05-26 18:11:36 +02:00
|
|
|
struct uac_format_type_i_continuous_descriptor *fmt,
|
2013-01-31 21:39:17 +01:00
|
|
|
int stream);
|
2010-03-04 19:46:13 +01:00
|
|
|
|
2018-03-21 02:03:59 +02:00
|
|
|
int snd_usb_parse_audio_format_v3(struct snd_usb_audio *chip,
|
|
|
|
|
struct audioformat *fp,
|
|
|
|
|
struct uac3_as_header_descriptor *as,
|
|
|
|
|
int stream);
|
2010-03-04 19:46:13 +01:00
|
|
|
#endif /* __USBAUDIO_FORMAT_H */
|