1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef AUDIO_USB_PARSE_INTERFACE_H 10 #define AUDIO_USB_PARSE_INTERFACE_H 11 12 #include "audio_usb_linux.h" 13 14 int32_t AudioUsbParseAudioInterface(struct AudioUsbDriver *audioUsbDriver, int32_t ifaceNo); 15 16 int32_t AudioUsbInitSampleRate(struct AudioUsbDriver *audioUsbDriver, int32_t iface, struct usb_host_interface *alts, 17 struct AudioUsbFormat *audioUsbFormat, int32_t rate); 18 19 #endif 20