Re: [PATCH 16/31] ALSA: usb-audio: scarlett2: Add Gen 3 mixer support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Jun 2021 20:09:48 +0200,
Geoffrey D. Bennett wrote:
> 
> Add mixer support for the Focusrite Scarlett 4i4, 8i6, 18i8, and 18i20
> Gen 3 devices.
> 
> Signed-off-by: Geoffrey D. Bennett <g@xxxxx>
> ---
>  sound/usb/mixer.c               |   2 +-
>  sound/usb/mixer_quirks.c        |   4 +
>  sound/usb/mixer_scarlett_gen2.c | 260 +++++++++++++++++++++++++++++---
>  3 files changed, 246 insertions(+), 20 deletions(-)
> 
> diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
> index 428d581f988f..ba4aa1eacb04 100644
> --- a/sound/usb/mixer.c
> +++ b/sound/usb/mixer.c
> @@ -50,7 +50,7 @@
>  #include "mixer_quirks.h"
>  #include "power.h"
>  
> -#define MAX_ID_ELEMS	256
> +#define MAX_ID_ELEMS	512

This change requires the explanation.
Usually the unit id is a byte per definition, so it can't be over
256.


thanks,

Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux