2 * u_uac1.h - Utility definitions for UAC1 function
4 * Copyright (C) 2016 Ruslan Bilovol <ruslan.bilovol@gmail.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
14 #include <linux/usb/composite.h>
16 #define UAC1_OUT_EP_MAX_PACKET_SIZE 200
17 #define UAC1_DEF_CCHMASK 0x3
18 #define UAC1_DEF_CSRATE 48000
19 #define UAC1_DEF_CSSIZE 2
20 #define UAC1_DEF_PCHMASK 0x3
21 #define UAC1_DEF_PSRATE 48000
22 #define UAC1_DEF_PSSIZE 2
23 #define UAC1_DEF_REQ_NUM 2
27 struct usb_function_instance func_inst;
41 #endif /* __U_UAC1_H */