History

ALSA: firewire-motu: parse messages for mixer output parameters in register DSP model

This commit parses message and cache current parameters of mixer output function, commonly available for all of register DSP model

Takashi Sakamoto committed 5 years ago

Commit ce69bed1 parent dc36a972 files · +26 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/sound/firewire.h+6−0
@@ -158,6 +158,8 @@ struct snd_firewire_motu_register_dsp_meter { · 157 unmodified lines
158158 * Audio Express.
159159 * @mixer.source.paired_width: The width of paired source to mixer, only for 4 pre and
160160 * Audio Express.
161+ * @mixer.output.paired_volume: The volume of paired output from mixer.
162+ * @mixer.output.paired_flag: The flag of paired output from mixer.
161163 *
162164 * The structure expresses the set of parameters for DSP controlled by register access.
163165 */
@@ -170,6 +172,10 @@ struct snd_firewire_motu_register_dsp_parameter { · 6 unmodified lines
170172 __u8 paired_balance[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT];
171173 __u8 paired_width[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT];
172174 } source[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_COUNT];
175+ struct {
176+ __u8 paired_volume[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_COUNT];
177+ __u8 paired_flag[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_COUNT];
178+ } output;
173179 } mixer;
174180 };
175181