mixer.h (3eb66e91a25497065c5322b1268cbc3953642227) | mixer.h (66354f18fe5fbb65f7b10a519654013d6df09f80) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __USBMIXER_H 3#define __USBMIXER_H 4 5#include <sound/info.h> 6 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __USBMIXER_H 3#define __USBMIXER_H 4 5#include <sound/info.h> 6 |
7struct media_mixer_ctl; 8 |
|
7struct usb_mixer_interface { 8 struct snd_usb_audio *chip; 9 struct usb_host_interface *hostif; 10 struct list_head list; 11 unsigned int ignore_ctl_error; 12 struct urb *urb; 13 /* array[MAX_ID_ELEMS], indexed by unit id */ 14 struct usb_mixer_elem_list **id_elems; 15 16 /* the usb audio specification version this interface complies to */ 17 int protocol; 18 19 /* Sound Blaster remote control stuff */ 20 const struct rc_config *rc_cfg; 21 u32 rc_code; 22 wait_queue_head_t rc_waitq; 23 struct urb *rc_urb; 24 struct usb_ctrlrequest *rc_setup_packet; 25 u8 rc_buffer[6]; | 9struct usb_mixer_interface { 10 struct snd_usb_audio *chip; 11 struct usb_host_interface *hostif; 12 struct list_head list; 13 unsigned int ignore_ctl_error; 14 struct urb *urb; 15 /* array[MAX_ID_ELEMS], indexed by unit id */ 16 struct usb_mixer_elem_list **id_elems; 17 18 /* the usb audio specification version this interface complies to */ 19 int protocol; 20 21 /* Sound Blaster remote control stuff */ 22 const struct rc_config *rc_cfg; 23 u32 rc_code; 24 wait_queue_head_t rc_waitq; 25 struct urb *rc_urb; 26 struct usb_ctrlrequest *rc_setup_packet; 27 u8 rc_buffer[6]; |
28 struct media_mixer_ctl *media_mixer_ctl; |
|
26 27 bool disconnected; 28}; 29 30#define MAX_CHANNELS 16 /* max logical channels */ 31 32enum { 33 USB_MIXER_BOOLEAN, --- 81 unchanged lines hidden --- | 29 30 bool disconnected; 31}; 32 33#define MAX_CHANNELS 16 /* max logical channels */ 34 35enum { 36 USB_MIXER_BOOLEAN, --- 81 unchanged lines hidden --- |