@@ -2978,6 +2978,7 @@ static int snd_bbfpro_controls_create(struct usb_mixer_interface *mixer)
2978
2978
#define SND_DJM_850_IDX 0x2
2979
2979
#define SND_DJM_900NXS2_IDX 0x3
2980
2980
#define SND_DJM_750MK2_IDX 0x4
2981
+ #define SND_DJM_450_IDX 0x5
2981
2982
2982
2983
2983
2984
#define SND_DJM_CTL (_name , suffix , _default_value , _windex ) { \
@@ -3108,6 +3109,31 @@ static const struct snd_djm_ctl snd_djm_ctls_250mk2[] = {
3108
3109
};
3109
3110
3110
3111
3112
+ // DJM-450
3113
+ static const u16 snd_djm_opts_450_cap1 [] = {
3114
+ 0x0103 , 0x0100 , 0x0106 , 0x0107 , 0x0108 , 0x0109 , 0x010d , 0x010a };
3115
+
3116
+ static const u16 snd_djm_opts_450_cap2 [] = {
3117
+ 0x0203 , 0x0200 , 0x0206 , 0x0207 , 0x0208 , 0x0209 , 0x020d , 0x020a };
3118
+
3119
+ static const u16 snd_djm_opts_450_cap3 [] = {
3120
+ 0x030a , 0x0311 , 0x0312 , 0x0307 , 0x0308 , 0x0309 , 0x030d };
3121
+
3122
+ static const u16 snd_djm_opts_450_pb1 [] = { 0x0100 , 0x0101 , 0x0104 };
3123
+ static const u16 snd_djm_opts_450_pb2 [] = { 0x0200 , 0x0201 , 0x0204 };
3124
+ static const u16 snd_djm_opts_450_pb3 [] = { 0x0300 , 0x0301 , 0x0304 };
3125
+
3126
+ static const struct snd_djm_ctl snd_djm_ctls_450 [] = {
3127
+ SND_DJM_CTL ("Capture Level" , cap_level , 0 , SND_DJM_WINDEX_CAPLVL ),
3128
+ SND_DJM_CTL ("Ch1 Input" , 450 _cap1 , 2 , SND_DJM_WINDEX_CAP ),
3129
+ SND_DJM_CTL ("Ch2 Input" , 450 _cap2 , 2 , SND_DJM_WINDEX_CAP ),
3130
+ SND_DJM_CTL ("Ch3 Input" , 450 _cap3 , 0 , SND_DJM_WINDEX_CAP ),
3131
+ SND_DJM_CTL ("Ch1 Output" , 450 _pb1 , 0 , SND_DJM_WINDEX_PB ),
3132
+ SND_DJM_CTL ("Ch2 Output" , 450 _pb2 , 1 , SND_DJM_WINDEX_PB ),
3133
+ SND_DJM_CTL ("Ch3 Output" , 450 _pb3 , 2 , SND_DJM_WINDEX_PB )
3134
+ };
3135
+
3136
+
3111
3137
// DJM-750
3112
3138
static const u16 snd_djm_opts_750_cap1 [] = {
3113
3139
0x0101 , 0x0103 , 0x0106 , 0x0107 , 0x0108 , 0x0109 , 0x010a , 0x010f };
@@ -3203,6 +3229,7 @@ static const struct snd_djm_device snd_djm_devices[] = {
3203
3229
[SND_DJM_850_IDX ] = SND_DJM_DEVICE (850 ),
3204
3230
[SND_DJM_900NXS2_IDX ] = SND_DJM_DEVICE (900 nxs2 ),
3205
3231
[SND_DJM_750MK2_IDX ] = SND_DJM_DEVICE (750 mk2 ),
3232
+ [SND_DJM_450_IDX ] = SND_DJM_DEVICE (450 ),
3206
3233
};
3207
3234
3208
3235
@@ -3454,6 +3481,9 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)
3454
3481
case USB_ID (0x2b73 , 0x0017 ): /* Pioneer DJ DJM-250MK2 */
3455
3482
err = snd_djm_controls_create (mixer , SND_DJM_250MK2_IDX );
3456
3483
break ;
3484
+ case USB_ID (0x2b73 , 0x0013 ): /* Pioneer DJ DJM-450 */
3485
+ err = snd_djm_controls_create (mixer , SND_DJM_450_IDX );
3486
+ break ;
3457
3487
case USB_ID (0x08e4 , 0x017f ): /* Pioneer DJ DJM-750 */
3458
3488
err = snd_djm_controls_create (mixer , SND_DJM_750_IDX );
3459
3489
break ;
0 commit comments