Commit 25ee7ef8 authored by Felix Homann's avatar Felix Homann Committed by Takashi Iwai

ALSA: usb-audio: Add TLV to M-Audio Fast Track Ultra controls

This adds db gain information to M-Audio Fast Track Ultra (8R) devices.
Signed-off-by: default avatarFelix Homann <linuxaudio@showlabor.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 285de9c0
...@@ -594,7 +594,7 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer) ...@@ -594,7 +594,7 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
in + 1, out + 1); in + 1, out + 1);
err = snd_create_std_mono_ctl(mixer, id, control, err = snd_create_std_mono_ctl(mixer, id, control,
cmask, val_type, name, cmask, val_type, name,
NULL); &snd_usb_mixer_vol_tlv);
if (err < 0) if (err < 0)
return err; return err;
} }
...@@ -605,7 +605,7 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer) ...@@ -605,7 +605,7 @@ static int snd_maudio_ftu_create_volume_ctls(struct usb_mixer_interface *mixer)
in - 7, out + 1); in - 7, out + 1);
err = snd_create_std_mono_ctl(mixer, id, control, err = snd_create_std_mono_ctl(mixer, id, control,
cmask, val_type, name, cmask, val_type, name,
NULL); &snd_usb_mixer_vol_tlv);
if (err < 0) if (err < 0)
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment