~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to sound/usb/mixer.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
        u8 xonar_u1_status;
25
25
};
26
26
 
27
 
#define MAX_CHANNELS    10      /* max logical channels */
 
27
#define MAX_CHANNELS    16      /* max logical channels */
 
28
 
 
29
enum {
 
30
        USB_MIXER_BOOLEAN,
 
31
        USB_MIXER_INV_BOOLEAN,
 
32
        USB_MIXER_S8,
 
33
        USB_MIXER_U8,
 
34
        USB_MIXER_S16,
 
35
        USB_MIXER_U16,
 
36
};
28
37
 
29
38
struct usb_mixer_elem_info {
30
39
        struct usb_mixer_interface *mixer;
52
61
 
53
62
int snd_usb_mixer_set_ctl_value(struct usb_mixer_elem_info *cval,
54
63
                                int request, int validx, int value_set);
 
64
void snd_usb_mixer_inactivate(struct usb_mixer_interface *mixer);
 
65
int snd_usb_mixer_activate(struct usb_mixer_interface *mixer);
 
66
 
 
67
int snd_usb_mixer_add_control(struct usb_mixer_interface *mixer,
 
68
                              struct snd_kcontrol *kctl);
55
69
 
56
70
#endif /* __USBMIXER_H */