ALSA: move line6 usb driver into sound/usb
[firefly-linux-kernel-4.4.55.git] / sound / usb / line6 / usbdefs.h
1 /*
2  * Line6 Linux USB driver - 0.9.1beta
3  *
4  * Copyright (C) 2005-2008 Markus Grabner (grabner@icg.tugraz.at)
5  *
6  *      This program is free software; you can redistribute it and/or
7  *      modify it under the terms of the GNU General Public License as
8  *      published by the Free Software Foundation, version 2.
9  *
10  */
11
12 #ifndef USBDEFS_H
13 #define USBDEFS_H
14
15 #define USB_INTERVALS_PER_SECOND 1000
16
17 /* device supports settings parameter via USB */
18 #define LINE6_CAP_CONTROL (1 << 0)
19 /* device supports PCM input/output via USB */
20 #define LINE6_CAP_PCM (1 << 1)
21 /* device support hardware monitoring */
22 #define LINE6_CAP_HWMON (1 << 2)
23
24 #define LINE6_FALLBACK_INTERVAL 10
25 #define LINE6_FALLBACK_MAXPACKETSIZE 16
26
27 #endif