22 Aug
2018
22 Aug
'18
12:40 a.m.
Hi Takashi,
On Tue, 2018-08-21 at 13:31 +0900, Takashi Sakamoto wrote:
In a design of ALSA external plugin SDK[1], you can apply constrains to available hw_params/sw_params by a call of 'snd_pcm_ioplug_set_param_minmax()' and 'snd_pcm_ioplug_set_param_list()' at entry point. If you program error path at .hw_params callback for unexpected parameters, it's better to apply constants in advance.
Understood.
Do you have any reason not to do it? Is it difficult to retrieve capabilities of target AVTP end station in the entry point?
No reason, I was just not aware of it. I'll change the code to take advantage of this.
Thank you for your feedback.
- Andre