mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
030a07e441
Added a new US122L usb-audio driver. This driver works together with a dedicated alsa-lib plugin. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
27 lines
432 B
C
27 lines
432 B
C
#ifndef US122L_H
|
|
#define US122L_H
|
|
|
|
|
|
struct us122l {
|
|
struct snd_usb_audio chip;
|
|
int stride;
|
|
struct usb_stream_kernel sk;
|
|
|
|
struct mutex mutex;
|
|
struct file *first;
|
|
unsigned second_periods_polled;
|
|
struct file *master;
|
|
struct file *slave;
|
|
|
|
atomic_t mmap_count;
|
|
};
|
|
|
|
|
|
#define US122L(c) ((struct us122l *)(c)->private_data)
|
|
|
|
#define NAME_ALLCAPS "US-122L"
|
|
|
|
#define USB_ID_US122L 0x800E
|
|
#define USB_ID_US144 0x800F
|
|
|
|
#endif
|