Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
endpoint.h
Go to the documentation of this file.
1 #ifndef __USBAUDIO_ENDPOINT_H
2 #define __USBAUDIO_ENDPOINT_H
3 
4 #define SND_USB_ENDPOINT_TYPE_DATA 0
5 #define SND_USB_ENDPOINT_TYPE_SYNC 1
6 
8  struct usb_host_interface *alts,
9  int ep_num, int direction, int type);
10 
12  snd_pcm_format_t pcm_format,
13  unsigned int channels,
14  unsigned int period_bytes,
15  unsigned int rate,
16  struct audioformat *fmt,
17  struct snd_usb_endpoint *sync_ep);
18 
19 int snd_usb_endpoint_start(struct snd_usb_endpoint *ep, int can_sleep);
21  int force, int can_sleep, int wait);
26 
29 
31  struct snd_usb_endpoint *sender,
32  const struct urb *urb);
33 
34 #endif /* __USBAUDIO_ENDPOINT_H */