This commit parses message and cache current parameters of mixer output function, commonly available for all of register DSP model
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -158,6 +158,8 @@ struct snd_firewire_motu_register_dsp_meter { · 157 unmodified lines | |||
| 158 | * Audio Express. | 158 | * Audio Express. |
| 159 | * @mixer.source.paired_width: The width of paired source to mixer, only for 4 pre and | 159 | * @mixer.source.paired_width: The width of paired source to mixer, only for 4 pre and |
| 160 | * Audio Express. | 160 | * 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. | ||
| 161 | * | 163 | * |
| 162 | * The structure expresses the set of parameters for DSP controlled by register access. | 164 | * The structure expresses the set of parameters for DSP controlled by register access. |
| 163 | */ | 165 | */ |
| @@ -170,6 +172,10 @@ struct snd_firewire_motu_register_dsp_parameter { · 6 unmodified lines | |||
| 170 | __u8 paired_balance[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT]; | 172 | __u8 paired_balance[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT]; |
| 171 | __u8 paired_width[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT]; | 173 | __u8 paired_width[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_SRC_COUNT]; |
| 172 | } source[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_COUNT]; | 174 | } 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; | ||
| 173 | } mixer; | 179 | } mixer; |
| 174 | }; | 180 | }; |
| 175 | 181 | ||