This patch adds new ioctl command for userspace applications to read cached parameters of register DSP. The structured data includes model-dependent parameters. Userspace application should be carefully programmed so that what parameter is common and specific.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -82,6 +82,7 @@ union snd_firewire_event { · 81 unmodified lines | ||
| 82 | 82 | #define SNDRV_FIREWIRE_IOCTL_TASCAM_STATE _IOR('H', 0xfb, struct snd_firewire_tascam_state) |
| 83 | 83 | #define SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER _IOR('H', 0xfc, struct snd_firewire_motu_register_dsp_meter) |
| 84 | 84 | #define SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER _IOR('H', 0xfd, struct snd_firewire_motu_command_dsp_meter) |
| 85 | +#define SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER _IOR('H', 0xfe, struct snd_firewire_motu_register_dsp_parameter) | |
| 85 | 86 | |
| 86 | 87 | #define SNDRV_FIREWIRE_TYPE_DICE 1 |
| 87 | 88 | #define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 |