History

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

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

Takashi Sakamoto committed 5 years ago

Commit 6ca81d21 parent ce69bed2 files · +20 −1Browse files

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

Unified · Split

include/uapi/sound/firewire.h+10−0
@@ -160,6 +160,10 @@ struct snd_firewire_motu_register_dsp_meter { · 159 unmodified lines
160 * Audio Express.160 * Audio Express.
161 * @mixer.output.paired_volume: The volume of paired output from mixer.161 * @mixer.output.paired_volume: The volume of paired output from mixer.
162 * @mixer.output.paired_flag: The flag of paired output from mixer.162 * @mixer.output.paired_flag: The flag of paired output from mixer.
163 * @output.main_paired_volume: The volume of paired main output.
164 * @output.hp_paired_volume: The volume of paired hp output.
165 * @output.hp_paired_assignment: The source assigned to paired hp output.
166 * @output.reserved: Padding for 32 bit alignment for future extension.
163 *167 *
164 * The structure expresses the set of parameters for DSP controlled by register access.168 * The structure expresses the set of parameters for DSP controlled by register access.
165 */169 */
@@ -177,6 +181,12 @@ struct snd_firewire_motu_register_dsp_parameter { · 11 unmodified lines
177 __u8 paired_flag[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_COUNT];181 __u8 paired_flag[SNDRV_FIREWIRE_MOTU_REGISTER_DSP_MIXER_COUNT];
178 } output;182 } output;
179 } mixer;183 } mixer;
184 struct {
185 __u8 main_paired_volume;
186 __u8 hp_paired_volume;
187 __u8 hp_paired_assignment;
188 __u8 reserved[5];
189 } output;
180};190};
181 191
182// In below MOTU models, software is allowed to control their DSP by command in frame of192// In below MOTU models, software is allowed to control their DSP by command in frame of

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t